GRASS Programmer's Manual  6.5.svn(2012)-r51648
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines
widgets.SingleSymbolPanel Class Reference

Panel for displaying one symbol. More...

Public Member Functions

def __init__
 Panel constructor.
def OnLeftDown
 Panel selected, background changes.
def OnDoubleClick
def Deselect
 Panel deselected, background changes back to default.
def Select
 Select panel, no event emitted.

Data Fields

 sBmp
 selected
 selectColor
 deselectColor

Detailed Description

Panel for displaying one symbol.

Changes background when selected. Assumes that parent will catch events emitted on mouse click. Used in gui_core::dialog::SymbolDialog.

Definition at line 418 of file widgets.py.


Constructor & Destructor Documentation

def widgets.SingleSymbolPanel.__init__ (   self,
  parent,
  symbolPath 
)

Panel constructor.

Parameters:
parentparent (gui_core::dialog::SymbolDialog)
symbolPathabsolute path to symbol

Definition at line 424 of file widgets.py.

References render.Layer.SetName(), and model.ModelRelation.SetName().


Member Function Documentation


Field Documentation

Definition at line 432 of file widgets.py.


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