GRASS Programmer's Manual
6.5.svn(2014)-r66266
|
Class representing text instruction. More...
Public Member Functions | |
def | __init__ |
def | __str__ |
def | Read |
Read instruction and save information. More... | |
Public Member Functions inherited from instructions.InstructionObject | |
def | __init__ |
def | __str__ |
Returns particular part of text instruction. More... | |
def | __getitem__ |
def | __setitem__ |
def | GetInstruction |
Get current values. More... | |
def | SetInstruction |
Set default values. More... | |
def | Read |
Read instruction and save them. More... | |
def | PercentToReal |
Converts text coordinates from percent of region to map coordinates. More... | |
Data Fields | |
type | |
defaultInstruction | |
instruction | |
Data Fields inherited from instructions.InstructionObject | |
id | |
defaultInstruction | |
instruction | |
unitConv | |
Class representing text instruction.
Definition at line 769 of file instructions.py.
def instructions.Text.__init__ | ( | self, | |
id | |||
) |
Definition at line 771 of file instructions.py.
def instructions.Text.__str__ | ( | self | ) |
Definition at line 782 of file instructions.py.
References instructions.Instruction.instruction, frame.PsMapFrame.instruction, dialogs.PsmapDialog.instruction, instructions.InstructionObject.instruction, dialogs.MapFramePanel.instruction, frame.PsMapBufferedWindow.instruction, dialogs.RasterPanel.instruction, dialogs.VectorPanel.instruction, dialogs.LegendDialog.instruction, and utils.split().
def instructions.Text.Read | ( | self, | |
instruction, | |||
text, | |||
kwargs | |||
) |
Read instruction and save information.
Definition at line 823 of file instructions.py.
References python.core.decode(), utils.PaperMapCoordinates(), and instructions.InstructionObject.PercentToReal().
instructions.Text.defaultInstruction |
Definition at line 775 of file instructions.py.
instructions.Text.instruction |
Definition at line 780 of file instructions.py.
instructions.Text.type |
Definition at line 773 of file instructions.py.
Referenced by widgets.BaseValidator.Validate().