Creation/Dev/Script/Client/GuiButtonCtrl

From Graal Bible
Revision as of 23:51, 15 February 2010 by Pooper200000 (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Inherits GuiButtonBaseCtrl.

Description

Guicontrol button.png

This displays a button, optionally with icon. The look of the button is specified using the profile.


Variables

icon - TDrawingPanel


Functions

Name Return Type Description
seticonsize(int, int)


Example

 new GuiButtonCtrl("Test_Button") {
   profile = GuiBlueButtonProfile;
   x = 10;
   y = 10;
   width = 100;
   height = 30;
   text = "Button";
 }