Create
Creates a new Code 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 Code object.
Create
Runs the Create operation for Code.
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.
Clear
Clears stored data, selection, or visible content.
Clear()
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 Code.
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 Code.
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 Code.
Widget()
Arguments
No arguments.
Output
Returns the calculated result.
Add
Adds a new item to the object or UI.
Add(Value)
Arguments
| Argument |
Default |
Accepted values |
What it does |
Value |
Required |
Any valid value |
Value to set or process. |
Output
Runs the operation. Some methods update the object in place.
Get
Runs the Get operation for Code.
Get()
Arguments
No arguments.
Output
Returns the calculated result.
Set
Runs the Set operation for Code.
Set(Value)
Arguments
| Argument |
Default |
Accepted values |
What it does |
Value |
Required |
Any valid value |
Value to set or process. |
Output
Runs the operation. Some methods update the object in place.
Export
Runs the Export operation for Code.
Export(Fire=True)
Arguments
| Argument |
Default |
Accepted values |
What it does |
Fire |
True |
Any valid value |
Turns fire on or off. |
Output
Returns structured data such as a list or dictionary.
Get_Languages
Returns a specific value.
Get_Languages()
Arguments
No arguments.
Output
Returns the requested value.
Get_Themes
Returns a specific value.
Get_Themes()
Arguments
No arguments.
Output
Returns the requested value.
History_Clear
Runs the History_Clear operation for Code.
History_Clear()
Arguments
No arguments.
Output
Returns True/False to indicate success.
Import
Runs the Import operation for Code.
Import(Data)
Arguments
| Argument |
Default |
Accepted values |
What it does |
Data |
Required |
Value |
Dataset path or dataset definition. |
Output
Returns True/False to indicate success.
Language
Runs the Language operation for Code.
Language(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.
Languages
Runs the Languages operation for Code.
Languages()
Arguments
No arguments.
Output
Returns structured data such as a list or dictionary.
Redo
Runs the Redo operation for Code.
Redo()
Arguments
No arguments.
Output
Returns True/False to indicate success.
Set_Language
Sets a specific value.
Set_Language(Value)
Arguments
| Argument |
Default |
Accepted values |
What it does |
Value |
Required |
Any valid value |
Value to set or process. |
Output
Sets the value and returns the updated object or status.
Set_Theme
Sets a specific value.
Set_Theme(Value)
Arguments
| Argument |
Default |
Accepted values |
What it does |
Value |
Required |
Any valid value |
Value to set or process. |
Output
Sets the value and returns the updated object or status.
Set_Wrap_Lines
Sets a specific value.
Set_Wrap_Lines(Value)
Arguments
| Argument |
Default |
Accepted values |
What it does |
Value |
Required |
Any valid value |
Value to set or process. |
Output
Sets the value and returns the updated object or status.
Theme
Runs the Theme operation for Code.
Theme(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.
Themes
Runs the Themes operation for Code.
Themes()
Arguments
No arguments.
Output
Returns structured data such as a list or dictionary.
Undo
Runs the Undo operation for Code.
Undo()
Arguments
No arguments.
Output
Returns True/False to indicate success.
Wrap_Lines
Runs the Wrap_Lines operation for Code.
Wrap_Lines(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.
Wrap_Lines_Toggle
Runs the Wrap_Lines_Toggle operation for Code.
Wrap_Lines_Toggle()
Arguments
No arguments.
Output
Returns the calculated result.
Bind
Runs the Bind operation for Code.
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 Code.
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 Code.
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 Code.
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 Code.
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 Code.
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 Code.
Box()
Arguments
No arguments.
Output
Returns structured data such as a list or dictionary.
Ratio
Runs the Ratio operation for Code.
Ratio()
Arguments
No arguments.
Output
Returns structured data such as a list or dictionary.
Place
Runs the Place operation for Code.
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 Code.
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.