Toolbar#

class caris.ui.Toolbar#

A toolbar.

add((Toolbar)self, (object)command_id, (str)icon_file, (object)insert_separator) None :#

Add a command to the current toolbar.

Parameters:
  • command_id (int) – The command identifier.

  • icon_file (str) – The full path to the toolbar icon.

  • insert_separator (bool) – Indicates if a separator should be added before appending the command.