13#ifndef FC__GUI_STUFF_H
14#define FC__GUI_STUFF_H
22 const gchar *label_text);
37#define TREE_ITER_PTR(x) (&(x).it)
110 const char *text,
int response);
142#define menu_item_insert_unref(menu, index, item) \
144 GMenuItem *_item_var = item; \
145 g_menu_insert_item(menu, index, _item_var); \
146 g_object_unref(_item_var); \
149#define menu_item_append_unref(menu, item) \
151 GMenuItem *_item_var = item; \
152 g_menu_append_item(menu, _item_var); \
153 g_object_unref(_item_var); \
156#define submenu_insert_unref(menu, index, name, \
159 GMenuModel *_submenu_var = submenu; \
160 g_menu_insert_submenu(menu, index, name, \
162 g_object_unref(_submenu_var); \
165#define submenu_append_unref(menu, name, submenu) \
167 GMenuModel *_submenu_var = submenu; \
168 g_menu_append_submenu(menu, name, _submenu_var); \
169 g_object_unref(_submenu_var); \
struct canvas int int struct sprite int int int int height
struct canvas int int struct sprite int int int width
void gtk_tree_view_focus(GtkTreeView *view)
void gui_dialog_destroy(struct gui_dialog *dlg)
void gui_dialog_present(struct gui_dialog *dlg)
void gtk_stockbutton_set_label(GtkWidget *button, const gchar *label_text)
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)
void itree_begin(GtkTreeModel *model, ITree *it)
void itree_unselect(GtkTreeSelection *selection, ITree *it)
void enable_gobject_callback(GObject *obj, GCallback cb)
void(* GUI_DIALOG_RESPONSE_FUN)(struct gui_dialog *, int, gpointer)
void gui_dialog_show_all(struct gui_dialog *dlg)
void itree_select(GtkTreeSelection *selection, ITree *it)
void gui_dialog_set_title(struct gui_dialog *dlg, const char *title)
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)
void tstore_append(GtkTreeStore *store, ITree *it, ITree *parent)
void itree_next(ITree *it)
void gui_dialog_destroy_all(void)
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)
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 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)
GtkWidget * gui_dialog_add_action_widget(struct gui_dialog *dlg, GtkWidget *widget)
void widget_destroyed(GtkWidget *wdg, void *data)
void(* GUI_DIALOG_RESPONSE_FUN)(struct gui_dialog *, int, gpointer)
struct gui_dialog::@156::@157 tab
GtkSizeGroup * gui_button
GUI_DIALOG_RESPONSE_FUN response_callback
struct gui_dialog ** source
enum gui_dialog_type type