Webapp

Dynamic

Dynamic API available from the Webapp library.

40 config keys · 36 public methods

Import

from Xenonix.Webapp import Dynamic

Search this API

Filter methods, arguments, and configuration keys on this page.

Configuration

Use Config(...) with these keys where the class exposes configuration.

Config key Default Common values What it controls
Name False Any valid value Object name used for lookup, labels, or public access.
Background False Any valid value Background color.
Border_Color 'transparent' Any valid value Border color.
Border_Size 0 Any valid value Border thickness.
Border_Radius 0 Any valid value Corner radius.
Display True True, False Initial visible/hidden state.
Left None Any valid value Left position when placed absolutely.
Top None Any valid value Top position when placed absolutely.
Right None Any valid value Right position when placed absolutely.
Bottom None Any valid value Bottom position when placed absolutely.
Width None Any valid value Widget or image width.
Height None Any valid value Widget or image height.
Animate_Left 0 Any valid value Animate Left setting for Dynamic.
Animate_Top 0 Any valid value Animate Top setting for Dynamic.
Animate_Width 0 Any valid value Animate Width setting for Dynamic.
Animate_Height 0 Any valid value Animate Height setting for Dynamic.
Animate_Time 1.0 Any valid value Animate Time setting for Dynamic.
Animate_Ease 'cubic-bezier(0.22, 1, 0.36, 1)' Any valid value Animate Ease setting for Dynamic.
Path False Any valid value Path setting for Dynamic.
Path_Initial False Any valid value Path Initial setting for Dynamic.
Rotate 0 Any valid value Rotate setting for Dynamic.
Aspect_Ratio True Any valid value Aspect Ratio setting for Dynamic.
Hover_Background False Any valid value Hover Background setting for Dynamic.
Hover_Border_Color False Any valid value Hover Border Color setting for Dynamic.
Padding 0 Any valid value Inner spacing.
Margin 0 Any valid value Extra region margin.
Mode 'Flow' Flow, Place, Auto, Manual Layout or algorithm mode.
Classes '' Any valid value Extra CSS classes.
Style '' Any valid value Extra CSS style.
Z_Index None Any valid value CSS stacking order.
Shadow_X 0 Any valid value Horizontal shadow offset.
Shadow_Y 0 Any valid value Vertical shadow offset.
Shadow_Blur 0 Any valid value Shadow blur amount.
Shadow_Spread 0 Any valid value Shadow spread amount.
Shadow_Color 'transparent' Any valid value Shadow color.
Pan_Zoom True Any valid value Pan Zoom setting for Dynamic.
Pan_Enabled True Any valid value Pan Enabled setting for Dynamic.
Zoom_Min 1.0 Any valid value Zoom Min setting for Dynamic.
Zoom_Max 8.0 Any valid value Zoom Max setting for Dynamic.
Zoom_Step 1.15 Any valid value Zoom Step setting for Dynamic.

Public methods

Create

Creates a new Dynamic instance.

Create(Main, *args, **kwargs)

Arguments

Argument Default Accepted values What it does
Main Required Any valid value Main value used by the operation.
args *args Any valid value Additional values passed to the operation.
kwargs **kwargs Any valid value Additional values passed to the operation.

Output

Creates a new Dynamic object.

Create

Runs the Create operation for Dynamic.

Create()

Arguments

No arguments.

Output

Returns the object, so the call can be chained.

Copy

Creates a copy of the object, optionally with supplied data.

Copy(Name=False, Main=False)

Arguments

Argument Default Accepted values What it does
Name False Any valid value Display/name identifier.
Main False Any valid value Turns main on or off.

Output

Returns a copy of the object.

Delete

Removes the requested item.

Delete()

Arguments

No arguments.

Output

Runs the operation. Some methods update the object in place.

Show

Displays the object/result.

Show()

Arguments

No arguments.

Output

Updates the object or visible UI state.

Show

Displays the object/result.

Show()

Arguments

No arguments.

Output

Updates the object or visible UI state.

Hide

Hides the object/result.

Hide()

Arguments

No arguments.

Output

Updates the object or visible UI state.

Animate

Runs the Animate operation for Dynamic.

Animate(Widget=None, Hide=False, Thread=True)

Arguments

Argument Default Accepted values What it does
Widget None Any valid value Widget value used by the operation.
Hide False Any valid value Turns hide on or off.
Thread True Any valid value Turns thread on or off.

Output

Returns True/False to indicate success.

Animate_Cancel

Runs the Animate_Cancel operation for Dynamic.

Animate_Cancel()

Arguments

No arguments.

Output

Returns True/False to indicate success.

Focus

Moves focus to this widget/object where supported.

Focus()

Arguments

No arguments.

Output

Updates the object or visible UI state.

Widget

Runs the Widget operation for Dynamic.

Widget()

Arguments

No arguments.

Output

Returns the calculated result.

Refresh

Runs the Refresh operation for Dynamic.

Refresh()

Arguments

No arguments.

Output

Updates the object or visible UI state.

Set

Runs the Set operation for Dynamic.

Set(Path)

Arguments

Argument Default Accepted values What it does
Path Required Any valid value File path used for reading or writing.

Output

Runs the operation. Some methods update the object in place.

Initial

Runs the Initial operation for Dynamic.

Initial()

Arguments

No arguments.

Output

Runs the operation. Some methods update the object in place.

Pan

Runs the Pan operation for Dynamic.

Pan(X=0, Y=0)

Arguments

Argument Default Accepted values What it does
X 0 Any valid value X coordinate or horizontal value.
Y 0 Any valid value Y coordinate or vertical value.

Output

Runs the operation. Some methods update the object in place.

Reset

