GRASS Programmer's Manual  6.5.svn(2014)-r66266
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
widgets.SymbolButton Class Reference

Button with symbol and label. More...

Inheritance diagram for widgets.SymbolButton:
Collaboration diagram for widgets.SymbolButton:

Public Member Functions

def __init__
 Constructor. More...
 
def DrawRecord
 Draw record symbol. More...
 
def DrawStop
 Draw stop symbol. More...
 
def DrawPlay
 Draw play symbol. More...
 
def DrawPause
 Draw pause symbol. More...
 

Detailed Description

Button with symbol and label.

Definition at line 170 of file widgets.py.

Constructor & Destructor Documentation

def widgets.SymbolButton.__init__ (   self,
  parent,
  usage,
  label,
  kwargs 
)

Constructor.

Parameters
parentparent (usually wx.Panel)
usagedetermines usage and picture
labeldisplayed label

Definition at line 172 of file widgets.py.

References widgets.SymbolButton.DrawPause(), widgets.SymbolButton.DrawPlay(), widgets.SymbolButton.DrawRecord(), and widgets.SymbolButton.DrawStop().

Member Function Documentation

def widgets.SymbolButton.DrawPause (   self,
  dc,
  size 
)

Draw pause symbol.

Definition at line 219 of file widgets.py.

Referenced by widgets.SymbolButton.__init__().

def widgets.SymbolButton.DrawPlay (   self,
  dc,
  size 
)

Draw play symbol.

Definition at line 213 of file widgets.py.

Referenced by widgets.SymbolButton.__init__().

def widgets.SymbolButton.DrawRecord (   self,
  dc,
  size 
)

Draw record symbol.

Definition at line 203 of file widgets.py.

Referenced by widgets.SymbolButton.__init__().

def widgets.SymbolButton.DrawStop (   self,
  dc,
  size 
)

Draw stop symbol.

Definition at line 208 of file widgets.py.

Referenced by widgets.SymbolButton.__init__().


The documentation for this class was generated from the following file: