[prev in list] [next in list] [prev in thread] [next in thread]
List: php-gtk-doc
Subject: [PHP-GTK-DOC] Talking of signals ...
From: "Steph" <Steph.Fox () btinternet ! com>
Date: 2002-03-10 19:17:34
[Download RAW message or body]
I've had mail from newbies 2 or 3 times now who find it a struggle to =
understand how the signals in PHP-GTK work.
I've been thinking about it, and think it would probably be best to put =
into the documentation a single-line sample showing the connect() line =
(which will always be the same, pretty much) and a single line showing =
the callback function() that is being connected to.
e.g.
function callback($widget, $event, $extra_data) {
/* do stuff */
}
$widget->connect('button-press-event', 'callback', $extra_data);
If anyone has any better ideas, please let me know before I start going =
through and implementing this?
--
PHP-GTK Documentation Mailing List (http://gtk.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic