maptek.vulcan_gui.gpan
Provides an interface to the Vulcan GUI functionality using gpan.
- display(self, cgpFile, panelName, values=None, on_change=None, user_button=None)→ std::string
-
Displays the specified panel file/name. Stores to optional input dictionary. Callbacks should be a function name to call, taking a dictionary as input and returning a dictionary to the panel.
-
Parameters
-
-
cgpFile (std::string const &)
-
panelName (std::string const &)
-
values (MVariant *)
-
on_change (swig_callback *)
-
user_button (swig_callback *)
-
- set_values(self, values)
-
Preloads panel key values with input dictionary values.
-
Parameters - values (MVariant &)
- load_spec(self, specName)
-
Loads a specification file into the panel.
-
Note: Place just before the display() method call.
-
Parameters - specName (std::string const &)
- save_spec(self, specName)
-
Saves the panel data to a specification file.
-
Need to include extension.
-
Parameters - specName (std::string const &)
- property values: MVariant
-
Get/Set for panel values (dict)