| Home | Trees | Index | Help |
|
|---|
| Module eagle :: Class BaseItem |
|
object--+ |_AutoGenId--+ |object--+ | | |_EGObject--+ | BaseItem
Item,
Separator| Method Summary | |
|---|---|
__init__(self,
id,
active,
visible)
| |
__repr__(self)
| |
__setup_gui__(self)
| |
__str__(self)
| |
Same as set_active( False ) | |
Set the toolbar item as active. | |
Return True if it's active (enabled) or False inactive (disabled). | |
Return true if toolbar item is visible (shown). | |
Make toolbar item 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 toolbar item is visible (shown). | |
Set the toolbar item as active. | |
Same as set_active( False ) | |
Show or hide toolbar item based on value of 'visible'. | |
Make toolbar item visible. | |
| Inherited from _AutoGenId | |
(Class method) | |
| 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 | |
|---|---|
_wid | |
active | |
visible | |
| Inherited from _EGObject | |
id | |
| Class Variable Summary | |
|---|---|
str |
auto_gen_name = 'Toolbar.BaseItem'
|
| Inherited from _AutoGenId | |
int |
last_id_num = 0 |
| Instance Method Details |
|---|
disable(self)Same asset_active( False )
|
enable(self, active=True)Set the toolbar item as active. An active toolbar item have their actions enabled, while an inactive (active=False) will be grayed and actions disabled. |
get_active(self)Return True if it's active (enabled) or False inactive (disabled). |
get_visible(self)Return true if toolbar item is visible (shown). |
hide(self)Make toolbar item invisible. |
is_active(self)Return True if it's active (enabled) or False inactive (disabled). |
is_enabled(self)Return True if it's active (enabled) or False inactive (disabled). |
is_visible(self)Return true if toolbar item is visible (shown). |
set_active(self, active=True)Set the toolbar item as active. An active toolbar item have their actions enabled, while an inactive (active=False) will be grayed and actions disabled. |
set_inactive(self)Same asset_active( False )
|
set_visible(self, visible=True)Show or hide toolbar item based on value of 'visible'. |
show(self)Make toolbar item visible. |
| Property Details |
|---|
_wid
|
active
|
visible
|
| Class Variable Details |
|---|
auto_gen_name
|
| Home | Trees | Index | Help |
|
|---|
| Generated by Epydoc 2.1 on Sun Apr 22 21:30:28 2007 | http://epydoc.sf.net |