GetGadgetFont()

Syntax

FontID = GetGadgetFont(#Gadget)
Description
Get the FontID associated with the specified gadget.

Parameters

#Gadget The gadget to use. If the #PB_Default constant is used as the gadget then the default FontID used for new created gadgets is returned.

Return value

Returns the FontID for the gadget or the one used for newly created gadgets.

Note: On Mac OSX, this function returns 0 if the gadget does not have a specific font associated with it.

See Also

SetGadgetFont(), FontID()

Supported OS

All

<- GetGadgetData() - Gadget Index - GetGadgetItemAttribute() ->