gwenhywfar  4.8.0beta
Typedefs | Functions
dialog_be.h File Reference
#include <gwenhywfar/dialog.h>
#include <gwenhywfar/widget_be.h>
#include <gwenhywfar/stringlist.h>
#include <stdio.h>

Go to the source code of this file.

Typedefs

typedef const char *GWENHYWFAR_CB(* GWEN_DIALOG_GETCHARPROPERTY_FN )(GWEN_DIALOG *dlg, GWEN_WIDGET *w, GWEN_DIALOG_PROPERTY prop, int index, const char *defaultValue)
typedef int GWENHYWFAR_CB(* GWEN_DIALOG_GETINTPROPERTY_FN )(GWEN_DIALOG *dlg, GWEN_WIDGET *w, GWEN_DIALOG_PROPERTY prop, int index, int defaultValue)
typedef int GWENHYWFAR_CB(* GWEN_DIALOG_SETCHARPROPERTY_FN )(GWEN_DIALOG *dlg, GWEN_WIDGET *w, GWEN_DIALOG_PROPERTY prop, int index, const char *value, int doSignal)
typedef int GWENHYWFAR_CB(* GWEN_DIALOG_SETINTPROPERTY_FN )(GWEN_DIALOG *dlg, GWEN_WIDGET *w, GWEN_DIALOG_PROPERTY prop, int index, int value, int doSignal)

Functions

GWENHYWFAR_API void GWEN_Dialog_Dump (const GWEN_DIALOG *dlg, FILE *f, unsigned int indent)
GWENHYWFAR_API int GWEN_Dialog_EmitSignal (GWEN_DIALOG *dlg, GWEN_DIALOG_EVENTTYPE t, const char *sender)
GWENHYWFAR_API int GWEN_Dialog_EmitSignalToAll (GWEN_DIALOG *dlg, GWEN_DIALOG_EVENTTYPE t, const char *sender)
GWENHYWFAR_API GWEN_WIDGETGWEN_Dialog_FindWidgetByImplData (const GWEN_DIALOG *dlg, int index, const void *ptr)
GWENHYWFAR_API GWEN_WIDGETGWEN_Dialog_FindWidgetByName (const GWEN_DIALOG *dlg, const char *name)
GWENHYWFAR_API GWEN_STRINGLISTGWEN_Dialog_GetMediaPaths (const GWEN_DIALOG *dlg)
GWENHYWFAR_API GWEN_DIALOGGWEN_Dialog_GetParentDialog (const GWEN_DIALOG *dlg)
GWENHYWFAR_API GWEN_WIDGET_TREE * GWEN_Dialog_GetWidgets (const GWEN_DIALOG *dlg)
GWENHYWFAR_API
GWEN_DIALOG_GETCHARPROPERTY_FN 
GWEN_Dialog_SetGetCharPropertyFn (GWEN_DIALOG *dlg, GWEN_DIALOG_GETCHARPROPERTY_FN fn)
GWENHYWFAR_API
GWEN_DIALOG_GETINTPROPERTY_FN 
GWEN_Dialog_SetGetIntPropertyFn (GWEN_DIALOG *dlg, GWEN_DIALOG_GETINTPROPERTY_FN fn)
GWENHYWFAR_API void GWEN_Dialog_SetGuiId (GWEN_DIALOG *dlg, uint32_t guiid)
GWENHYWFAR_API
GWEN_DIALOG_SETCHARPROPERTY_FN 
GWEN_Dialog_SetSetCharPropertyFn (GWEN_DIALOG *dlg, GWEN_DIALOG_SETCHARPROPERTY_FN fn)
GWENHYWFAR_API
GWEN_DIALOG_SETINTPROPERTY_FN 
GWEN_Dialog_SetSetIntPropertyFn (GWEN_DIALOG *dlg, GWEN_DIALOG_SETINTPROPERTY_FN fn)

Typedef Documentation

typedef const char* GWENHYWFAR_CB(* GWEN_DIALOG_GETCHARPROPERTY_FN)(GWEN_DIALOG *dlg, GWEN_WIDGET *w, GWEN_DIALOG_PROPERTY prop, int index, const char *defaultValue)

