#include <omgui/gtk2/panel.h>
Inherits omgui::gtk2::Widget, and omgui::common::Panel.
Inherited by omgui::gtk2::Notebook [virtual]
, and omgui::gtk2::TableLayout [virtual]
.
Public Types | |
typedef omgui::initializer::PanelData | data_type |
Initialization data used for Panel. | |
typedef omgui::initializer::WidgetData | data_type |
Initialization data used for Widgets. | |
typedef omgui::Panel | wrapper_type |
typedef omgui::Widget | wrapper_type |
Public Member Functions | |
void | add_child (const Pointer< omgui::Widget > &child) |
void | create (const omgui::initializer::PanelData ¶ms) |
virtual void | destroy () |
virtual void | enable (bool sensitive) |
const ChildList & | get_child_list () const |
virtual void * | get_handle () const |
virtual omgui::Size | get_max_size () const |
virtual omgui::Size | get_min_size () const |
virtual omgui::Size | get_natural_size () const |
virtual omgui::Panel * | get_parent () const |
virtual Pointer< omgui::Window > | get_parent_window () const |
virtual omgui::Point | get_position () const |
virtual omgui::Rect | get_rect () const |
virtual omgui::Size | get_size () const |
template<typename T> | |
T * | get_wrapper () |
template<typename T> | |
const T * | get_wrapper () const |
omgui::Widget * | get_wrapper () |
const omgui::Widget * | get_wrapper () const |
omgui::object_id | get_wrapper_id () const |
void | invalidate_cached_child_values () |
virtual bool | is_enabled () const |
virtual bool | is_hidden () const =0 |
bool | is_orphaned () const |
virtual bool | is_shown () const |
Panel () | |
void | remove_child (const Pointer< omgui::Widget > &child) |
void | send_event (omgui::event_id) |
virtual void | set_max_size (const omgui::Size &) |
virtual void | set_min_size (const omgui::Size &) |
virtual void | set_natural_size (const omgui::Size &) |
virtual void | set_position (const omgui::Point &) |
virtual void | set_rect (const omgui::Rect &) |
virtual void | set_size (const omgui::Size &) |
virtual void | show (bool show, bool activate) |
void | update_layout () |
~Panel () | |
Public Attributes | |
int | m_last_height |
int | m_last_width |
Protected Member Functions | |
void | create (const omgui::initializer::WidgetData &, GtkWidget *) |
Protected Attributes | |
GtkWidget * | m_widget |
typedef omgui::initializer::PanelData omgui::api::Panel::data_type [inherited] |
Initialization data used for Panel.
Reimplemented from omgui::api::Widget.
Reimplemented in omgui::api::Notebook, and omgui::api::TableLayout.
typedef omgui::initializer::WidgetData omgui::api::Widget::data_type [inherited] |
Initialization data used for Widgets.
Reimplemented in omgui::api::Button, omgui::api::ComboBox, omgui::api::EntryBox, omgui::api::Notebook, omgui::api::Panel, omgui::api::SecureEntryBox, omgui::api::TableLayout, omgui::api::TextBox, omgui::api::TextWidget, and omgui::api::Window.
typedef omgui::Panel omgui::api::Panel::wrapper_type [inherited] |
Reimplemented from omgui::api::Widget.
Reimplemented in omgui::api::Notebook, and omgui::api::TableLayout.
typedef omgui::Widget omgui::api::Widget::wrapper_type [inherited] |
omgui::gtk2::Panel::Panel | ( | ) |
omgui::gtk2::Panel::~Panel | ( | ) |
void omgui::common::Panel::add_child | ( | const Pointer< omgui::Widget > & | child | ) | [virtual, inherited] |
Implements omgui::api::Panel.
void omgui::gtk2::Widget::create | ( | const omgui::initializer::WidgetData & | params, | |
GtkWidget * | widget | |||
) | [protected, inherited] |
void omgui::gtk2::Panel::create | ( | const omgui::initializer::PanelData & | params | ) |
void omgui::gtk2::Widget::destroy | ( | ) | [virtual, inherited] |
void omgui::gtk2::Widget::enable | ( | bool | sensitive | ) | [virtual, inherited] |
Implements omgui::api::Widget.
const ChildList & omgui::common::Panel::get_child_list | ( | ) | const [virtual, inherited] |
Implements omgui::api::Panel.
virtual void* omgui::gtk2::Widget::get_handle | ( | ) | const [inline, virtual, inherited] |
Implements omgui::api::Widget.
virtual omgui::Size omgui::gtk2::Widget::get_max_size | ( | ) | const [inline, virtual, inherited] |
omgui::Size omgui::gtk2::Widget::get_min_size | ( | ) | const [virtual, inherited] |
virtual omgui::Size omgui::gtk2::Widget::get_natural_size | ( | ) | const [inline, virtual, inherited] |
Implements omgui::api::Widget.
boost::shared_ptr< omgui::Panel > omgui::gtk2::Panel::get_parent | ( | ) | const [virtual] |
Reimplemented from omgui::gtk2::Widget.
Pointer< omgui::Window > omgui::gtk2::Widget::get_parent_window | ( | ) | const [virtual, inherited] |
Implements omgui::api::Widget.
virtual omgui::Point omgui::gtk2::Widget::get_position | ( | ) | const [inline, virtual, inherited] |
omgui::Rect omgui::gtk2::Widget::get_rect | ( | ) | const [virtual, inherited] |
Implements omgui::api::Widget.
omgui::Size omgui::gtk2::Widget::get_size | ( | ) | const [virtual, inherited] |
T* omgui::common::Widget::get_wrapper | ( | ) | [inline, inherited] |
const T* omgui::common::Widget::get_wrapper | ( | ) | const [inline, inherited] |
omgui::Widget* omgui::common::Widget::get_wrapper | ( | ) | [inline, inherited] |
const omgui::Widget* omgui::common::Widget::get_wrapper | ( | ) | const [inline, inherited] |
omgui::object_id omgui::common::Widget::get_wrapper_id | ( | ) | const [inherited] |
void omgui::common::Panel::invalidate_cached_child_values | ( | ) | [virtual, inherited] |
bool omgui::gtk2::Widget::is_enabled | ( | ) | const [virtual, inherited] |
Implements omgui::api::Widget.
virtual bool omgui::api::Widget::is_hidden | ( | ) | const [pure virtual, inherited] |
Implemented in omgui::cocoa::Widget, and omgui::win32::Widget.
bool omgui::common::Panel::is_orphaned | ( | ) | const [virtual, inherited] |
Implements omgui::api::Panel.
bool omgui::gtk2::Widget::is_shown | ( | ) | const [virtual, inherited] |
Implements omgui::api::Widget.
void omgui::common::Panel::remove_child | ( | const Pointer< omgui::Widget > & | child | ) | [virtual, inherited] |
void omgui::gtk2::Widget::send_event | ( | omgui::event_id | event_id | ) | [inherited] |
virtual void omgui::gtk2::Widget::set_max_size | ( | const omgui::Size & | ) | [inline, virtual, inherited] |
void omgui::gtk2::Widget::set_min_size | ( | const omgui::Size & | s | ) | [virtual, inherited] |
Implements omgui::api::Widget.
Reimplemented in omgui::gtk2::Window.
virtual void omgui::gtk2::Widget::set_natural_size | ( | const omgui::Size & | ) | [inline, virtual, inherited] |
Implements omgui::api::Widget.
void omgui::gtk2::Panel::set_position | ( | const omgui::Point & | pos | ) | [virtual] |
Reimplemented from omgui::gtk2::Widget.
void omgui::gtk2::Widget::set_rect | ( | const omgui::Rect & | rect | ) | [virtual, inherited] |
Implements omgui::api::Widget.
void omgui::gtk2::Widget::set_size | ( | const omgui::Size & | s | ) | [virtual, inherited] |
Implements omgui::api::Widget.
Reimplemented in omgui::gtk2::TableLayout, and omgui::gtk2::Window.
void omgui::gtk2::Panel::show | ( | bool | show, | |
bool | activate | |||
) | [virtual] |
Reimplemented from omgui::gtk2::Widget.
void omgui::common::Panel::update_layout | ( | ) | [virtual, inherited] |
GtkWidget* omgui::gtk2::Widget::m_widget [protected, inherited] |