Freeciv-3.3: /fast/freeciv/nightly/main/client/gui-gtk-5.0/messagedlg.c File Reference

Freeciv-3.3

Loading...
Searching...
No Matches
Macros | Functions | Variables
messagedlg.c File Reference
`#include <gtk/gtk.h>`
`#include "fcintl.h"`
`#include "events.h"`
`#include "options.h"`
`#include "colors.h"`
`#include "gui_main.h"`
`#include "gui_stuff.h"`
`#include "messagedlg.h"`

Go to the source code of this file.

## Macros

#define | NUM_LISTS 1

## Functions

static void | create_messageopt_dialog (void)
static void | messageopt_response (struct gui_dialog *dlg, int response, gpointer data)
static void | item_toggled (GtkCellRendererToggle *cell, gchar *spath, gpointer data)
void | popup_messageopt_dialog (void)

## Variables

static struct gui_dialog * | shell
static GtkListStore * | models [NUM_LISTS]

## Macro Definition Documentation

## ◆ NUM_LISTS

#define NUM_LISTS 1

Definition at line 36 of file messagedlg.c.

## Function Documentation

## ◆ create_messageopt_dialog()

static void create_messageopt_dialog | ( | void |  | ) |

static

Create messageoptions dialog

Definition at line 63 of file messagedlg.c.

## ◆ item_toggled()

static void item_toggled | ( | GtkCellRendererToggle * | cell,
|  | gchar * | spath,
|  | gpointer | data
| ) |  |

static

User toggled item

Definition at line 210 of file messagedlg.c.

## ◆ messageopt_response()

static void messageopt_response | ( | struct gui_dialog * | dlg,
|  | int | response,
|  | gpointer | data
| ) |  |

static

User responded to messageoptions dialog

Definition at line 177 of file messagedlg.c.

## ◆ popup_messageopt_dialog()

void popup_messageopt_dialog | ( | void |  | ) |

Open messageoptions dialog

Definition at line 51 of file messagedlg.c.

## Variable Documentation

## ◆ models

GtkListStore* models[NUM_LISTS]

static

Definition at line 40 of file messagedlg.c.

## ◆ shell

struct gui_dialog* shell

static

Definition at line 39 of file messagedlg.c.