Project:DUI

Class List Class Hierarchy
Summary: Ctors Methods Mixins

Module dui.Box

Class Box

dui.ObjectG.ObjectG
        dui.DUIObject.DUIObject
                dui.Widget.Widget
                        dui.Container.Container
                                dui.Box.Box

Implemented interfaces:


public class

Box



A container that lays it's children in a row

Constructor Summary
protected (GtkWidget* gtkWidget)
          

Methods Summary
public char toString()
          
void dump()
          
static GType getType()
          gets the type of the class Box
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




protected ctor(Box)(GtkWidget* gtkWidget)

toString

public char toString()

dump

void dump()

getType

static GType getType()
gets the type of the class Box

Returns:
the type of the class Box

packStart

void packStart(Widget child, bit expand, bit fill, int padding)
Pack Start

Parameters:
child - the widget to add
expand -
fill -
padding -

packEnd

void 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 -

packStartDefaults

void packStartDefaults(Widget def)
Sets the pack start defaults

Parameters:
def - the default

packEndDefaults

void packEndDefaults(Widget def)
Sets the pack end default ???

Parameters:
def - the default

setHomogeneous

void setHomogeneous(bit homogeneous)
Sets if the childrens size should be homogeneous

Parameters:
homogeneous -

getHomogeneous

bit getHomogeneous()
Gets if the childrens size is homogeneous

Returns:
true if the size is homogeneous

setSpacing

void setSpacing(int spacing)
sets the space between the child widgets

Parameters:
spacing - the number of pixels between each child widget

getSpacing

gint getSpacing()
Gets the spacing between the widgets

Returns:
the number of pixels between the widgets

reorderChild

void reorderChild(Widget child, gint position)
Reposition one child relative to the others

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

queryChildPacking

void 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 -

setChildPacking

void 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 -