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

Type Page

    object --+    
             |    
    _AutoGenId --+
                 |
object --+       |
         |       |
 _EGObject --+   |
             |   |
     _EGWidget --+
                 |
                Page


Page in Tabs component.

Pages must have a name and optionally an id, otherwise one id will be automatically generated.

It behaves just like Group component.
Method Summary
  __init__(self, id, label, children, horizontal, active, visible)
Tabs.Page constructor.
  __add_widgets_to_app__(self)
  __setup_gui__(self)
  _get_app(self)
  _set_app(self, value)
  focus(self)
Give keyboard focus to this widget.
  get_label(self)
  set_active(self, value)
  set_label(self, label)
    Inherited from _EGWidget
  __configure_orientation__(self, setting)
  __get_widgets__(self)
Return a list of internal widgets this Eagle widget contains.
  _get_widgets(self)
  _set_widgets(self, value)
  disable(self)
Same as set_active( False )
  enable(self, active)
Set the widget as active.
  get_active(self)
Return True if it's active (enabled) or False inactive (disabled).
  get_visible(self)
Return true if widget is visible (shown).
  hide(self)
Make widget 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 widget is visible (shown).
  set_inactive(self)
Same as set_active( False )
  set_visible(self, visible)
Show or hide widget based on value of 'visible'.
  show(self)
Make widget visible.
    Inherited from _EGObject
  __repr__(self)
  __str__(self)
    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
  active
  app
  children
  horizontal
  label
  parent
    Inherited from _EGWidget
  _widgets
  visible
    Inherited from _EGObject
  id

Class Variable Summary
int spacing = 3                                                                     
    Inherited from _EGWidget
int ORIENTATION_HORIZONTAL = 1                                                                     
int ORIENTATION_VERTICAL = 0                                                                     
    Inherited from _AutoGenId
int last_id_num = 0                                                                     

Instance Method Details

__init__(self, id=None, label='', children=None, horizontal=False, active=True, visible=True)
(Constructor)

Tabs.Page constructor.
Parameters:
id - may not be provided, it will be generated automatically.
label - displayed as Page label.
children - a list of eagle widgets that this page contains.
horizontal - if widgets should be laid out horizontally.
Overrides:
eagle._EGWidget.__init__

focus(self)

Give keyboard focus to this widget.
Overrides:
eagle._EGWidget.focus (inherited documentation)

Property Details

active

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

app

Get Method:
_get_app(self)
Set Method:
_set_app(self, value)

children

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

horizontal

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

label

Get Method:
get_label(self)
Set Method:
set_label(self, label)

parent

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

Class Variable Details

spacing

Type:
int
Value:
3                                                                     

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