Main   Class List   Namespace List   Wiki

GuiButtonCtrl Class Reference
[Button Controls]

The most widely used button class. More...

Inheritance diagram for GuiButtonCtrl:
Inheritance graph
[legend]

List of all members.


Detailed Description

The most widely used button class.

GuiButtonCtrl renders seperately of, but utilizes all of the functionality of GuiBaseButtonCtrl. This grants GuiButtonCtrl the versatility to be either of the 3 button types.

Example:
// Create a PushButton GuiButtonCtrl that calls randomFunction when clicked
%button = new GuiButtonCtrl()
{
   profile    = "GuiButtonProfile";
   buttonType = "PushButton";
   command    = "randomFunction();";
};


Copyright © GarageGames, LLC. All Rights Reserved.