|

Widget

Base : Objekt

Subclases directas : | AnimatorWidget | ButtonWidget | CloneWidget | EditWidget | ImageWidget | LabelWidget | NumberWidget | PadWidget | ProgressBarWidget | RadioButtonsWidget | RichTextWidget | ScrollBarWidget | ScrollViewWidget | StackWidget | TextWidget | WidgetArrayWidget | WidgetGroupWidget | WorldWidget |

Posibles hijos : | AnimatorWidget | AxisPadWidget | ButtonPadWidget | ButtonWidget | CloneWidget | EditWidget | ImageWidget | LabelWidget | NumberWidget | PopUpButtonWidget | ProgressBarWidget | PushButtonWidget | RadioButtonsWidget | RichTextWidget | ScrollBarWidget | ScrollViewWidget | ServerButtonWidget | StackWidget | TextWidget | Widget | WidgetArrayWidget | WidgetGroupWidget | WorldWidget |

DescripciĆ³n

Atributos heredados

De Objekt:
_comment_, parent, rand, randomize, children, child, front, back, childIndex, childByName,

Atributos

vec2 pos

Expression
.


vec2 size

Expression
.


bool square_hint

Bool


vec2 current_pos

Vector
.
.


vec2 current_size

Vector
.
.


int border

NumberPad


int spacing

NumberPad


int expand

Enum


int horiz_align

Enum


int vert_align

Enum


Anchor anchor

Reference


int flow

Enum


int grid_columns

NumberPad


int gravity

Enum


bool clip

Bool


void on_enter

Expression
.


void on_leave

Expression
.


bool visibility

Expression
.


bool no_focus

Bool


bool ini_focus

Bool


bool capture_touch

Bool


Machine machine

Reference


void activate

Expression
.


Objekt display_objekt

Expression
.


Objekt displayed

Reference
.
.
.


int local_code

Expression
.


int inherited_code

Number
.
.


Data local_data

Reference


Data inherited_data

Reference
.
.


bool clickable

Bool


void on_click

Expression
.


FrameStyle style

Expression
.


uint style_steps

Number


void set_position (this: Widget, position: vec2)

Method


void set_size (this: Widget, size: vec2)

Method


void set_style (this: Widget, style: FrameStyle)

Method


void update (this: Widget)

Method


void release_focus (this: Widget)

Method


void hide_popup (this: Widget)

Method



(C) Paco SuƔrez (pacosu@xitai,es). 2020.
XITAI