TPanel
extends TElement
in package
Panel Container: Allows to organize the widgets using fixed (absolute) positions
Tags
Table of Contents
Properties
Methods
- __construct() : mixed
- Class Constructor
- getSize() : array<string|int, mixed>
- Returns the frame size
- put() : mixed
- Put a widget inside the panel
- setSize() : mixed
- Set the panel's size
- show() : mixed
- Show the widget
Properties
$height
private
mixed
$height
$style
private
mixed
$style
$width
private
mixed
$width
Methods
__construct()
Class Constructor
public
__construct( $width, $height) : mixed
Parameters
getSize()
Returns the frame size
public
getSize() : array<string|int, mixed>
Return values
array<string|int, mixed>put()
Put a widget inside the panel
public
put( $widget, $col, $row) : mixed
Parameters
setSize()
Set the panel's size
public
setSize( $width, $height) : mixed
Parameters
show()
Show the widget
public
show() : mixed