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

Type _EGWidget

object --+    
         |    
 _EGObject --+
             |
            _EGWidget

Known Subclasses:
AboutDialog, Button, Canvas, FileChooser, Group, HelpDialog, HSeparator, RichText, Table, Tabs, VSeparator, _EGDataWidget, Page, PreferencesDialog

The base of every Graphical Component in Eagle.

Warning: never use it directly in Eagle applications!

Method Summary
  __init__(self, id, app, expand_policy, active, visible)
  __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.
  focus(self)
Give keyboard focus to this widget.
  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_active(self, active)
Set the widget as active.
  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 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
  _widgets
  active
  app
  visible
    Inherited from _EGObject
  id

Class Variable Summary
int ORIENTATION_HORIZONTAL = 1                                                                     
int ORIENTATION_VERTICAL = 0                                                                     

Method Details

__get_widgets__(self)

Return a list of internal widgets this Eagle widget contains.

Warning: never use it directly in Eagle applications!

disable(self)

Same as set_active( False )

enable(self, active=True)

Set the widget as active.

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

focus(self)

Give keyboard focus to this widget.

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_active(self, active=True)

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)

Same as set_active( False )

set_visible(self, visible=True)

Show or hide widget based on value of 'visible'.

show(self)

Make widget visible.

Property Details

_widgets

Get Method:
_get_widgets(self)
Set Method:
_set_widgets(self, value)

active

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

app

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

visible

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

Class Variable Details

ORIENTATION_HORIZONTAL

Type:
int
Value:
1                                                                     

ORIENTATION_VERTICAL

Type:
int
Value:
0                                                                     

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