Freeciv-3.1: /fast/freeciv/nightly/S3_1/client/gui-gtk-3.22/choice_dialog.h Source File

Freeciv-3.1

Loading...
Searching...
No Matches
choice_dialog.h
Go to the documentation of this file.
1/***********************************************************************
2 Freeciv - Copyright (C) 1996-2005 - Freeciv Development Team
3 This program is free software; you can redistribute it and/or modify
4 it under the terms of the GNU General Public License as published by
5 the Free Software Foundation; either version 2, or (at your option)
6 any later version.
7
8 This program is distributed in the hope that it will be useful,
9 but WITHOUT ANY WARRANTY; without even the implied warranty of
10 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 GNU General Public License for more details.
12***********************************************************************/
13#ifndef FC__CHOICE_DIALOG_H
14#define FC__CHOICE_DIALOG_H
15
16#include <gtk/gtk.h>
17
18GtkWidget *popup_choice_dialog(GtkWindow *parent, const gchar *dialogname,
19 const gchar *text, ...);
20
21void choice_dialog_set_hide(GtkWidget *dshell, gboolean setting);
22
23GtkWidget *choice_dialog_start(GtkWindow *parent, const gchar *name,
24 const gchar *text);
25void choice_dialog_add(GtkWidget *dshell, const gchar *label,
26 GCallback handler, gpointer data,
27 bool meta, const gchar *tool_tip);
28void choice_dialog_end(GtkWidget *dshell);
29int choice_dialog_get_number_of_buttons(GtkWidget *cd);
30void choice_dialog_button_set_sensitive(GtkWidget *shl, int button,
31 gboolean state);
32void choice_dialog_button_set_label(GtkWidget *cd, int button,
33 const char *label);
34void choice_dialog_button_set_tooltip(GtkWidget *cd, int number,
35 const char *tool_tip);
36void choice_dialog_button_move_to_the_end(GtkWidget *cd,
37 const int number);
38#endif /* FC__CHOICE_DIALOG_H */
choice_dialog_start
GtkWidget * choice_dialog_start(GtkWindow *parent, const gchar *name, const gchar *text)
Definition choice_dialog.c:103
choice_dialog_end
void choice_dialog_end(GtkWidget *dshell)
Definition choice_dialog.c:194
choice_dialog_get_number_of_buttons
int choice_dialog_get_number_of_buttons(GtkWidget *cd)
Definition choice_dialog.c:38
choice_dialog_button_set_tooltip
void choice_dialog_button_set_tooltip(GtkWidget *cd, int number, const char *tool_tip)
Definition choice_dialog.c:81
choice_dialog_button_move_to_the_end
void choice_dialog_button_move_to_the_end(GtkWidget *cd, const int number)
Definition choice_dialog.c:91
choice_dialog_set_hide
void choice_dialog_set_hide(GtkWidget *dshell, gboolean setting)
Definition choice_dialog.c:207
choice_dialog_add
void choice_dialog_add(GtkWidget *dshell, const gchar *label, GCallback handler, gpointer data, bool meta, const gchar *tool_tip)
Definition choice_dialog.c:158
choice_dialog_button_set_label
void choice_dialog_button_set_label(GtkWidget *cd, int button, const char *label)
Definition choice_dialog.c:71
choice_dialog_button_set_sensitive
void choice_dialog_button_set_sensitive(GtkWidget *shl, int button, gboolean state)
Definition choice_dialog.c:62
popup_choice_dialog
GtkWidget * popup_choice_dialog(GtkWindow *parent, const gchar *dialogname, const gchar *text,...)
Definition choice_dialog.c:215
dshell
static GtkWidget * dshell
Definition gotodlg.c:56
name
const char * name
Definition inputfile.c:127
setting
Definition settings.c:88