|
GRASS Programmer's Manual
6.4.2(2012)
|
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 | |
| def icons.icon.MetaIcon.__init__ | ( | self, | |
| img, | |||
| label, | |||
desc = None |
|||
| ) |
| def icons.icon.MetaIcon.__str__ | ( | self | ) |
Debugging.
Definition at line 109 of file icon.py.
References icons.icon.MetaIcon.imagepath, gui_modules.gdialogs.ElementDialog.label, icons.icon.MetaIcon.label, gui_modules.render.Layer.type, icons.icon.MetaIcon.type, gui_modules.gselect.TreeCtrlComboPopup.type, gui_modules.psmap_dialogs.InitMap.type, gui_modules.psmap_dialogs.MapFrame.type, gui_modules.psmap_dialogs.PageSetup.type, gui_modules.psmap_dialogs.Mapinfo.type, gui_modules.psmap_dialogs.Text.type, gui_modules.goutput.GMStderr.type, gui_modules.psmap_dialogs.Scalebar.type, gui_modules.psmap_dialogs.RasterLegend.type, gui_modules.psmap_dialogs.VectorLegend.type, gui_modules.psmap_dialogs.Raster.type, gui_modules.psmap_dialogs.Vector.type, gui_modules.psmap_dialogs.VProperties.type, gui_modules.preferences.DefaultFontDialog.type, gui_modules.psmap_dialogs.VPropertiesDialog.type, and gui_modules.gmodeler.VariablePanel.type.
| def icons.icon.MetaIcon.GetBitmap | ( | self, | |
size = None |
|||
| ) |
Get bitmap.
Definition at line 113 of file icon.py.
References icons.icon.MetaIcon.imagepath, gui_modules.render.Layer.type, icons.icon.MetaIcon.type, gui_modules.gselect.TreeCtrlComboPopup.type, gui_modules.psmap_dialogs.InitMap.type, gui_modules.psmap_dialogs.MapFrame.type, gui_modules.psmap_dialogs.PageSetup.type, gui_modules.psmap_dialogs.Mapinfo.type, gui_modules.psmap_dialogs.Text.type, gui_modules.goutput.GMStderr.type, gui_modules.psmap_dialogs.Scalebar.type, gui_modules.psmap_dialogs.RasterLegend.type, gui_modules.psmap_dialogs.VectorLegend.type, gui_modules.psmap_dialogs.Raster.type, gui_modules.psmap_dialogs.Vector.type, gui_modules.psmap_dialogs.VProperties.type, gui_modules.preferences.DefaultFontDialog.type, gui_modules.psmap_dialogs.VPropertiesDialog.type, and gui_modules.gmodeler.VariablePanel.type.
| def icons.icon.MetaIcon.GetDesc | ( | self | ) |
Definition at line 133 of file icon.py.
References icons.icon.MetaIcon.description, and gui_modules.menuform.mainFrame.description.
| 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.
| 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 |
Definition at line 93 of file icon.py.
Referenced by icons.icon.MetaIcon.__str__(), icons.icon.MetaIcon.GetBitmap(), and icons.icon.MetaIcon.GetImageName().
| icons.icon.MetaIcon.label |
Definition at line 102 of file icon.py.
Referenced by icons.icon.MetaIcon.__str__(), python.task.grassTask.get_description(), and icons.icon.MetaIcon.GetLabel().
| icons.icon.MetaIcon.type |
Definition at line 95 of file icon.py.
Referenced by icons.icon.MetaIcon.__str__(), and icons.icon.MetaIcon.GetBitmap().