Freeciv-3.3
|
#include <stdio.h>
#include <gtk/gtk.h>
#include "fcintl.h"
#include "log.h"
#include "mem.h"
#include "gui_main.h"
#include "gui_stuff.h"
#include "inputdlg.h"
Go to the source code of this file.
Data Structures | |
struct | input_dialog_data |
Functions | |
static void | input_dialog_response (GtkDialog *shell, gint response, gpointer data) |
static void | input_dialog_close (GtkDialog *shell, gpointer data) |
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) |
Called when user closes dialog with key (Esc).
Definition at line 59 of file inputdlg.c.
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 67 of file inputdlg.c.