
Prototype: GemRB.CreateButton(WindowIndex, ControlID, x, y, w, h)

Metaclass Prototype: CreateButton(ControlID, x, y, w, h)

Description: Creates and adds a new Button to a Window.

Parameters:
WindowIndex - the value returned from LoadWindow
ControlID   - the new control will be available via this controlID
x,y,w,h     - X position, Y position, Width and Height of the control

Return value: N/A

See also: CreateLabel, CreateMapControl, CreateWorldMapControl, CreateTextEdit

MD5: cca3f572a4ebf8b1e9974f83f6e756aa
