gwenhywfar  5.10.1
Macros | Functions
gtk3_gui.c File Reference
#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>
Include dependency graph for gtk3_gui.c:

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_GUIGtk3_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)
 

Macro Definition Documentation

◆ I18N

#define I18N (   msg)    GWEN_I18N_Translate(PACKAGE, msg)

Definition at line 30 of file gtk3_gui.c.

Referenced by GTK3_Gui_GetFileName().

Function Documentation

◆ GTK3_Gui_CloseDialog()

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().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ GTK3_Gui_ExecDialog()

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().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Gtk3_Gui_FreeData()

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().

Here is the caller graph for this function:

◆ GTK3_Gui_GetFileName()

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 
)

◆ Gtk3_Gui_new()

GWEN_GUI* Gtk3_Gui_new ( )

◆ GTK3_Gui_OpenDialog()

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().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ GTK3_Gui_RunDialog()

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().

Here is the call graph for this function:
Here is the caller graph for this function: