[447] in The GTK GIMP ToolKit mailing list archive
[gtk-list] Label and popup menu?
daemon@ATHENA.MIT.EDU (Hoek)
Fri Jul 11 09:02:58 1997
From: Hoek <hoek@pcjeroen.ubu.ruu.nl>
To: gtk-list@redhat.com
Date: Fri, 11 Jul 1997 15:02:12 +0200 (MET DST)
Resent-From: gtk-list@redhat.com
Reply-To: gtk-list@redhat.com
Hello there,
Just started using gtk yesterday and trying to learn as much as possible
by reading the docs (== source code), but have a question still :-)
I have some text: Current window is X
Now, what I want is for X to be normal text, but when the mouse goes
over it a menu pops up so that you can select another window. After that,
the text must say something like Current window is Y.
I tried to use a label for X and connect a button_press_event-signal
to it, but that didn't work. Can somebody give a hint, please?
I tried looking into the gimp-sources, for something similar happens in
the "File Xtns" menu, but couldn't find it :-( (Tried a grep on all the
sourcecode for Xtns?)
-----------------------------------------------------------------------------
this is Hoek v0.23 -- automatic mail replier hoek@pcjeroen.ubu.ruu.nl
see also http://www.araneus.com/
"Where do you live? Where is the manager? Where does he live?"
-- Grosse point Blanc
--
To unsubscribe: mail -s unsubscribe gtk-list-request@redhat.com < /dev/null