17 #include <gwenhywfar/inherit.h> 18 #include <gwenhywfar/debug.h> 19 #include <gwenhywfar/gui_be.h> 20 #include <gwenhywfar/i18n.h> 22 #include <gwenhywfar/text.h> 23 #include <gwenhywfar/mdigest.h> 24 #include <gwenhywfar/debug.h> 27 #define I18N(msg) GWEN_I18N_Translate(PACKAGE, msg) 36 int CppDialogLinker::SetIntProperty(
GWEN_DIALOG *dlg,
54 int CppDialogLinker::GetIntProperty(
GWEN_DIALOG *dlg,
70 int CppDialogLinker::SetCharProperty(
GWEN_DIALOG *dlg,
87 const char *CppDialogLinker::GetCharProperty(
GWEN_DIALOG *dlg,
91 const char *defaultValue) {
103 void CppDialogLinker::freeData(
void *bp,
void *p) {
128 CppDialogLinker::freeData);
173 if (_setIntPropertyFn)
174 return _setIntPropertyFn(
_dialog, w, prop, index, value, doSignal);
185 if (_getIntPropertyFn)
186 return _getIntPropertyFn(
_dialog, w, prop, index, defaultValue);
198 if (_setCharPropertyFn)
199 return _setCharPropertyFn(
_dialog, w, prop, index, value, doSignal);
209 const char *defaultValue) {
210 if (_getCharPropertyFn)
211 return _getCharPropertyFn(
_dialog, w, prop, index, defaultValue);
int emitSignal(GWEN_DIALOG_EVENTTYPE t, const char *sender)
GWEN_INHERIT(GWEN_DIALOG, CppDialog)
GWEN_WIDGET_TREE * GWEN_Dialog_GetWidgets(const GWEN_DIALOG *dlg)
GWEN_DIALOG_SETINTPROPERTY_FN GWEN_Dialog_SetSetIntPropertyFn(GWEN_DIALOG *dlg, GWEN_DIALOG_SETINTPROPERTY_FN fn)
virtual int setIntProperty(GWEN_WIDGET *w, GWEN_DIALOG_PROPERTY prop, int index, int value, int doSignal)
GWEN_WIDGET * findWidgetByName(const char *name)
A C++ binding for the C module GWEN_DIALOG.
struct GWEN_DIALOG GWEN_DIALOG
GWEN_DIALOG * getCInterface()
GWEN_WIDGET * GWEN_Dialog_FindWidgetByName(const GWEN_DIALOG *dlg, const char *name)
GWEN_WIDGET * GWEN_Dialog_FindWidgetByImplData(const GWEN_DIALOG *dlg, int index, const void *ptr)
#define GWEN_INHERIT_UNLINK(bt, t, element)
GWEN_WIDGET * findWidgetByImplData(int index, void *ptr)
virtual int getIntProperty(GWEN_WIDGET *w, GWEN_DIALOG_PROPERTY prop, int index, int defaultValue)
GWEN_DIALOG_SETCHARPROPERTY_FN GWEN_Dialog_SetSetCharPropertyFn(GWEN_DIALOG *dlg, GWEN_DIALOG_SETCHARPROPERTY_FN fn)
int GWEN_Dialog_EmitSignal(GWEN_DIALOG *dlg, GWEN_DIALOG_EVENTTYPE t, const char *sender)
#define GWEN_ERROR_NOT_SUPPORTED
GWEN_WIDGET_TREE * getWidgets() const
GWEN_DIALOG * GWEN_Dialog_GetParentDialog(const GWEN_DIALOG *dlg)
virtual const char * getCharProperty(GWEN_WIDGET *w, GWEN_DIALOG_PROPERTY prop, int index, const char *defaultValue)
virtual int setCharProperty(GWEN_WIDGET *w, GWEN_DIALOG_PROPERTY prop, int index, const char *value, int doSignal)
GWEN_DIALOG_GETINTPROPERTY_FN GWEN_Dialog_SetGetIntPropertyFn(GWEN_DIALOG *dlg, GWEN_DIALOG_GETINTPROPERTY_FN fn)
static CPPGUI_API CppDialog * getDialog(GWEN_DIALOG *dlg)
#define GWEN_INHERIT_SETDATA(bt, t, element, data, fn)
GWEN_DIALOG_GETCHARPROPERTY_FN GWEN_Dialog_SetGetCharPropertyFn(GWEN_DIALOG *dlg, GWEN_DIALOG_GETCHARPROPERTY_FN fn)
#define GWEN_INHERIT_GETDATA(bt, t, element)