vdk 2.4.0
|
this calls provides a scrolled container widget More...
#include <scrolled.h>
this calls provides a scrolled container widget
both horizontal and vertical scroll bars will appear when needed.
VDKScrolled::VDKScrolled | ( | VDKForm * | owner = NULL , |
int | mode = v_box |
||
) |
Constructor
owner | owner form |
mode | either v_box or h_box, meaning that scrolled will be constructed with a v_box or h_box inside |
VDKScrolled::~VDKScrolled | ( | ) | [virtual] |
Destructor
void VDKScrolled::Add | ( | VDKObject * | obj, |
int | justify = l_justify , |
||
int | expand = TRUE , |
||
int | fill = TRUE , |
||
int | padding = 1 |
||
) | [virtual] |
Adds a widget to scrolled
obj | widget to be added |
others | args will be ignored |
Reimplemented from VDKObjectContainer.
void VDKScrolled::AddWithoutViewport | ( | VDKObject * | obj, |
int | justify = l_justify , |
||
int | expand = TRUE , |
||
int | fill = TRUE , |
||
int | padding = 0 |
||
) |
Adds a self scrollable widget
void VDKScrolled::AddWithViewport | ( | VDKObject * | obj | ) |
Adds a non self scrollable widget, acts like Add()
VDKReadWriteValueProp<VDKScrolled,GtkShadowType> VDKScrolled::BorderShadow |
Use this property to get/set border shadow. Shadows can be: