#include <omgui/gtk2/tablelayout.h>
Inherits omgui::gtk2::Panel, and omgui::common::TableLayout.
Public Types | |
typedef omgui::initializer::TableLayoutData | data_type |
Initialization data used for TableLayout. | |
typedef omgui::initializer::PanelData | data_type |
Initialization data used for Panel. | |
typedef omgui::initializer::WidgetData | data_type |
Initialization data used for Widgets. | |
typedef omgui::TableLayout | wrapper_type |
typedef omgui::Panel | wrapper_type |
typedef omgui::Widget | wrapper_type |
Public Member Functions | |
void | add_child (const Pointer< omgui::Widget > &child) |
virtual void | create (const data_type &init_params)=0 |
void | create (const omgui::initializer::PanelData ¶ms) |
void | create (const omgui::initializer::TableLayoutData ¶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 |
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 () |
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 |
void | remove_child (const Pointer< omgui::Widget > &) |
void | remove_child (const Pointer< omgui::Widget > &child) |
void | send_event (omgui::event_id) |
void | set_bottom_margin (int margin) |
void | set_column_gap (int gap) |
void | set_column_weight (int column, float weight) |
void | set_gap (int gap) |
void | set_left_margin (int margin) |
void | set_margins (int left, int top, int right, int bottom) |
void | set_margins (int margin) |
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 &) |
void | set_right_margin (int margin) |
void | set_row_gap (int gap) |
void | set_row_weight (int row, float weight) |
void | set_size (const omgui::Size &size) |
void | set_top_margin (int margin) |
void | set_widget_layout_info (omgui::Widget *widget, const omgui::TableLayoutInfo &info) |
virtual void | show (bool show, bool activate) |
TableLayout (omgui::TableLayout *wrapper=0) | |
void | update_layout () |
void | update_layout () |
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::TableLayoutData omgui::api::TableLayout::data_type [inherited] |
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::TableLayout omgui::api::TableLayout::wrapper_type [inherited] |
Reimplemented from omgui::api::Panel.
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::TableLayout::TableLayout | ( | omgui::TableLayout * | wrapper = 0 |
) |
void omgui::common::Panel::add_child | ( | const Pointer< omgui::Widget > & | child | ) | [virtual, inherited] |
Implements omgui::api::Panel.
virtual void omgui::api::TableLayout::create | ( | const data_type & | init_params | ) | [pure virtual, inherited] |
void omgui::gtk2::Widget::create | ( | const omgui::initializer::WidgetData & | params, | |
GtkWidget * | widget | |||
) | [protected, inherited] |
void omgui::gtk2::Panel::create | ( | const omgui::initializer::PanelData & | params | ) | [inherited] |
void omgui::gtk2::TableLayout::create | ( | const omgui::initializer::TableLayoutData & | params | ) |
Reimplemented from omgui::common::TableLayout.
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::TableLayout::get_min_size | ( | ) | const [virtual] |
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, inherited] |
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::TableLayout::invalidate_cached_child_values | ( | ) | [virtual, inherited] |
Reimplemented from omgui::common::Panel.
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::TableLayout::remove_child | ( | const Pointer< omgui::Widget > & | child | ) | [virtual, inherited] |
Reimplemented from omgui::common::Panel.
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] |
void omgui::common::TableLayout::set_bottom_margin | ( | int | margin | ) | [virtual, inherited] |
Implements omgui::api::TableLayout.
void omgui::common::TableLayout::set_column_gap | ( | int | gap | ) | [virtual, inherited] |
Implements omgui::api::TableLayout.
void omgui::common::TableLayout::set_column_weight | ( | int | column, | |
float | weight | |||
) | [virtual, inherited] |
Implements omgui::api::TableLayout.
void omgui::common::TableLayout::set_gap | ( | int | gap | ) | [virtual, inherited] |
Implements omgui::api::TableLayout.
void omgui::common::TableLayout::set_left_margin | ( | int | margin | ) | [virtual, inherited] |
Implements omgui::api::TableLayout.
void omgui::common::TableLayout::set_margins | ( | int | left, | |
int | top, | |||
int | right, | |||
int | bottom | |||
) | [virtual, inherited] |
Implements omgui::api::TableLayout.
void omgui::common::TableLayout::set_margins | ( | int | margin | ) | [virtual, inherited] |
Implements omgui::api::TableLayout.
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, inherited] |
Reimplemented from omgui::gtk2::Widget.
void omgui::gtk2::Widget::set_rect | ( | const omgui::Rect & | rect | ) | [virtual, inherited] |
Implements omgui::api::Widget.
void omgui::common::TableLayout::set_right_margin | ( | int | margin | ) | [virtual, inherited] |
Implements omgui::api::TableLayout.
void omgui::common::TableLayout::set_row_gap | ( | int | gap | ) | [virtual, inherited] |
Implements omgui::api::TableLayout.
void omgui::common::TableLayout::set_row_weight | ( | int | row, | |
float | weight | |||
) | [virtual, inherited] |
Implements omgui::api::TableLayout.
void omgui::gtk2::TableLayout::set_size | ( | const omgui::Size & | size | ) | [virtual] |
Reimplemented from omgui::gtk2::Widget.
void omgui::common::TableLayout::set_top_margin | ( | int | margin | ) | [virtual, inherited] |
Implements omgui::api::TableLayout.
void omgui::common::TableLayout::set_widget_layout_info | ( | omgui::Widget * | widget, | |
const omgui::TableLayoutInfo & | info | |||
) | [virtual, inherited] |
Implements omgui::api::TableLayout.
void omgui::gtk2::Panel::show | ( | bool | show, | |
bool | activate | |||
) | [virtual, inherited] |
Reimplemented from omgui::gtk2::Widget.
void omgui::common::TableLayout::update_layout | ( | ) | [virtual, inherited] |
Update the positions and sizes of all widgets
Reimplemented from omgui::common::Panel.
void omgui::common::Panel::update_layout | ( | ) | [virtual, inherited] |
int omgui::gtk2::Panel::m_last_height [inherited] |
int omgui::gtk2::Panel::m_last_width [inherited] |
GtkWidget* omgui::gtk2::Widget::m_widget [protected, inherited] |