Paned Class Reference

Inheritance diagram for Paned:

Container HPaned VPaned List of all members.

Detailed Description

A container for two chidren that can be resized interactivly.


Public Member Functions

void add1 (Widget child)
 Sets the first child either to the left or on the top.
void add2 (Widget child)
 Sets the second child either to the right or on the bottom.
void add (Widget child1, Widget child2)
 Sets the first and second childs.
gint getPosition ()
 Obtains the position of the divider between the two panes.
void setPosition (gint position)
 Sets the position of the divider between the two panes.

Static Public Member Functions

GType getType ()
 Gets this class type.


Member Function Documentation

void Paned.add Widget  child1,
Widget  child2
 

Sets the first and second childs.

Parameters:
child1 the first child
child2 the second child

void Paned.add1 Widget  child  ) 
 

Sets the first child either to the left or on the top.

Parameters:
child the widget to add

void Paned.add2 Widget  child  ) 
 

Sets the second child either to the right or on the bottom.

Parameters:
child the widget to add

gint Paned.getPosition  ) 
 

Obtains the position of the divider between the two panes.

Returns:
the position of the divider between the two panes.

GType Paned.getType  )  [static]
 

Gets this class type.

Returns:
this class type

Reimplemented from Widget.

Reimplemented in HPaned, and VPaned.

void Paned.setPosition gint  position  ) 
 

Sets the position of the divider between the two panes.

Parameters:
position in pixels


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