Box Class Reference

Inheritance diagram for Box:

Container ButtonBox HBox VBox HButtonBox VButtonBox Statusbar ColorSelection GammaCurve List of all members.

Detailed Description

A container that lays it's children in a row.


Public Member Functions

void packStart (Widget child, bit expand, bit fill, int padding)
 Pack Start.
void packEnd (Widget child, bit expand, bit fill, int padding)
 Pack End (what's the diference to packStart?).
void packStartDefaults (Widget def)
 Sets the pack start defaults.
void packEndDefaults (Widget def)
 Sets the pack end default ???
void setHomogeneous (bit homogeneous)
 Sets if the childrens size should be homogeneous.
bit getHomogeneous ()
 Gets if the childrens size is homogeneous.
void setSpacing (int spacing)
 sets the space between the child widgets
gint getSpacing ()
 Gets the spacing between the widgets.
void reorderChild (Widget child, gint position)
 Reposition one child relative to the others.
void queryChildPacking (Widget child, gboolean *expand, gboolean *fill, guint *padding, PackType *pack_type)
 Queries the packing settings for a child.
void setChildPacking (Widget child, gboolean expand, gboolean fill, guint padding, PackType pack_type)
 Sets the pacjing values for a child.

Static Public Member Functions

GType getType ()
 gets the type of the class Box


Member Function Documentation

bit Box.getHomogeneous  ) 
 

Gets if the childrens size is homogeneous.

Returns:
true if the size is homogeneous

gint Box.getSpacing  ) 
 

Gets the spacing between the widgets.

Returns:
the number of pixels between the widgets

GType Box.getType  )  [static]
 

gets the type of the class Box

Returns:
the type of the class Box

Reimplemented from Widget.

Reimplemented in HBox, HButtonBox, Statusbar, VBox, and VButtonBox.

void Box.packEnd Widget  child,
bit  expand,
bit  fill,
int  padding
 

Pack End (what's the diference to packStart?).

Parameters:
child the widget to add
expand 
fill 
padding 

void Box.packEndDefaults Widget  def  ) 
 

Sets the pack end default ???

Parameters:
def the default

void Box.packStart Widget  child,
bit  expand,
bit  fill,
int  padding
 

Pack Start.

Parameters:
child the widget to add
expand 
fill 
padding 

void Box.packStartDefaults Widget  def  ) 
 

Sets the pack start defaults.

Parameters:
def the default

void Box.queryChildPacking Widget  child,
gboolean *  expand,
gboolean *  fill,
guint *  padding,
PackType *  pack_type
 

Queries the packing settings for a child.

Parameters:
child 
expand 
fill 
padding 
pack_type 

void Box.reorderChild Widget  child,
gint  position
 

Reposition one child relative to the others.

Parameters:
child the widget to repostion
position the new widget position

void Box.setChildPacking Widget  child,
gboolean  expand,
gboolean  fill,
guint  padding,
PackType  pack_type
 

Sets the pacjing values for a child.

Parameters:
child 
expand 
fill 
padding 
pack_type 

void Box.setHomogeneous bit  homogeneous  ) 
 

Sets if the childrens size should be homogeneous.

Parameters:
homogeneous 

void Box.setSpacing int  spacing  ) 
 

sets the space between the child widgets

Parameters:
spacing the number of pixels between each child widget


SourceForge.net Logo DSource.org Logo digitalmars.com Logo