maptek.vulcan_gui.gpan

Provides an interface to the Vulcan Graphical User Interface functionality.


Note

To use any of the method calls from this class, be sure to import the library at the top of your Python script, like this:

from maptek import vulcan_gui

maptek.vulcan_gui.gpan(*args)

Bases: object

Display Vulcan gpan panels

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 *)

get_values(self)→ MVariant

Gets the values from the panel (after it has run).

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.

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)