24#include <gdk/gdkkeysyms.h>
64 const gchar *label_text)
70 if (label_text !=
NULL) {
105 for (
i = 0;
i <
n;
i++) {
676 const char *text,
int response)
712 "gui-dialog-response-data");
747 "gui-dialog-response-data");
960 style =
"\n font-style: italic;";
966 weight =
"\n font-weight: bold;";
1088 "color: rgba(255, 0, 0, 255);\n"
1091 "color: rgba(0, 0, 255, 255);\n"
struct canvas int int struct sprite int int int int height
struct canvas int int struct sprite int int int width
gboolean fc_lost_focus(GtkWidget *w, GdkEventKey *ev, gpointer data)
gboolean fc_gained_focus(GtkWidget *w, GdkEventKey *ev, gpointer data)
#define GUI_GTK_OPTION(optname)
void gtk_tree_view_focus(GtkTreeView *view)
void gui_dialog_destroy(struct gui_dialog *dlg)
static void gui_dialog_pack_button(struct gui_dialog *dlg, GtkWidget *button, int response)
void gui_dialog_present(struct gui_dialog *dlg)
static void gui_dialog_switch_page_handler(GtkNotebook *notebook, GtkWidget *page, guint num, struct gui_dialog *dlg)
void gtk_stockbutton_set_label(GtkWidget *button, const gchar *label_text)
static GtkCssProvider * dlg_tab_provider
void itree_get(ITree *it,...)
void itree_set(ITree *it,...)
void gui_dialog_raise(struct gui_dialog *dlg)
void gui_dialog_new(struct gui_dialog **pdlg, GtkNotebook *notebook, gpointer user_data, bool check_top)
void disable_gobject_callback(GObject *obj, GCallback cb)
gint gtk_tree_selection_get_row(GtkTreeSelection *selection)
void gui_dialog_set_return_dialog(struct gui_dialog *dlg, struct gui_dialog *return_dialog)
void dlg_tab_provider_prepare(void)
void gui_dialog_response_set_callback(struct gui_dialog *dlg, GUI_DIALOG_RESPONSE_FUN fun)
static GtkSizeGroup * gui_action
void itree_begin(GtkTreeModel *model, ITree *it)
static void gui_dialog_destroyed(struct gui_dialog *dlg, int response, gpointer data)
static void action_widget_activated(GtkWidget *button, GtkWidget *vbox)
void itree_unselect(GtkTreeSelection *selection, ITree *it)
void enable_gobject_callback(GObject *obj, GCallback cb)
static void gui_dialog_detach(struct gui_dialog *dlg)
void gui_dialog_show_all(struct gui_dialog *dlg)
static gboolean gui_dialog_key_press_handler(GtkWidget *w, GdkEventKey *ev, gpointer data)
static gint gui_dialog_delete_handler(GtkWidget *widget, GdkEventAny *ev, gpointer data)
void itree_select(GtkTreeSelection *selection, ITree *it)
void gui_dialog_set_title(struct gui_dialog *dlg, const char *title)
static void close_callback(GtkDialog *dialog, gpointer data)
void gui_dialog_set_default_size(struct gui_dialog *dlg, int width, int height)
GtkWidget * icon_label_button_new(const gchar *icon_name, const gchar *label_text)
void gui_dialog_alert(struct gui_dialog *dlg)
GtkTreeViewColumn * add_treeview_column(GtkWidget *view, const char *title, GType gtype, int model_index)
static void gui_dialog_destroy_handler(GtkWidget *w, struct gui_dialog *dlg)
void tstore_append(GtkTreeStore *store, ITree *it, ITree *parent)
static gint gui_dialog_delete_tab_handler(struct gui_dialog *dlg)
void itree_next(ITree *it)
void gui_dialog_destroy_all(void)
static gboolean click_on_tab_callback(GtkWidget *w, GdkEventButton *button, gpointer data)
gboolean itree_is_selected(GtkTreeSelection *selection, ITree *it)
GtkWidget * gui_dialog_add_button(struct gui_dialog *dlg, const char *icon_name, const char *text, int response)
void setup_dialog(GtkWidget *shell, GtkWidget *parent)
static GList * dialog_list
void gui_update_font_full(const char *font_name, const char *font_value, PangoFontDescription **font_desc)
void gtk_expose_now(GtkWidget *w)
void gui_dialog_set_response_sensitive(struct gui_dialog *dlg, int response, bool setting)
GtkWidget * gui_dialog_get_toplevel(struct gui_dialog *dlg)
void intl_slist(int n, const char **s, bool *done)
gboolean itree_end(ITree *it)
static void gui_dialog_response(struct gui_dialog *dlg, int response)
void(* GUI_DIALOG_RESPONSE_FUN)(struct gui_dialog *, int, gpointer)
static struct gui_dialog * shell
gint blocking_dialog(GtkWidget *dlg)
GtkWidget * aux_menu_new(void)
void gui_dialog_add_content_widget(struct gui_dialog *dlg, GtkWidget *wdg)
GtkWidget * widget_get_child(GtkWidget *wdg)
static void blocking_dialog_response(GtkWidget *dlg, gint response, void *data)
GtkWidget * gui_dialog_add_action_widget(struct gui_dialog *dlg, GtkWidget *widget)
void widget_destroyed(GtkWidget *wdg, void *data)
#define fc_assert_ret(condition)
#define fc_assert(condition)
#define fc_assert_ret_val(condition, val)
GtkSizeGroup * gui_button
GUI_DIALOG_RESPONSE_FUN response_callback
struct gui_dialog::@152::@153 tab
struct gui_dialog ** source
enum gui_dialog_type type