Photon microGUI widgets library 0.6.0
PhWidgets::AnchorStyles Struct Reference

Specifies how a widget anchors to the edges of its container. More...

#include <Widget.h>

Inheritance diagram for PhWidgets::AnchorStyles:
PhWidgets::Widget::Flags::Anchor

Public Types

enum  type {
  LeftAnchoredRight , RightAnchoredRight , TopAnchoredBottom , BottomAnchoredBottom ,
  LeftAnchoredLeft , RightAnchoredLeft , TopAnchoredTop , BottomAnchoredTop ,
  BalloonsOn , Bottom , Left , None ,
  Right , Top , All
}
 Anchor flags for Widget resource Widget::Arguments::anchor_flags. More...
 

Detailed Description

Specifies how a widget anchors to the edges of its container.

Apply to Widget::Anchor property Is the alias for Widget::Flags::Anchor

See also

Member Enumeration Documentation

◆ type

Anchor flags for Widget resource Widget::Arguments::anchor_flags.

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

Aliases

PhWidgets::Widget::Flags::Anchor::type, PhWidgets::Widget::ThisFlags::Anchor::type

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.

None 

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.


The documentation for this struct was generated from the following file: