|
gwenhywfar
5.10.1
|
#include "gtk3_gui_p.h"#include "gtk3_gui_dialog_l.h"#include <assert.h>#include <gwenhywfar/inherit.h>#include <gwenhywfar/debug.h>#include <gwenhywfar/gui_be.h>#include <gwenhywfar/i18n.h>#include <gwenhywfar/text.h>#include <gwenhywfar/mdigest.h>
Go to the source code of this file.
Macros | |
| #define | I18N(msg) GWEN_I18N_Translate(PACKAGE, msg) |
Functions | |
| GWENHYWFAR_CB int | GTK3_Gui_CloseDialog (GWEN_UNUSED GWEN_GUI *gui, GWEN_DIALOG *dlg) |
| GWENHYWFAR_CB int | GTK3_Gui_ExecDialog (GWEN_GUI *gui, GWEN_DIALOG *dlg, uint32_t guiid) |
| GWENHYWFAR_CB void | Gtk3_Gui_FreeData (GWEN_UNUSED void *bp, void *p) |
| GWENHYWFAR_CB int | GTK3_Gui_GetFileName (GWEN_UNUSED GWEN_GUI *gui, const char *caption, GWEN_GUI_FILENAME_TYPE fnt, GWEN_UNUSED uint32_t flags, GWEN_UNUSED const char *patterns, GWEN_BUFFER *pathBuffer, GWEN_UNUSED uint32_t guiid) |
| GWEN_GUI * | Gtk3_Gui_new () |
| GWENHYWFAR_CB int | GTK3_Gui_OpenDialog (GWEN_UNUSED GWEN_GUI *gui, GWEN_DIALOG *dlg, GWEN_UNUSED uint32_t guiid) |
| GWENHYWFAR_CB int | GTK3_Gui_RunDialog (GWEN_UNUSED GWEN_GUI *gui, GWEN_DIALOG *dlg, int untilEnd) |
| #define I18N | ( | msg | ) | GWEN_I18N_Translate(PACKAGE, msg) |
Definition at line 30 of file gtk3_gui.c.
Referenced by GTK3_Gui_GetFileName().
| GWENHYWFAR_CB int GTK3_Gui_CloseDialog | ( | GWEN_UNUSED GWEN_GUI * | gui, |
| GWEN_DIALOG * | dlg | ||
| ) |
Definition at line 134 of file gtk3_gui.c.
References DBG_ERROR, DBG_INFO, Gtk3Gui_Dialog_GetMainWidget(), Gtk3Gui_Dialog_Unextend(), GWEN_Dialog_EmitSignalToAll(), GWEN_DialogEvent_TypeFini, GWEN_ERROR_INVALID, GWEN_LOGDOMAIN, and NULL.
Referenced by GTK3_Gui_ExecDialog(), and Gtk3_Gui_new().


| GWENHYWFAR_CB int GTK3_Gui_ExecDialog | ( | GWEN_GUI * | gui, |
| GWEN_DIALOG * | dlg, | ||
| uint32_t | guiid | ||
| ) |
Definition at line 71 of file gtk3_gui.c.
References DBG_INFO, GTK3_Gui_CloseDialog(), GTK3_Gui_OpenDialog(), GTK3_Gui_RunDialog(), and GWEN_LOGDOMAIN.
Referenced by Gtk3_Gui_new().


| GWENHYWFAR_CB void Gtk3_Gui_FreeData | ( | GWEN_UNUSED void * | bp, |
| void * | p | ||
| ) |
Definition at line 60 of file gtk3_gui.c.
References GWEN_FREE_OBJECT.
Referenced by Gtk3_Gui_new().

| GWENHYWFAR_CB int GTK3_Gui_GetFileName | ( | GWEN_UNUSED GWEN_GUI * | gui, |
| const char * | caption, | ||
| GWEN_GUI_FILENAME_TYPE | fnt, | ||
| GWEN_UNUSED uint32_t | flags, | ||
| GWEN_UNUSED const char * | patterns, | ||
| GWEN_BUFFER * | pathBuffer, | ||
| GWEN_UNUSED uint32_t | guiid | ||
| ) |
Definition at line 179 of file gtk3_gui.c.
References GWEN_Buffer_AppendString(), GWEN_Buffer_GetStart(), GWEN_Buffer_GetUsedBytes(), GWEN_Buffer_Reset(), GWEN_DIR_SEPARATOR, GWEN_ERROR_USER_ABORTED, GWEN_Gui_FileNameType_OpenDirectory, GWEN_Gui_FileNameType_OpenFileName, GWEN_Gui_FileNameType_SaveFileName, I18N, and NULL.
Referenced by Gtk3_Gui_new().


| GWEN_GUI* Gtk3_Gui_new | ( | ) |
Definition at line 38 of file gtk3_gui.c.
References GTK3_Gui_CloseDialog(), GTK3_Gui_ExecDialog(), Gtk3_Gui_FreeData(), GTK3_Gui_GetFileName(), GTK3_Gui_OpenDialog(), GTK3_Gui_RunDialog(), GWEN_Gui_AddFlags(), GWEN_GUI_FLAGS_DIALOGSUPPORTED, GWEN_Gui_new(), GWEN_Gui_SetCloseDialogFn(), GWEN_Gui_SetExecDialogFn(), GWEN_Gui_SetGetFileNameFn(), GWEN_Gui_SetOpenDialogFn(), GWEN_Gui_SetRunDialogFn(), GWEN_Gui_UseDialogs(), GWEN_INHERIT_SETDATA, and GWEN_NEW_OBJECT.
Referenced by test1(), test2(), and test3().


| GWENHYWFAR_CB int GTK3_Gui_OpenDialog | ( | GWEN_UNUSED GWEN_GUI * | gui, |
| GWEN_DIALOG * | dlg, | ||
| GWEN_UNUSED uint32_t | guiid | ||
| ) |
Definition at line 96 of file gtk3_gui.c.
References DBG_ERROR, DBG_INFO, Gtk3Gui_Dialog_Extend(), Gtk3Gui_Dialog_GetMainWidget(), Gtk3Gui_Dialog_Setup(), Gtk3Gui_Dialog_Unextend(), GWEN_Dialog_EmitSignalToAll(), GWEN_DialogEvent_TypeInit, GWEN_ERROR_INVALID, GWEN_LOGDOMAIN, and NULL.
Referenced by GTK3_Gui_ExecDialog(), and Gtk3_Gui_new().


| GWENHYWFAR_CB int GTK3_Gui_RunDialog | ( | GWEN_UNUSED GWEN_GUI * | gui, |
| GWEN_DIALOG * | dlg, | ||
| int | untilEnd | ||
| ) |
Definition at line 164 of file gtk3_gui.c.
References DBG_INFO, GTK3_Gui_Dialog_Run(), and GWEN_LOGDOMAIN.
Referenced by GTK3_Gui_ExecDialog(), and Gtk3_Gui_new().


1.8.14