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)
36int CppDialogLinker::SetIntProperty(
GWEN_DIALOG *dlg,
54int CppDialogLinker::GetIntProperty(
GWEN_DIALOG *dlg,
70int CppDialogLinker::SetCharProperty(
GWEN_DIALOG *dlg,
87const char *CppDialogLinker::GetCharProperty(
GWEN_DIALOG *dlg,
91 const char *defaultValue) {
103void 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);
A C++ binding for the C module GWEN_DIALOG.
virtual int setIntProperty(GWEN_WIDGET *w, GWEN_DIALOG_PROPERTY prop, int index, int value, int doSignal)
int emitSignal(GWEN_DIALOG_EVENTTYPE t, const char *sender)
GWEN_DIALOG * getCInterface()
GWEN_WIDGET_TREE * getWidgets() const
GWEN_WIDGET * findWidgetByName(const char *name)
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)
static CPPGUI_API CppDialog * getDialog(GWEN_DIALOG *dlg)
virtual int getIntProperty(GWEN_WIDGET *w, GWEN_DIALOG_PROPERTY prop, int index, int defaultValue)
GWEN_WIDGET * findWidgetByImplData(int index, void *ptr)
GWEN_WIDGET * GWEN_Dialog_FindWidgetByName(const GWEN_DIALOG *dlg, const char *name)
GWEN_WIDGET_TREE * GWEN_Dialog_GetWidgets(const GWEN_DIALOG *dlg)
GWEN_WIDGET * GWEN_Dialog_FindWidgetByImplData(const GWEN_DIALOG *dlg, int index, const void *ptr)
GWEN_DIALOG_GETINTPROPERTY_FN GWEN_Dialog_SetGetIntPropertyFn(GWEN_DIALOG *dlg, GWEN_DIALOG_GETINTPROPERTY_FN fn)
GWEN_DIALOG * GWEN_Dialog_GetParentDialog(const GWEN_DIALOG *dlg)
GWEN_DIALOG_SETINTPROPERTY_FN GWEN_Dialog_SetSetIntPropertyFn(GWEN_DIALOG *dlg, GWEN_DIALOG_SETINTPROPERTY_FN fn)
GWEN_DIALOG_GETCHARPROPERTY_FN GWEN_Dialog_SetGetCharPropertyFn(GWEN_DIALOG *dlg, GWEN_DIALOG_GETCHARPROPERTY_FN fn)
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)
struct GWEN_DIALOG GWEN_DIALOG
#define GWEN_ERROR_NOT_SUPPORTED
#define GWEN_INHERIT_UNLINK(bt, t, element)
#define GWEN_INHERIT_SETDATA(bt, t, element, data, fn)
#define GWEN_INHERIT(bt, t)
#define GWEN_INHERIT_GETDATA(bt, t, element)