Syntax
Success = WidgetSetName(Widget, Name$)
Description
Assigns a name to the specified widget. This name is primarily for identification purposes within the application code and does not directly affect the widget's appearance or behavior unless used in custom logic.
Parameters
Widget
The handle of the ProGUI widget.
Name$
The string name to assign to the widget.
Return Value
Returns #True if the name was successfully set, or #False if the widget handle was invalid.
Remarks
Names are useful for debugging or referencing specific widgets in code, distinct from class names which are used for skinning.
See Also
WidgetGetName, WidgetSetClass, WidgetGetClass
Supported OS
Windows, Linux