Freeciv-3.2
Loading...
Searching...
No Matches
Typedefs | Functions
inputdlg.h File Reference
#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

GtkWidgetinput_dialog_create (GtkWindow *parent, const char *dialogname, const char *text, const char *postinputtest, input_dialog_callback_t response_callback, gpointer response_cli_data)
 

Typedef Documentation

◆ input_dialog_callback_t

typedef void(* input_dialog_callback_t) (gpointer response_cli_data, gint response, const char *input)

Definition at line 18 of file inputdlg.h.

Function Documentation

◆ input_dialog_create()

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.