| Home | Trees | Index | Help |
|
|---|
| Module eagle :: Class Tabs |
|
object--+ |_EGObject--+ |_EGWidget--+ | Tabs
Present widgets in Tabs.
This is also known as TabControl, TabWidget, Notebook, etc in other toolkits.
Tabs are composed from Pages (Tabs.Page), which behave just like Groups and
hold a list of widgets.
Tabs.get_page() method.
| Method Summary | |
|---|---|
Tabs constructor. | |
__add_widgets_to_app__(self)
| |
__focus_page__(self,
page)
| |
Same as Tabs.get_page(). | |
Set Tabs.Page.label of a page get using
'index_or_id' for Tabs.get_page(). | |
__setup_gui__(self)
| |
Make given page visible. | |
Get the Tabs.Page given its index or id. | |
_get_app(self)
| |
_set_app(self,
value)
| |
| Inherited from _EGWidget | |
| |
Return a list of internal widgets this Eagle widget contains. | |
| |
| |
Same as set_active( False ) | |
Set the widget as active. | |
Give keyboard focus to this widget. | |
Return True if it's active (enabled) or False inactive (disabled). | |
Return true if widget is visible (shown). | |
Make widget invisible. | |
Return True if it's active (enabled) or False inactive (disabled). | |
Return True if it's active (enabled) or False inactive (disabled). | |
Return true if widget is visible (shown). | |
Set the widget as active. | |
Same as set_active( False ) | |
Show or hide widget based on value of 'visible'. | |
Make widget visible. | |
| Inherited from _EGObject | |
| |
| |
| Inherited from object | |
x.__delattr__('name') <==> del x.name | |
x.__getattribute__('name') <==> x.name | |
x.__hash__() <==> hash(x) | |
T.__new__(S, ...) -> a new object with type S, a subtype of T | |
helper for pickle | |
helper for pickle | |
x.__setattr__('name', value) <==> x.name = value | |
| Property Summary | |
|---|---|
app | |
children | |
| Inherited from _EGWidget | |
_widgets | |
active | |
visible | |
| Inherited from _EGObject | |
id | |
| Class Variable Summary | |
|---|---|
type |
Page = eagle.Page |
| Inherited from _EGWidget | |
int |
ORIENTATION_HORIZONTAL = 1 |
int |
ORIENTATION_VERTICAL = 0 |
| Method Details |
|---|
__init__(self,
id,
children=None,
expand_policy=None,
active=True,
visible=True)
Tabs constructor.
|
__getitem__(self,
index_or_id)
|
__setitem__(self,
index_or_id,
value)
|
focus_page(self, index_or_id_or_page)Make given page visible. |
get_page(self, index_or_id)Get the Tabs.Page given its index or id. @raise KeyError if index_or_id doesn't exists. |
| Property Details |
|---|
app |
children
|
| Home | Trees | Index | Help |
|
|---|
| Generated by Epydoc 2.1 on Sun Apr 22 21:30:28 2007 | http://epydoc.sf.net |