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

Class Page
source code

object --+        
         |        
 _EGObject --+    
             |    
     _EGWidget --+
                 |
    object --+   |
             |   |
     AutoGenId --+
                 |
                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.

Instance Methods [hide private]
  __init__(self, id=None, label="", children=None, horizontal=False)
Tabs.Page constructor.
  _get_app(self)
  _set_app(self, value)
  __add_widgets_to_app__(self)
  __setup_gui__(self)
  set_label(self, label)
  get_label(self)
  focus(self)

Inherited from _EGWidget: __configure_orientation__, __get_widgets__, hide, set_active, set_inactive, show

Inherited from _EGObject: __repr__, __str__

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __setattr__


Class Methods [hide private]

Inherited from AutoGenId: __get_id__


Class Variables [hide private]
spacing  
children  
horizontal  
parent  
app  
label  

Inherited from _EGWidget: ORIENTATION_HORIZONTAL, ORIENTATION_VERTICAL

Inherited from _EGObject: id

Inherited from AutoGenId: last_id_num

Inherited from object: __class__


Method Details [hide private]

__init__(self, id=None, label="", children=None, horizontal=False)
(Constructor)

source code 
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: _EGWidget.__init__

_get_app(self)

source code 

_set_app(self, value)

source code 

__add_widgets_to_app__(self)

source code 

__setup_gui__(self)

source code 

set_label(self, label)

source code 

get_label(self)

source code 

focus(self)

source code 

Class Variable Details [hide private]

spacing

Value:
3                                                                      
      

children

Value:
_gen_ro_property("children")                                           
      

horizontal

Value:
_gen_ro_property("horizontal")                                         
      

parent

Value:
_gen_ro_property("parent")                                             
      

app

Value:
property(_get_app,_set_app)                                            
      

label

Value:
property(get_label,set_label)