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

Panel for displaying one symbol. More...

Inheritance diagram for widgets.SingleSymbolPanel:
Collaboration diagram for widgets.SingleSymbolPanel:

Public Member Functions

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

Data Fields


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 463 of file

Constructor & Destructor Documentation

def widgets.SingleSymbolPanel.__init__ (   self,

Panel constructor.

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

Definition at line 469 of file

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

Member Function Documentation

def widgets.SingleSymbolPanel.Deselect (   self)

Panel deselected, background changes back to default.

Definition at line 509 of file

References widgets.SingleSymbolPanel.deselectColor, widgets.SingleSymbolPanel.selected, gis_set.GListBox.selected, manager.GCPList.selected, and dialogs.SymbolDialog.selected.

def widgets.SingleSymbolPanel.Select (   self)

Field Documentation


Definition at line 481 of file

Referenced by widgets.SingleSymbolPanel.Deselect().


Definition at line 477 of file


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