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 byfontlab_glyport.ui.vanilla._Control.enablegetNSView— defined byfontlab_glyport.ui.vanilla._Control.getNSViewgetPosSize— defined byfontlab_glyport.ui.vanilla._Control.getPosSizesetPosSize— defined byfontlab_glyport.ui.vanilla._Control.setPosSizesetToolTip— defined byfontlab_glyport.ui.vanilla._Control.setToolTipshow— defined byfontlab_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 |