Class BarKind

class ooodev.gui.menu.BarKind(value)[source]

Specifies the horizontal alignment of the text in the control.

static from_str(s)[source]

Gets an BarKind instance from string.

Parameters:

s (str) – String that represents the name of an enum Name.

Raises:
  • ValueError – If input string is empty.

  • AttributeError – If unable to get BarKind instance.

Returns:

Enum instance.

Return type:

BarKind

FIND_BAR = 'private:resource/toolbar/findbar'
MENU_BAR = 'private:resource/menubar/menubar'
STANDARD_BAR = 'private:resource/toolbar/standardbar'
STATUS_BAR = 'private:resource/statusbar/statusbar'
TOOL_BAR = 'private:resource/toolbar/toolbar'