The GUI Class

Description

The GUI Class is an internal class containing resources which are inherited by all GUI objects

The Resources

Name Type Description
XuNguiHeight float

The height of the object in pixels.

XuNguiWidth float

The width of the object in pixels.

XuNguiPosition float[1,2]

The position of the object from upper left corner in pixels.

XuNguiSensitive float (Boolean)

If true, the object can receive input events, if false the object is dimmed and does not receive events.

XuNguiCreateFunction string

The name of a function to call just after the object is created.

  • Built-in create functions exist for the stop button and for the command toolbar to register these as objects as special with Gsharp.
XuNguiDestroyFunction string

The name of a function to call when the object is destroyed.


Return to Gsharp Applications Reference Manual