Freeciv-3.3: /fast/freeciv/nightly/main/client/gui-gtk-3.22/inputdlg.h File Reference

Freeciv-3.3

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

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 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.