building a menu
| From: | Hakan Kuecuekyilmaz | Date: | Tue, 27 Nov 2001 22:31:43 +0000 |
| Subject: | building a menu | ||
| References: | 1 2 | Groups: | php.gtk.general |
| Request: | Send a blank email to php-gtk-general+get-711@lists.php.net to get a copy of this message | ||
Hello,
after my 'fantastic' installation orgy (thanks to all, again) now a 'real'
question on php-gtk.
I build a menu, but i don't know how to connect the items to mouseclicks;
like:
$connect =& new GtkMenuItem('Connect');
// signal 'select' onmouseover; 'deselect' whenmousewasover
// wich signal we have when clicking?
$connect->connect('toggle', 'connect');
well, toggle is wrong, too
then i make
$file =& new GtkMenu();
$file->append($connect);
$item =& new GtkMenuItem('File');
$item->set_submenu($file);
$item->activate();
is this right so far?
regards
--
Hakan Kuecuekyilmaz, presently intern at
Tecnomatix Technologies Germany | Tel: +49 711 1389- 257
Mittlerer Pfad 9 | <hakan@lisas.de>
70 499 Stuttgart | <hkuecuekyilmaz@tecnomatix.de>
Studenten, Absolventen und Young Professionals <http://www.c-cn.de>
-------------------------------------------------
This mail sent through IMP: webmail.fht-esslingen.de