Re: colorselectiondialog
| From: | Alan Knowles | Date: | Fri, 11 Oct 2002 00:07:29 +0000 |
| Subject: | Re: colorselectiondialog | ||
| References: | 1 | Groups: | php.gtk.general |
| Request: | Send a blank email to php-gtk-general+get-2529@lists.php.net to get a copy of this message | ||
Ernest Beinrohr wrote:
On a buttonclick an colorselectiondialog opens, but how do I get the actual selected color-value back to PHP ?have a look at http://docs.akbkhome.com/phpmole/phpmole_config_dialog.html#colsel_ok (this gives you a hint on how to get the selection widget from the dialog. $this->dialog_color_select = $this->glade->get_widget("colorselectiondialog1"); $this->dialog_color_select_widget = $this->dialog_color_select->colorsel; $color_array = $this->dialog_color_select_widget->get_color();