Skip to content

fontlab_glyport.ui.vanilla_controls.SegmentedButton

SegmentedButton

Segments as push buttons side by side in one widget (equal widths). selectionStyle "one" (default): get() is the selected index (-1 none); "any": a list of selected indexes; "momentary": the last clicked.

Source bases

Inherited member index

Source-proven inherited members; local declarations override these entries.

  • enable — defined by fontlab_glyport.ui.vanilla._Control.enable
  • getNSView — defined by fontlab_glyport.ui.vanilla._Control.getNSView
  • getPosSize — defined by fontlab_glyport.ui.vanilla._Control.getPosSize
  • setPosSize — defined by fontlab_glyport.ui.vanilla._Control.setPosSize
  • setToolTip — defined by fontlab_glyport.ui.vanilla._Control.setToolTip
  • show — defined by fontlab_glyport.ui.vanilla._Control.show

Complete member index

Every captured member retains its own identity. Identical captured declaration text is linked once; this does not establish native inheritance or interchangeable objects.

Member Kind Signature Summary
__init__ function (self, posSize, segmentDescriptions, callback=None, selectionStyle='one', **options)
get function (self)
getNSSegmentedButton function (self) -> Any
set function (self, value) -> None