Freeciv-3.1: /fast/freeciv/nightly/S3_1/client/gui-gtk-3.0/dialogs.h File Reference

Freeciv-3.1

Loading...
Searching...
No Matches
Functions
dialogs.h File Reference
`#include <gtk/gtk.h>`
`#include "dialogs_g.h"`

Go to the source code of this file.

## Functions

void | popup_revolution_dialog (struct government *government)
void | message_dialog_button_set_sensitive (GtkWidget *shl, int button, gboolean state)
gboolean | taxrates_callback (GtkWidget *w, GdkEventButton *ev, gpointer data)
void | nationset_sync_to_server (const char *nationset)

## Function Documentation

## ◆ message_dialog_button_set_sensitive()

void message_dialog_button_set_sensitive | ( | GtkWidget * | shl,
|  | int | button,
|  | gboolean | state
| ) |  |

## ◆ nationset_sync_to_server()

void nationset_sync_to_server | ( | const char * | nationset | ) |

Sync nationset control with the current state of the server.

Definition at line 809 of file dialogs.c.

## ◆ popup_revolution_dialog()

void popup_revolution_dialog | ( | struct government * | gov | ) |

Popup revolution dialog for user

Popup a dialog asking if the player wants to start a revolution.

Definition at line 289 of file dialogs.c.

## ◆ taxrates_callback()

gboolean taxrates_callback | ( | GtkWidget * | w,
|  | GdkEventButton * | ev,
|  | gpointer | data
| ) |  |

Adjust tax rates from main window

Definition at line 1434 of file dialogs.c.