Freeciv-3.3
|
#include <stdarg.h>
#include <gtk/gtk.h>
#include "support.h"
#include "gui_main.h"
#include "gui_stuff.h"
#include "choice_dialog.h"
Go to the source code of this file.
Functions | |
int | choice_dialog_get_number_of_buttons (GtkWidget *cd) |
static GtkWidget * | choice_dialog_get_nth_button (GtkWidget *cd, int button) |
void | choice_dialog_button_set_sensitive (GtkWidget *cd, int button, gboolean state) |
void | choice_dialog_button_set_label (GtkWidget *cd, int number, const char *label) |
void | choice_dialog_button_set_tooltip (GtkWidget *cd, int number, const char *tool_tip) |
void | choice_dialog_button_move_to_the_end (GtkWidget *cd, const int number) |
GtkWidget * | choice_dialog_start (GtkWindow *parent, const gchar *name, const gchar *text) |
static void | choice_dialog_clicked (GtkWidget *w, gpointer data) |
void | choice_dialog_add (GtkWidget *dshell, const gchar *label, GCallback handler, gpointer data, bool meta, const gchar *tool_tip) |
void | choice_dialog_end (GtkWidget *dshell) |
void | choice_dialog_set_hide (GtkWidget *dshell, gboolean setting) |
GtkWidget * | popup_choice_dialog (GtkWindow *parent, const gchar *dialogname, const gchar *text,...) |
void choice_dialog_add | ( | GtkWidget * | dshell, |
const gchar * | label, | ||
GCallback | handler, | ||
gpointer | data, | ||
bool | meta, | ||
const gchar * | tool_tip | ||
) |
Add button to choice dialog.
Definition at line 158 of file choice_dialog.c.
Referenced by action_entry(), popup_action_selection(), popup_choice_dialog(), and popup_workertask_dlg().
Move the specified button to the end.
Definition at line 91 of file choice_dialog.c.
Referenced by action_selection_refresh().
Set label for choice dialog button.
Definition at line 71 of file choice_dialog.c.
Referenced by action_entry_update().
Set sensitivity state of choice dialog button.
Definition at line 62 of file choice_dialog.c.
Referenced by action_entry_update().
Set tool tip for choice dialog button.
Definition at line 81 of file choice_dialog.c.
Referenced by action_entry_update().
Choice dialog has been clicked and primary handling has taken place already.
Definition at line 146 of file choice_dialog.c.
Referenced by choice_dialog_add().
Choice dialog construction ready
Definition at line 194 of file choice_dialog.c.
Referenced by action_selection_refresh(), popup_action_selection(), popup_choice_dialog(), and popup_workertask_dlg().
Get nth button widget from dialog
Definition at line 46 of file choice_dialog.c.
Referenced by choice_dialog_button_move_to_the_end(), choice_dialog_button_set_label(), choice_dialog_button_set_sensitive(), and choice_dialog_button_set_tooltip().
Get the number of buttons in the choice dialog.
Definition at line 38 of file choice_dialog.c.
Referenced by action_entry(), choice_dialog_add(), and popup_action_selection().
Set hide property of choice dialog
Definition at line 207 of file choice_dialog.c.
Referenced by popup_action_selection().
Create choice dialog
Definition at line 103 of file choice_dialog.c.
Referenced by popup_action_selection(), popup_choice_dialog(), and popup_workertask_dlg().