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

Type Group

object --+        
         |        
 _EGObject --+    
             |    
     _EGWidget --+
                 |
                Group


Group of various components.

Group is a component that holds other components, always in a vertical layout.

Group has a frame and may show a label.
Method Summary
  __init__(self, id, label, children, horizontal, border, expand_policy, scrollbars, active, visible)
Group constructor.
  __add_widgets_to_app__(self)
  __setup_gui__(self)
  get_border(self)
  get_label(self)
  set_border(self, border)
  set_label(self, label)
    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
  app
  border
  children
  horizontal
  label

Class Variable Summary
ShadowType BORDER_ETCHED_IN = <enum GTK_SHADOW_ETCHED_IN of type Gt...
ShadowType BORDER_ETCHED_OUT = <enum GTK_SHADOW_ETCHED_OUT of type ...
ShadowType BORDER_IN = <enum GTK_SHADOW_IN of type GtkShadowType>
ShadowType BORDER_NONE = <enum GTK_SHADOW_NONE of type GtkShadowTyp...
ShadowType BORDER_OUT = <enum GTK_SHADOW_OUT of type GtkShadowType>

Method Details

__init__(self, id, label='', children=None, horizontal=False, border=<enum GTK_SHADOW_ETCHED_IN of type GtkShadowType>, expand_policy=None, scrollbars=False, active=True, visible=True)
(Constructor)

Group constructor.
Parameters:
id - unique identified.
label - displayed at top-left.
children - a list of eagle widgets that this group contains.
horizontal - if widgets should be laid out horizontally.
border - can be one of Group.BORDER_* values or None to disable border and label completely. Note that some themes may have different appearance for borders and some may not respect BORDER_NONE, so if you really want no border, use None to disable it. Note that Groups without borders cannot have one added later.
expand_policy - how this widget should fit space, see ExpandPolicy.Policy.Rule.
Overrides:
eagle._EGWidget.__init__

Property Details

border

Get Method:
get_border(self)
Set Method:
set_border(self, border)

label

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

Class Variable Details

BORDER_ETCHED_IN

Type:
ShadowType
Value:
<enum GTK_SHADOW_ETCHED_IN of type GtkShadowType>                      

BORDER_ETCHED_OUT

Type:
ShadowType
Value:
<enum GTK_SHADOW_ETCHED_OUT of type GtkShadowType>                     

BORDER_IN

Type:
ShadowType
Value:
<enum GTK_SHADOW_IN of type GtkShadowType>                             

BORDER_NONE

Type:
ShadowType
Value:
<enum GTK_SHADOW_NONE of type GtkShadowType>                           

BORDER_OUT

Type:
ShadowType
Value:
<enum GTK_SHADOW_OUT of type GtkShadowType>                            

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