microGUI.Widgets

Submodules

Classes

AnchorStyles

Anchor flags for Widget resource microGUI.Widget.Arguments.anchor_flags().

BalloonPosition

Indicates where the balloon with the Label's text pops up.

FlagsType

Support for flags

Package Contents

class microGUI.Widgets.AnchorStyles(*args, **kwds)

Bases: enum.Flag

Anchor flags for Widget resource microGUI.Widget.Arguments.anchor_flags().

Anchor flags specify how the widget is anchored to its parent.

Enumerator

LeftAnchoredRight

Anchors the widget’s left extent to the right edge of its parent’s canvas.

RightAnchoredRight

Anchors the widget’s right extent to the right edge of its parent’s canvas.

TopAnchoredBottom

Anchors the widget’s top extent to the bottom edge of its parent’s canvas.

BottomAnchoredBottom

Anchors the widget’s bottom extent to the bottom edge of its parent’s canvas.

LeftAnchoredLeft

Anchors the widget’s left extent to the left edge of its parent’s canvas.

RightAnchoredLeft

Anchors the widget’s right extent to the left edge of its parent’s canvas.

TopAnchoredTop

Anchors the widget’s top extent to the top edge of its parent’s canvas.

BottomAnchoredTop

Anchors the widget’s bottom extent to the top edge of its parent’s canvas.

BalloonsOn

If a child widget has been assigned a balloon, pop up the balloon as soon as the pointer passes over the child widget; otherwise delay the pop-up for 1.25 seconds.

Bottom

The widget is anchored to the bottom edge of its container.

Left

The widget is anchored to the left edge of its container.

NoWhere

The widget is not anchored to any edges of its container.

Right

The widget is anchored to the right edge of its container.

Top

The widget is anchored to the top edge of its container.

LeftAnchoredRight
RightAnchoredRight
TopAnchoredBottom
BottomAnchoredBottom
LeftAnchoredLeft
RightAnchoredLeft
TopAnchoredTop
BottomAnchoredTop
BalloonsOn
Bottom
Left
NoneAnchoredNone
Right
Top
All
class microGUI.Widgets.BalloonPosition(*args, **kwds)

Bases: enum.Flag

Indicates where the balloon with the Label’s text pops up.

Apply to microGUI.Widgets.Label.Label.BalloonPosition property.

See also

  • microGUI.Widgets.Label.Label.BalloonPosition

  • microGUI.Widgets.Label.Label.Arguments.balloon_position

Enumerator

Inplace

keep Label balloon inplace.

Top

place Label balloon to top.

Left

place Label balloon to left.

Right

place Label balloon to right.

Bottom

place Label balloon to bottom.

Inplace
Top
Left
Right
Bottom
class microGUI.Widgets.FlagsType(*args, **kwds)

Bases: enum.Flag

Support for flags