PureBasic - Gadget
Overview
The Gadgets in PureBasic are a generic name for all the interface components: button, combobox, listview, panels, ... This library is OS independent and uses the real OS Graphical User Interface (GUI) components.
Before using gadgets there will be normally opened a window first, furthermore there will be often used menus, toolbars and statusbars when creating graphical user interfaces.
The commands that create a new gadget return the new gadget number (called #Gadget in this library) if #PB_Any was used to create the gadget. If a static number was given to identify the gadget instead of #PB_Any, then the commands return the OS identifier for the created Gadget. These OS identifiers (or also called handles) can be used for other PureBasic functions, as well for WinAPI commands like SendMessage_() etc. Look at the chapter Handles and Numbers in the reference manual for more information.
Command Index
AddGadgetColumn
AddGadgetItem
ButtonGadget
ButtonImageGadget
CalendarGadget
ChangeListIconGadgetDisplay
CheckBoxGadget
ClearGadgetItemList
CloseGadgetList
ComboBoxGadget
ContainerGadget
CountGadgetItems
CreateGadgetList
DateGadget
DisableGadget
EditorGadget
ExplorerComboGadget
ExplorerListGadget
ExplorerTreeGadget
Frame3DGadget
FreeGadget
GadgetHeight
GadgetID
GadgetItemID
GadgetToolTip
GadgetType
GadgetWidth
GadgetX
GadgetY
GetActiveGadget
GetGadgetAttribute
GetGadgetColor
GetGadgetData
GetGadgetFont
GetGadgetItemAttribute
GetGadgetItemColor
GetGadgetItemData
GetGadgetItemState
GetGadgetItemText
GetGadgetState
GetGadgetText
HideGadget
HyperLinkGadget
IPAddressGadget
ImageGadget
IsGadget
ListIconGadget
ListViewGadget
MDIGadget
OpenGadgetList
OptionGadget
PanelGadget
ProgressBarGadget
RemoveGadgetColumn
RemoveGadgetItem
ResizeGadget
ScrollAreaGadget
ScrollBarGadget
SetActiveGadget
SetGadgetAttribute
SetGadgetColor
SetGadgetData
SetGadgetFont
SetGadgetItemAttribute
SetGadgetItemColor
SetGadgetItemData
SetGadgetItemState
SetGadgetItemText
SetGadgetState
SetGadgetText
SpinGadget
SplitterGadget
StringGadget
TextGadget
TrackBarGadget
TreeGadget
UseGadgetList
WebGadget
Example
Gadget.pb
Supported OS
All