maptek.vulcan_gui.gpan

Provides an interface to the Vulcan GUI functionality using gpan.

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

code example coming soon

get_values(self)→ MVariant

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

code example coming soon
set_values(self, values)

Preloads panel key values with input dictionary values.

Parameters

  • values (MVariant &)

code example coming soon

load_spec(self, specName)

Loads a specification file into the panel.

Place just before the display() method call.

Parameters

  • specName (std::string const &)

code example coming soon

save_spec(self, specName)

Saves the panel data to a specification file.

Need to include extension.

Parameters

  • specName (std::string const &)

code example coming soon

property values: MVariant

Get/Set for panel values (dict)

code example coming soon