GuiButtonCtrl

consoledoc.h

The most widely used button class.

More...

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.

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