Definition at line 62 of file dialog_be.h.

typedef int GWENHYWFAR_CB(* GWEN_DIALOG_GETINTPROPERTY_FN)(GWEN_DIALOG *dlg, GWEN_WIDGET *w, GWEN_DIALOG_PROPERTY prop, int index, int defaultValue)

Definition at line 49 of file dialog_be.h.

typedef int GWENHYWFAR_CB(* GWEN_DIALOG_SETCHARPROPERTY_FN)(GWEN_DIALOG *dlg, GWEN_WIDGET *w, GWEN_DIALOG_PROPERTY prop, int index, const char *value, int doSignal)

Definition at line 55 of file dialog_be.h.

typedef int GWENHYWFAR_CB(* GWEN_DIALOG_SETINTPROPERTY_FN)(GWEN_DIALOG *dlg, GWEN_WIDGET *w, GWEN_DIALOG_PROPERTY prop, int index, int value, int doSignal)

Definition at line 42 of file dialog_be.h.

Function Documentation

GWENHYWFAR_API void GWEN_Dialog_Dump ( const GWEN_DIALOG dlg,
FILE *  f,
unsigned int  indent 
)

Definition at line 841 of file dialog.c.

References GWEN_Dialog_DumpWidget().

GWENHYWFAR_API int GWEN_Dialog_EmitSignal ( GWEN_DIALOG dlg,
GWEN_DIALOG_EVENTTYPE  t,
const char *  sender 
)
GWENHYWFAR_API int GWEN_Dialog_EmitSignalToAll ( GWEN_DIALOG dlg,
GWEN_DIALOG_EVENTTYPE  t,
const char *  sender 
)
GWENHYWFAR_API GWEN_WIDGET* GWEN_Dialog_FindWidgetByImplData ( const GWEN_DIALOG dlg,
int  index,
const void *  ptr 
)
GWENHYWFAR_API GWEN_WIDGET* GWEN_Dialog_FindWidgetByName ( const GWEN_DIALOG dlg,
const char *  name 
)
GWENHYWFAR_API GWEN_STRINGLIST* GWEN_Dialog_GetMediaPaths ( const GWEN_DIALOG dlg)

The dialog remains the owner of the object returned (if any).

Definition at line 234 of file dialog.c.

Referenced by CocoaGui_WPushButton_Setup(), CocoaGui_WTextBrowser_SetCharProperty(), FOX16_GuiDialog::getIcon(), Gtk2Gui_WPushButton_Setup(), and FOX16_GuiDialog::setupTree().

GWENHYWFAR_API GWEN_DIALOG* GWEN_Dialog_GetParentDialog ( const GWEN_DIALOG dlg)
GWENHYWFAR_API GWEN_WIDGET_TREE* GWEN_Dialog_GetWidgets ( const GWEN_DIALOG dlg)
GWENHYWFAR_API GWEN_DIALOG_GETCHARPROPERTY_FN GWEN_Dialog_SetGetCharPropertyFn ( GWEN_DIALOG dlg,
GWEN_DIALOG_GETCHARPROPERTY_FN  fn 
)
GWENHYWFAR_API GWEN_DIALOG_GETINTPROPERTY_FN GWEN_Dialog_SetGetIntPropertyFn ( GWEN_DIALOG dlg,
GWEN_DIALOG_GETINTPROPERTY_FN  fn 
)
GWENHYWFAR_API void GWEN_Dialog_SetGuiId ( GWEN_DIALOG dlg,
uint32_t  guiid 
)

Definition at line 149 of file dialog.c.

Referenced by GWEN_Gui_Internal_ShowBox().

GWENHYWFAR_API GWEN_DIALOG_SETCHARPROPERTY_FN GWEN_Dialog_SetSetCharPropertyFn ( GWEN_DIALOG dlg,
GWEN_DIALOG_SETCHARPROPERTY_FN  fn 
)
GWENHYWFAR_API GWEN_DIALOG_SETINTPROPERTY_FN GWEN_Dialog_SetSetIntPropertyFn ( GWEN_DIALOG dlg,
GWEN_DIALOG_SETINTPROPERTY_FN  fn 
)