ImPS_Elements_Button
- class ImPS_Elements_Button($text, $pos_x, $pos_y)
Attention
This class is not intended to be initialized directly.
Note
This class inherits from Baseclass for Elements and Panels.
- Parameters:
$text ([string]) - The Button text.
$pos_x ([int]) - Its X position.
$pos_y ([int]) - Its Y position.
- Attributes:
Drawable ([System.Windows.Forms.Button])
- Returns:
- onClick($fn)
- Parameters:
$fn ([scriptblock]) - A function to execute when the button has been clicked.
- Returns: