GetGadgetAttribute()

Syntax

Value = GetGadgetAttribute(#Gadget, Attribute)
Description
Gets an attribute value of the specified gadget.

Parameters

#Gadget The gadget to use.
Attribute The attribute to get.

Return value

Returns the value of the specified gadget attribute or 0 if the gadget does not support the attribute.

Remarks

This function is available for all gadgets which support attributes. See the individual gadget for the supported attributes:

- ButtonImageGadget()
- CalendarGadget()
- CanvasGadget()
- DateGadget()
- EditorGadget()
- ExplorerListGadget()
- ListIconGadget()
- OpenGLGadget()
- PanelGadget()
- ProgressBarGadget()
- ScrollAreaGadget()
- ScrollBarGadget()
- SpinGadget()
- SplitterGadget()
- StringGadget()
- TrackBarGadget()
- WebGadget()

See Also

SetGadgetAttribute(), GetGadgetItemAttribute(), SetGadgetItemAttribute()

Supported OS

All

<- GetActiveGadget() - Gadget Index - GetGadgetColor() ->