ifm::layout::Panel Class Reference

Inheritance diagram for ifm::layout::Panel:

ifm::layout::Component

List of all members.


Detailed Description

Layout object representing a Panel.

Panels are an interface element which holds a single child widget. The child widget that appears in the panel is specifed by its identifier. All widgets appearing within the layout must have a unique ID throughout the application.

If a widget with the given ID does not exist when the Layout is realized, this panel will be hidden. When the widget with this ID is created, this panel will then show the widget.

Panels will always be children of a TabbedContainer, not a Container directly. You can construct a Layout where Panels are children of Containers, but when the Layout is realized, TabbedContainers will be automatically created.

Public Member Functions

Panelcopy () const
WidgetID get_child_id () const
int get_flags () const
std::string & get_image_name () const
std::string get_name () const
component_type get_type () const
 Panel (const Panel &other)
 Panel (WidgetID child, const std::string &name="", const std::string &bitmap="", int flags=0)
void set_name (const std::string &name)

Private Attributes

PanelDatam_data

Classes

class  PanelData


Constructor & Destructor Documentation

ifm::layout::Panel::Panel ( WidgetID  child,
const std::string &  name = "",
const std::string &  bitmap = "",
int  flags = 0 
)

ifm::layout::Panel::Panel ( const Panel other  ) 


Member Function Documentation

Panel * ifm::layout::Panel::copy (  )  const [virtual]

Returns:
A copy of this Panel layout.

Implements ifm::layout::Component.

WidgetID ifm::layout::Panel::get_child_id (  )  const

Returns the ID of the child widget.

int ifm::layout::Panel::get_flags (  )  const

std::string & ifm::layout::Panel::get_image_name (  )  const

std::string ifm::layout::Component::get_name (  )  const [inherited]

Returns:
The name of the component.

component_type ifm::layout::Component::get_type (  )  const [inherited]

Returns:
The type of the Component.

void ifm::layout::Component::set_name ( const std::string &  name  )  [inherited]

Sets the name of this component.


Member Data Documentation

Reimplemented from ifm::layout::Component.


doxygen Get IFM - Interface Management System at SourceForge.net. Fast, secure and Free Open Source software downloads