Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members

FX::FXSeparator Class Reference

A Separator widget is used to draw a horizontal or vertical divider between groups of controls. More...

#include <FXSeparator.h>

Inheritance diagram for FX::FXSeparator:

FX::FXFrame FX::FXWindow FX::FXDrawable FX::FXId FX::FXObject FX::FXHorizontalSeparator FX::FXVerticalSeparator List of all members.

Public Member Functions

 FXSeparator (FXComposite *p, FXuint opts=SEPARATOR_GROOVE|LAYOUT_FILL_X, FXint x=0, FXint y=0, FXint w=0, FXint h=0, FXint pl=0, FXint pr=0, FXint pt=0, FXint pb=0)
virtual FXint getDefaultWidth ()
virtual FXint getDefaultHeight ()
void setSeparatorStyle (FXuint style)
FXuint getSeparatorStyle () const

Detailed Description

A Separator widget is used to draw a horizontal or vertical divider between groups of controls.

It is purely decorative. The separator may be drawn in various styles as determined by the SEPARATOR_NONE, SEPARATOR_GROOVE, SEPARATOR_RIDGE, and SEPARATOR_LINE options. Since its derived from Frame, it can also have the frame's border styles.

See also:


Constructor & Destructor Documentation

FX::FXSeparator::FXSeparator FXComposite p,
FXuint  opts = SEPARATOR_GROOVE|LAYOUT_FILL_X,
FXint  x = 0,
FXint  y = 0,
FXint  w = 0,
FXint  h = 0,
FXint  pl = 0,
FXint  pr = 0,
FXint  pt = 0,
FXint  pb = 0
 

Constructor.


Member Function Documentation

virtual FXint FX::FXSeparator::getDefaultWidth  )  [virtual]
 

Return default width.

Reimplemented from FX::FXFrame.

virtual FXint FX::FXSeparator::getDefaultHeight  )  [virtual]
 

Return default height.

Reimplemented from FX::FXFrame.

void FX::FXSeparator::setSeparatorStyle FXuint  style  ) 
 

Change separator style.

FXuint FX::FXSeparator::getSeparatorStyle  )  const
 

Get separator style.

Copyright © 1997-2005 Jeroen van der Zijp