gwenhywfar  4.14.0
Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | Friends
CppWidget Class Reference

A C++ binding for the C module GWEN_WIDGET. More...

#include <cppwidget.hpp>

Public Member Functions

 CppWidget (GWEN_WIDGET *w)
 
GWEN_WIDGETgetCInterface ()
 
int getColumns ()
 
CppDialoggetDialog ()
 
uint32_t getFlags ()
 
int getGroupId ()
 
int getHeight ()
 
const char * getIconFileName ()
 
const char * getImageFileName ()
 
const char * getName ()
 
int getRows ()
 
const char * getText (int idx)
 
GWEN_WIDGET_TYPE getType ()
 
int getWidth ()
 
virtual ~CppWidget ()
 

Static Public Member Functions

static CPPGUI_API CppWidgetgetWidget (GWEN_WIDGET *w)
 

Protected Member Functions

virtual int addChildGuiWidget (GWEN_WIDGET *wChild)
 
 CppWidget ()
 
virtual const char * getCharProperty (GWEN_DIALOG_PROPERTY prop, int index, const char *defaultValue)
 
virtual int getIntProperty (GWEN_DIALOG_PROPERTY prop, int index, int defaultValue)
 
virtual int setCharProperty (GWEN_DIALOG_PROPERTY prop, int index, const char *value, int doSignal)
 
virtual int setIntProperty (GWEN_DIALOG_PROPERTY prop, int index, int value, int doSignal)
 

Protected Attributes

GWEN_WIDGET_widget
 

Friends

class CppWidgetLinker
 

Detailed Description

A C++ binding for the C module GWEN_WIDGET.

This class simply is a C++ binding for the C module GWEN_WIDGET. It redirects C callbacks used by GWEN_WIDGET to virtual functions in this class.

Author
Martin Preussmarti.nosp@m.n@aq.nosp@m.uaman.nosp@m.iac..nosp@m.de

Definition at line 32 of file cppwidget.hpp.

Constructor & Destructor Documentation

virtual ~CppWidget ( )
virtual
CppWidget ( )
protected

Member Function Documentation

virtual int addChildGuiWidget ( GWEN_WIDGET wChild)
protectedvirtual
virtual const char* getCharProperty ( GWEN_DIALOG_PROPERTY  prop,
int  index,
const char *  defaultValue 
)
protectedvirtual
GWEN_WIDGET* getCInterface ( )
int getColumns ( )
CppDialog* getDialog ( )
uint32_t getFlags ( )
int getGroupId ( )
int getHeight ( )
const char* getIconFileName ( )
const char* getImageFileName ( )
virtual int getIntProperty ( GWEN_DIALOG_PROPERTY  prop,
int  index,
int  defaultValue 
)
protectedvirtual
const char* getName ( )
int getRows ( )
const char* getText ( int  idx)
GWEN_WIDGET_TYPE getType ( )
static CPPGUI_API CppWidget* getWidget ( GWEN_WIDGET w)
static
int getWidth ( )
virtual int setCharProperty ( GWEN_DIALOG_PROPERTY  prop,
int  index,
const char *  value,
int  doSignal 
)
protectedvirtual
virtual int setIntProperty ( GWEN_DIALOG_PROPERTY  prop,
int  index,
int  value,
int  doSignal 
)
protectedvirtual

Friends And Related Function Documentation

friend class CppWidgetLinker
friend

Definition at line 33 of file cppwidget.hpp.

Field Documentation

GWEN_WIDGET* _widget
protected

Definition at line 66 of file cppwidget.hpp.


The documentation for this class was generated from the following file: