Create
Creates a new Label 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 Label object.
Create
Runs the Create operation for Label.
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.
Hide
Hides the object/result.
Hide()
Arguments
No arguments.
Output
Updates the object or visible UI state.
Animate
Runs the Animate operation for Label.
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 Label.
Animate_Cancel()
Arguments
No arguments.
Output
Returns True/False to indicate success.
Widget
Runs the Widget operation for Label.
Widget()
Arguments
No arguments.
Output
Returns the calculated result.
Get
Runs the Get operation for Label.
Get()
Arguments
No arguments.
Output
Returns the calculated result.
Set
Runs the Set operation for Label.
Set(Value='')
Arguments
| Argument |
Default |
Accepted values |
What it does |
Value |
'' |
Any valid value |
Value to set or process. |
Output
Runs the operation. Some methods update the object in place.
Align
Runs the Align operation for Label.
Align(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.
Update_Color
Runs the Update_Color operation for Label.
Update_Color()
Arguments
No arguments.
Output
Returns True/False to indicate success.
Bind
Runs the Bind operation for Label.
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 Label.
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 Label.
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 Label.
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 Label.
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 Label.
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 Label.
Box()
Arguments
No arguments.
Output
Returns structured data such as a list or dictionary.
Ratio
Runs the Ratio operation for Label.
Ratio()
Arguments
No arguments.
Output
Returns structured data such as a list or dictionary.
Colors
Runs the Colors operation for Label.
Colors(Background=None, Foreground=None, Border_Color=None)
Arguments
| Argument |
Default |
Accepted values |
What it does |
Background |
None |
Any valid value |
Background value used by the operation. |
Foreground |
None |
Any valid value |
Foreground 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.
Font
Runs the Font operation for Label.
Font(Size=None, Weight=None, Family=None, Align=None)
Arguments
| Argument |
Default |
Accepted values |
What it does |
Size |
None |
Any valid value |
Size value used by the operation or widget. |
Weight |
None |
Any valid value |
Weight value used by the operation. |
Family |
None |
Any valid value |
Family value used by the operation. |
Align |
None |
Any valid value |
Align value used by the operation. |
Output
Returns structured data such as a list or dictionary.
Radius
Runs the Radius operation for Label.
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 Label.
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 Label.
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 Label.
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.