vdk 2.4.0
Public Member Functions
VDKBox Class Reference

One of the most used widget containers. More...

#include <boxes.h>

Inheritance diagram for VDKBox:
VDKObjectContainer VDKObject VDKNotCopyAble VDKDockerBox

List of all members.

Public Member Functions


Detailed Description

One of the most used widget containers.

This class provides boxes used as VDKObject containers


Constructor & Destructor Documentation

VDKBox::VDKBox ( VDKForm owner = (VDKForm*) NULL,
int  mode = v_box 
)

Constructor

Parameters:
ownerthe form that owns box
modeeither vertical (mode == v_box) or horizontal (mode == h_box)
VDKBox::~VDKBox ( ) [virtual]

Destructor


Member Function Documentation

void VDKBox::Add ( VDKObject obj,
int  justify = l_justify,
int  expand = TRUE,
int  fill = TRUE,
int  padding = 0 
) [virtual]

Adds an object to the box

Parameters:
objthe object to be added
justifyhow the object has to be packed into box, can be one of the following
  • l_justify will be appended to other objects
  • r_justify will be prepended to other objects
expandobject will expand
fillobject will fill all available space
paddingobject with be padded with <padding> pixels

Reimplemented from VDKObjectContainer.


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