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

Class _EGWidget
source code

object --+    
         |    
 _EGObject --+
             |
            _EGWidget
Known Subclasses:
Button, AboutDialog, Canvas, _EGDataWidget, FileChooser, Group, HSeparator, HelpDialog, PreferencesDialog, RichText, Table, 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)
  __get_resize_mode__(self)
Return a tuple with ( horizontal, vertical ) resize mode
  __get_widgets__(self)
Return a list of internal widgets this Eagle widget contains.
  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]

Inherited from object: __class__


Properties [hide private]
app  

Inherited from _EGObject: id


Method Details [hide private]

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

source code 
Overrides: _EGObject.__init__

__get_resize_mode__(self)

source code 
Return a tuple with ( horizontal, vertical ) resize mode

__get_widgets__(self)

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

Warning: never use it directly in Eagle applications!

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.

Property Details [hide private]

app

Get Method:
unreachable.get(self)
Set Method:
unreachable.set(self, value)
Delete Method:
None