#include <vdkcustombutton.h>

| VDKCustomButton::VDKCustomButton | ( | VDKForm * | owner, | |
| const char * | label, | |||
| unsigned int | type = VDK_CBUTTON_UNTOGGLED | VDK_CBUTTON_NORMAL | |||
| ) |
Constructor, makes a labeled button
| owner | ||
| label | ||
| type |
VDKCustomButton *button = new VDKCustomButton(this,"_A button");
| VDKCustomButton::VDKCustomButton | ( | VDKForm * | owner, | |
| const char * | pixfile, | |||
| const char * | label, | |||
| unsigned int | type = VDK_CBUTTON_UNTOGGLED | VDK_CBUTTON_NORMAL, |
|||
| GtkPositionType | position = GTK_POS_RIGHT | |||
| ) |
Constructor, makes a pixmapped button.
| pixfile | ||
| label | ||
| type | ||
| position,refers | to label position into button box |
| VDKCustomButton::VDKCustomButton | ( | VDKForm * | owner, | |
| const char ** | pixdata, | |||
| const char * | label, | |||
| unsigned int | type = VDK_CBUTTON_UNTOGGLED | VDK_CBUTTON_NORMAL, |
|||
| GtkPositionType | position = GTK_POS_RIGHT | |||
| ) |
Constructor, same as above but using pixdata instead a pix file.
| void VDKCustomButton::SetComboMenu | ( | VDKMenu * | menu | ) |
Sets a menu into combo button.
Meaningless if button isn't a combo button
| virtual void VDKCustomButton::SetForeground | ( | VDKRgb | color, | |
| GtkStateType | state = GTK_STATE_NORMAL | |||
| ) | [inline, virtual] |
| virtual void VDKCustomButton::SetFont | ( | VDKFont * | f | ) | [inline, virtual] |
Sets object font
Reimplemented from VDKObject.
| VDKReadOnlyValueProp<VDKCustomButton, VDKBox*> VDKCustomButton::ButtonBox |
| VDKReadOnlyValueProp<VDKCustomButton, VDKLabel*> VDKCustomButton::Label |
| VDKReadOnlyValueProp<VDKCustomButton, VDKImage*> VDKCustomButton::Pixmap |
<read-only> Permits to access embedded VDKImage
| VDKReadWriteValueProp<VDKCustomButton, const char*> VDKCustomButton::Caption |
Permits to change button caption
| VDKReadWriteValueProp<VDKCustomButton, bool> VDKCustomButton::CaptionWrap |
Permits to change button caption wrap
1.5.5