Runs the Reset operation for Dynamic.

Reset()

Arguments

No arguments.

Output

Returns success/status or the operation result.

Rotate

Rotates the object/data by the requested angle.

Rotate(Value=0)

Arguments

Argument Default Accepted values What it does
Value 0 Any valid value Value to set or process.

Output

Runs the operation. Some methods update the object in place.

Zoom_In

Runs the Zoom_In operation for Dynamic.

Zoom_In(Factor=None)

Arguments

Argument Default Accepted values What it does
Factor None Any valid value Factor value used by the operation.

Output

Returns the calculated result.

Zoom_Out

Runs the Zoom_Out operation for Dynamic.

Zoom_Out(Factor=None)

Arguments

Argument Default Accepted values What it does
Factor None Any valid value Factor value used by the operation.

Output

Returns the calculated result.

Zoom_Set

Runs the Zoom_Set operation for Dynamic.

Zoom_Set(Value=1.0)

Arguments

Argument Default Accepted values What it does
Value 1.0 Any valid value Value to set or process.

Output

Returns the object, so the call can be chained.

Bind

Runs the Bind operation for Dynamic.

Bind(**Input)

Arguments

Argument Default Accepted values What it does
Input **kwargs Any valid value Input value used by the operation.

Output

Runs the operation. Some methods update the object in place.

Config_Get

Reads one or more configuration values by name.

Config_Get(*Input)

Arguments

Argument Default Accepted values What it does
Input *args Any valid value Input value used by the operation.

Output

Returns selected configuration values.

Config

Changes one or more supported settings. Pass only the configuration keys you want to update.

Config(**Input)

Arguments

Argument Default Accepted values What it does
Input **kwargs Any valid value Input value used by the operation.

Output

Updates configuration values on the object.

Move

Moves the object/data by the requested amount.

Move(Left=None, Top=None)

Arguments

Argument Default Accepted values What it does
Left None Any valid value Left value used by the operation.
Top None Any valid value Top value used by the operation.

Output

Returns True/False to indicate success.

Center

Runs the Center operation for Dynamic.

Center(Left=None, Top=None)

Arguments

Argument Default Accepted values What it does
Left None Any valid value Left value used by the operation.
Top None Any valid value Top value used by the operation.

Output

Returns structured data such as a list or dictionary.

Position

Runs the Position operation for Dynamic.

Position(Left=None, Top=None, Right=None, Bottom=None)

Arguments

Argument Default Accepted values What it does
Left None Any valid value Left value used by the operation.
Top None Any valid value Top value used by the operation.
Right None Any valid value Right value used by the operation.
Bottom None Any valid value Bottom value used by the operation.

Output

Returns structured data such as a list or dictionary.

Size

Runs the Size operation for Dynamic.

Size(Width=False, Height=False)

Arguments

Argument Default Accepted values What it does
Width False Any valid value Width in pixels, world units, or widget units depending on the class.
Height False Any valid value Height in pixels, world units, or widget units depending on the class.

Output

Returns structured data such as a list or dictionary.

Enlarge

Runs the Enlarge operation for Dynamic.

Enlarge(Value=None)

Arguments

Argument Default Accepted values What it does
Value None Any valid value Value to set or process.

Output

Returns True/False to indicate success.

Shrink

Runs the Shrink operation for Dynamic.

Shrink(Value=None)

Arguments

Argument Default Accepted values What it does
Value None Any valid value Value to set or process.

Output

Returns True/False to indicate success.

Box

Runs the Box operation for Dynamic.

Box()

Arguments

No arguments.

Output

Returns structured data such as a list or dictionary.

Ratio

Runs the Ratio operation for Dynamic.

Ratio()

Arguments

No arguments.

Output

Returns structured data such as a list or dictionary.

Colors

Runs the Colors operation for Dynamic.

Colors(Background=None, Border_Color=None)

Arguments

Argument Default Accepted values What it does
Background None Any valid value Background value used by the operation.
Border_Color None Any valid value Border Color value used by the operation.

Output

Returns structured data such as a list or dictionary.

Radius

Runs the Radius operation for Dynamic.

Radius(Value=None)

Arguments

Argument Default Accepted values What it does
Value None Any valid value Value to set or process.

Output

Returns the calculated result.

Shadow

Runs the Shadow operation for Dynamic.

Shadow(X=None, Y=None, Blur=None, Spread=None, Color=None)

Arguments

Argument Default Accepted values What it does
X None Any valid value X coordinate or horizontal value.
Y None Any valid value Y coordinate or vertical value.
Blur None Any valid value Blur value used by the operation.
Spread None Any valid value Spread value used by the operation.
Color None Any valid value Color used for drawing or display.

Output

Returns structured data such as a list or dictionary.

Place

Runs the Place operation for Dynamic.

Place(Left=None, Top=None, Right=None, Bottom=None, Width=None, Height=None)

Arguments

Argument Default Accepted values What it does
Left None Any valid value Left value used by the operation.
Top None Any valid value Top value used by the operation.
Right None Any valid value Right value used by the operation.
Bottom None Any valid value Bottom value used by the operation.
Width None Any valid value Width in pixels, world units, or widget units depending on the class.
Height None Any valid value Height in pixels, world units, or widget units depending on the class.

Output

Returns the object, so the call can be chained.

Pack

Runs the Pack operation for Dynamic.

Pack(Classes=None, Style=None, Margin=None, Padding=None)

Arguments

Argument Default Accepted values What it does
Classes None Any valid value Classes value used by the operation.
Style None Any valid value Style value used by the operation.
Margin None Any valid value Margin value used by the operation.
Padding None Any valid value Padding value used by the operation.

Output

Returns the object, so the call can be chained.