[prev in list] [next in list] [prev in thread] [next in thread]
List: php-gtk-dev
Subject: [PHP-GTK-DEV] Re: Re: Re: Re: Re: [PHP-GTK] CList Code - Alternating row/field colors
From: Markus Fischer <mfischer () guru ! josefine ! at>
Date: 2001-10-19 18:40:58
[Download RAW message or body]
On Fri, Oct 19, 2001 at 11:29:56AM -0800, PQ Administrator wrote :
>
> The is a need to when Im passing variables through.-----Original message-----
You can do this still too. signal_autoconnect accept an hash of
functions to substitute with your own function/method and
parameters.
Here is a copy from my code, should get you started:
@$gx->signal_autoconnect( array(
// main window
'on_menu_file_quit_activate' => array( array( &$this, 'shutdown')),
'on_mainWindow_destroy' => array( array( &$this, 'shutdown')),
'on_textSqlIn_key_press_event' => array( array( &$this, 'doQuery')),
[...]
The value of the hash is an array with the function to call
following the parameters (not used in this example), it would
look like:
'function_defined_in_glade' => array('call_this_function_instead', $with, $arguments),
HTH,
- Markus
--
PHP-GTK Development Mailing List (http://gtk.php.net/)
To unsubscribe, e-mail: php-gtk-dev-unsubscribe@lists.php.net
For additional commands, e-mail: php-gtk-dev-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic