WidgetGetClass

Syntax

Class$ = WidgetGetClass(Widget)

Description

Retrieves the class name assigned to the specified widget. The class name is used by the skinning system to apply styles.

Parameters

Widget
The handle of the ProGUI widget whose class name is to be retrieved.

Return Value

Returns the class name as a string. Returns an empty string ("") if the widget handle is invalid or if no class name has been set.

Remarks

Class names are fundamental for applying styles via skins. Widgets with the same class name will generally share the same appearance defined in the active skin file. Use WidgetSetClass() to assign a class name.

See Also

WidgetSetClass, WidgetSetName, WidgetGetName, SkinSetValue

Supported OS

Windows, Linux