IrrGuiAddButton

section index

## NAME

IrrGuiAddButton - Adds a button.

## SYNOPSIS

*element.l = IrrGuiAddButton(Text.s, topX.l, topY.l, bottomX.l, bottomY.l, [*parent.l, [id.l]])

## INPUTS

Text.s | - | Text on Button
topX.l,topY.l | - | upper left corner
bottomX.l,bottomY.l | - | lower right corner
*parent.l | - | is the parent item of the element. E.g. a window. Set it to #Null (default) to place the button directly in the environment.

## FUNCTION

add a button object to the GUI

## RESULT

Returns pointer to the Element when Success