Module eagle :: Class _EGWidget
[hide private]
[frames] | no frames]

Class _EGWidget
source code

object --+    
         |    
 _EGObject --+
             |
            _EGWidget
Known Subclasses:
_EGDataWidget, AboutDialog, HelpDialog, FileChooser, PreferencesDialog, Canvas, Group, Tabs, Tabs.Page, Table, RichText, Button, HSeparator, VSeparator

The base of every Graphical Component in Eagle.


Warning: never use it directly in Eagle applications!

Instance Methods [hide private]
  __init__(self, id, app=None, expand_policy=None)
  __get_widgets__(self)
Return a list of internal widgets this Eagle widget contains.
  __configure_orientation__(self, setting)
  set_active(self, active=True)
Set the widget as active.
  set_inactive(self)
Same as set_active( False )
  show(self)
Make widget visible.
  hide(self)
Make widget invisible.

Inherited from _EGObject: __repr__, __str__

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


Class Variables [hide private]
app  
ORIENTATION_VERTICAL  
ORIENTATION_HORIZONTAL  

Inherited from _EGObject: id

Inherited from object: __class__


Method Details [hide private]

__init__(self, id, app=None, expand_policy=None)
(Constructor)

source code 
Overrides: _EGObject.__init__

__get_widgets__(self)

source code 
Return a list of internal widgets this Eagle widget contains.

Warning: never use it directly in Eagle applications!

__configure_orientation__(self, setting)

source code 

set_active(self, active=True)

source code 

Set the widget as active.

An active widget have their actions enabled, while an inactive (active=False) will be grayed and actions disabled.

set_inactive(self)

source code 
Same as set_active( False )

show(self)

source code 
Make widget visible.

hide(self)

source code 
Make widget invisible.

Class Variable Details [hide private]

app

Value:
_gen_ro_property("app")                                                
      

ORIENTATION_VERTICAL

Value:
0                                                                      
      

ORIENTATION_HORIZONTAL

Value:
1