Qt client - remove right click menu from end turn sidebar
[freeciv.git] / client / gui-gtk-3.0 / choice_dialog.h
blob98939fd9251418025ab77380a2bd65cbb57888c8
1 /**********************************************************************
2 Freeciv - Copyright (C) 1996-2005 - Freeciv Development Team
3 This program is free software; you can redistribute it and/or modify
4 it under the terms of the GNU General Public License as published by
5 the Free Software Foundation; either version 2, or (at your option)
6 any later version.
8 This program is distributed in the hope that it will be useful,
9 but WITHOUT ANY WARRANTY; without even the implied warranty of
10 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 GNU General Public License for more details.
12 ***********************************************************************/
13 #ifndef FC__CHOICE_DIALOG_H
14 #define FC__CHOICE_DIALOG_H
16 #include <gtk/gtk.h>
18 GtkWidget *popup_choice_dialog(GtkWindow *parent, const gchar *dialogname,
19 const gchar *text, ...);
21 void choice_dialog_set_hide(GtkWidget *dshell, gboolean setting);
23 GtkWidget *choice_dialog_start(GtkWindow *parent, const gchar *name,
24 const gchar *text);
25 void choice_dialog_add(GtkWidget *dshell, const gchar *label,
26 GCallback handler, gpointer data,
27 bool meta, const gchar *tool_tip);
28 void choice_dialog_end(GtkWidget *dshell);
29 int choice_dialog_get_number_of_buttons(GtkWidget *cd);
30 void choice_dialog_button_set_sensitive(GtkWidget *shl, int button,
31 gboolean state);
32 void choice_dialog_button_set_label(GtkWidget *cd, int button,
33 const char* label);
34 void choice_dialog_button_set_tooltip(GtkWidget *cd, int number,
35 const char* tool_tip);
36 void choice_dialog_button_move_to_the_end(GtkWidget *cd,
37 const int number);
38 #endif /* FC__CHOICE_DIALOG_H */