GRASS Programmer's Manual  6.4.2(2012)
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
icons.icon.MetaIcon Class Reference

Handle icon metadata (image path, tooltip, ...) More...

Public Member Functions

def __init__
def __str__
 Debugging.
def GetBitmap
 Get bitmap.
def GetLabel
def GetDesc
def GetImageName

Data Fields

 imagepath
 type
 label
 description

Detailed Description

Handle icon metadata (image path, tooltip, ...)

Definition at line 89 of file icon.py.


Constructor & Destructor Documentation

def icons.icon.MetaIcon.__init__ (   self,
  img,
  label,
  desc = None 
)

Definition at line 92 of file icon.py.


Member Function Documentation

def icons.icon.MetaIcon.GetDesc (   self)
def icons.icon.MetaIcon.GetImageName (   self)

Definition at line 136 of file icon.py.

References icons.icon.MetaIcon.imagepath.

def icons.icon.MetaIcon.GetLabel (   self)

Definition at line 130 of file icon.py.

References gui_modules.gdialogs.ElementDialog.label, and icons.icon.MetaIcon.label.


Field Documentation

icons.icon.MetaIcon.description

Definition at line 105 of file icon.py.

Referenced by python.task.grassTask.get_description(), and icons.icon.MetaIcon.GetDesc().

icons.icon.MetaIcon.imagepath
icons.icon.MetaIcon.label
icons.icon.MetaIcon.type

Definition at line 95 of file icon.py.

Referenced by icons.icon.MetaIcon.__str__(), and icons.icon.MetaIcon.GetBitmap().


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