Freeciv-3.3
|
#include <gtk/gtk.h>
Go to the source code of this file.
Typedefs | |
typedef void(* | input_dialog_callback_t) (gpointer response_cli_data, gint response, const char *input) |
Functions | |
GtkWidget * | input_dialog_create (GtkWindow *parent, const char *dialogname, const char *text, const char *postinputtest, input_dialog_callback_t response_callback, gpointer response_cli_data) |
typedef void(* input_dialog_callback_t) (gpointer response_cli_data, gint response, const char *input) |
Definition at line 18 of file inputdlg.h.
GtkWidget * input_dialog_create | ( | GtkWindow * | parent, |
const char * | dialogname, | ||
const char * | text, | ||
const char * | postinputtest, | ||
input_dialog_callback_t | response_callback, | ||
gpointer | response_cli_data | ||
) |
Create a popup with a text entry box and "OK" and "Cancel" buttons.
Definition at line 66 of file inputdlg.c.
Referenced by cma_add_preset_callback(), popup_newcity_dialog(), and rename_callback().