TutorialDisplayWrapper

class TutorialDisplay.TutorialDisplayWrapper(object: Object)

Bases: Object

class Fonts

Bases: object

Ubuntu: Any = Ellipsis

Ubuntu

PtSerif: Any = Ellipsis

PT Serif

RobotoMono: Any = Ellipsis

Roboto Mono

BadScript: Any = Ellipsis

BadScript

class AlignmentHorizontalType

Bases: object

Left: Any = Ellipsis

On the left edge

Center: Any = Ellipsis

On the midpoint

Right: Any = Ellipsis

On the right edge

Flush: Any = Ellipsis

Fill in

class AlignmentVerticalType

Bases: object

Top: Any = Ellipsis

On the top edge

Middle: Any = Ellipsis

On the midpoint

Bottom: Any = Ellipsis

On the bottom edge

class ProportionType

Bases: object

Save: Any = Ellipsis

Keep

NotSave: Any = Ellipsis

Don’t keep

property TextColor: Color

Text color

Example:

value = instance.TextColor

Warning

An AttributeError exception may occur during use if the getter has not been implemented.

property TextFont: Any

Text font

Returns:

value from the list:

  • TutorialDisplayWrapper.Fonts.Ubuntu

  • TutorialDisplayWrapper.Fonts.PtSerif

  • TutorialDisplayWrapper.Fonts.RobotoMono

  • TutorialDisplayWrapper.Fonts.BadScript

Example:

value = instance.TextFont

Warning

An AttributeError exception may occur during use if the getter has not been implemented.

property FontSizeMax: float

Max font size to

Example:

value = instance.FontSizeMax

Warning

An AttributeError exception may occur during use if the getter has not been implemented.

property FontSizeMin: float

Min font size to

Example:

value = instance.FontSizeMin

Warning

An AttributeError exception may occur during use if the getter has not been implemented.

property HorizontalAlignment: Any

Horizontal alignment to

Returns:

value from the list:

  • TutorialDisplayWrapper.AlignmentHorizontalType.Left

  • TutorialDisplayWrapper.AlignmentHorizontalType.Center

  • TutorialDisplayWrapper.AlignmentHorizontalType.Right

  • TutorialDisplayWrapper.AlignmentHorizontalType.Flush

Example:

value = instance.HorizontalAlignment

Warning

An AttributeError exception may occur during use if the getter has not been implemented.

property VerticalAlignment: Any

Vertical alignment to

Returns:

value from the list:

  • TutorialDisplayWrapper.AlignmentVerticalType.Top

  • TutorialDisplayWrapper.AlignmentVerticalType.Middle

  • TutorialDisplayWrapper.AlignmentVerticalType.Bottom

Example:

value = instance.VerticalAlignment

Warning

An AttributeError exception may occur during use if the getter has not been implemented.

property BoldStyle: bool

Bolt font style

Example:

value = instance.BoldStyle

Warning

An AttributeError exception may occur during use if the getter has not been implemented.

property ItalicStyle: bool

Italic font style to

Example:

value = instance.ItalicStyle

Warning

An AttributeError exception may occur during use if the getter has not been implemented.

property UnderlinedStyle: bool

Underlined font style to

Example:

value = instance.UnderlinedStyle

Warning

An AttributeError exception may occur during use if the getter has not been implemented.

property StrikethroughStyle: bool

Strikethrough font style to

Example:

value = instance.StrikethroughStyle

Warning

An AttributeError exception may occur during use if the getter has not been implemented.

property Proportion: Any

[value] the text proportions when changing the panel proportions

Returns:

value from the list:

  • TutorialDisplayWrapper.ProportionType.Save

  • TutorialDisplayWrapper.ProportionType.NotSave

Example:

value = instance.Proportion

Warning

An AttributeError exception may occur during use if the getter has not been implemented.

property PaddingLeft: float

Left padding to

Example:

value = instance.PaddingLeft

Warning

An AttributeError exception may occur during use if the getter has not been implemented.

property PaddingRight: float

Right padding to

Example:

value = instance.PaddingRight

Warning

An AttributeError exception may occur during use if the getter has not been implemented.

property PaddingTop: float

Top padding to

Example:

value = instance.PaddingTop

Warning

An AttributeError exception may occur during use if the getter has not been implemented.

property PaddingBottom: float

Bottom padding to

Example:

value = instance.PaddingBottom

Warning

An AttributeError exception may occur during use if the getter has not been implemented.

SetText(text: Any) None

Set text

Example:

instance.SetText(0)