PHP GTK Builder Basic API

$this->widget[‘widget_name’][‘obj’]

The GTK Object of the “widget_name”;

 

$this->widget[‘widget_name’][‘type’]

The GTK Type of the ‘widget_name’;

 

$this->widget[‘widget_name’][‘value’]

the value of the ‘widget_name’;

 

$this->widget[‘widget_name’][‘label’]

The label of the button or other objects ;

 

$this->widget_value_update(‘widget_name’);

Call before return the value of the ‘widget_name’ ;

 

$this->widget_update(‘widget’);

Call after change the options of ‘widget_name’;

 

$this->dlg_info($msg);

A message box;

 

$this->dlg_file($title,$fun);

Open a file dialog, and call fun with the argument of filename;