Freeciv-3.3
Loading...
Searching...
No Matches
choice_dialog.h
Go to the documentation of this file.
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.
7
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
15
16#include <gtk/gtk.h>
17
19 const gchar *text, ...);
20
22
24 const gchar *text);
25void choice_dialog_add(GtkWidget *dshell, const gchar *label,
27 bool meta, const gchar *tool_tip);
31 gboolean state);
33 const char *label);
35 const char *tool_tip);
37 const int number);
38#endif /* FC__CHOICE_DIALOG_H */
char * incite_cost
Definition comments.c:76
GtkWidget * choice_dialog_start(GtkWindow *parent, const gchar *name, const gchar *text)
void choice_dialog_end(GtkWidget *dshell)
int choice_dialog_get_number_of_buttons(GtkWidget *cd)
void choice_dialog_button_set_tooltip(GtkWidget *cd, int number, const char *tool_tip)
void choice_dialog_button_move_to_the_end(GtkWidget *cd, const int number)
void choice_dialog_set_hide(GtkWidget *dshell, gboolean setting)
void choice_dialog_add(GtkWidget *dshell, const gchar *label, GCallback handler, gpointer data, bool meta, const gchar *tool_tip)
void choice_dialog_button_set_label(GtkWidget *cd, int button, const char *label)
void choice_dialog_button_set_sensitive(GtkWidget *shl, int button, gboolean state)
GtkWidget * popup_choice_dialog(GtkWindow *parent, const gchar *dialogname, const gchar *text,...)
static GtkWidget * dshell
Definition gotodlg.c:56
const char * name
Definition inputfile.c:127