GuideBarComboButton (hwx.gui)#

class GuideBarComboButton(parent, **kwds)#

Bases: GuideBarButton

Clickable ComboButton that can be added to a GuideBar.

Attribute Table#

Name

Type

command

property

Method Table#

Name

Description

get (self)

Returns the value at current index.

set (self, value)

Sets the current index on the value specified.

setValues (self, values, value=None)

Set multiple values or single value for the ComboButton.

property command#

Method called when the value changes.

get()#

Returns the value at current index.

set(value)#

Sets the current index on the value specified.

Parameters:

value (str) – Value which should be selected in GuidebarComboButton.

setValues(values, value=None)#

Set multiple values or single value for the ComboButton.

Parameters:
  • values (list | dict | tuple) – The collection of values to be set.

  • value (str) – value to be set.