Laying panels out on pages: the values#
The enumerations and values of this group, each the word an author writes.
Corner#
Import |
|
Defined in |
|
Install |
|
Since |
0.10 |
Stability |
Public: follows semantic versioning. Below 1.0, a minor release may change it, and the CHANGELOG says how. |
- class scenet.ir.Corner[source]#
Bases:
StrEnumWhich corner of its parent an inset sits in.
Example
>>> from scenet import Corner, Inset >>> Inset(use="detail", at="top_right", size=0.3).at is Corner.TOP_RIGHT True
See also
Inset, whoseattakes one.- TOP_LEFT = 'top_left'#
- TOP_RIGHT = 'top_right'#
- BOTTOM_LEFT = 'bottom_left'#
- BOTTOM_RIGHT = 'bottom_right'#
InsetOrder#
Import |
|
Defined in |
|
Install |
|
Since |
0.10 |
Stability |
Public: follows semantic versioning. Below 1.0, a minor release may change it, and the CHANGELOG says how. |
- class scenet.ir.InsetOrder[source]#
Bases:
StrEnumWhether an inset is read before the panel it sits in, or after it.
Example
>>> from scenet import Inset, InsetOrder >>> Inset(use="detail", at="top_right", size=0.3).read is InsetOrder.AFTER True
See also
Inset, whosereadtakes one.- BEFORE = 'before'#
- AFTER = 'after'#