Module eagle :: Class BaseItem
[show private | hide private]
[frames | no frames]

Type BaseItem

object --+    
         |    
_AutoGenId --+
             |
object --+   |
         |   |
 _EGObject --+
             |
            BaseItem

Known Subclasses:
Item, Separator

Method Summary
  __init__(self, id, active, visible)
  __repr__(self)
  __setup_gui__(self)
  __str__(self)
  disable(self)
Same as set_active( False )
  enable(self, active)
Set the toolbar item as active.
  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)
Set the toolbar item as active.
  set_inactive(self)
Same as set_active( False )
  set_visible(self, visible)
Show or hide toolbar item based on value of 'visible'.
  show(self)
Make toolbar item visible.
    Inherited from _AutoGenId
  __get_id__(classobj)
(Class method)
    Inherited from object
  __delattr__(...)
x.__delattr__('name') <==> del x.name
  __getattribute__(...)
x.__getattribute__('name') <==> x.name
  __hash__(x)
x.__hash__() <==> hash(x)
  __new__(T, S, ...)
T.__new__(S, ...) -> a new object with type S, a subtype of T
  __reduce__(...)
helper for pickle
  __reduce_ex__(...)
helper for pickle
  __setattr__(...)
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 as set_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 as set_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

Get Method:
get(...)
Set Method:
set(...)

active

Get Method:
get_active(self)
Set Method:
set_active(self, active)

visible

Get Method:
get_visible(self)
Set Method:
set_visible(self, visible)

Class Variable Details

auto_gen_name

Type:
str
Value:
'Toolbar.BaseItem'                                                     

Generated by Epydoc 2.1 on Sun Apr 22 21:30:28 2007 http://epydoc.sf.net