Re: GtkStatusIcon and Drag and Drop?

2008-01-15 Thread Scott Horowitz
2008/1/15 Enrico Tröger [EMAIL PROTECTED]: I was just playing around with the GtkStatusIcon API and wondered if there is any way to use Drag And Drop with a GtkStatusIcon object? The usual way doesn't work because GtkStatusIcon is a subclass of GObject and not an ordinary GtkWidget. Or is

Re: GtkStatusIcon and Drag and Drop?

2008-01-15 Thread Enrico Tröger
On Tue, 15 Jan 2008 23:20:28 -0700, Scott Horowitz [EMAIL PROTECTED] wrote: 2008/1/15 Enrico Tröger [EMAIL PROTECTED]: I was just playing around with the GtkStatusIcon API and wondered if there is any way to use Drag And Drop with a GtkStatusIcon object? The usual way doesn't work because

Re: GtkStatusIcon and popup menu

2006-11-06 Thread Peter Lund
On Sun, 2006-11-05 at 18:31 +0100, Chris tophe wrote: click somewhere out of it. I tried around, this problem doesn't happen when calling gtk_menu_popup in response to a widget's button-press-event/button == 3 for example, only in popup-menu callback. Any idea to make this menu go away

Re: GtkStatusIcon and popup menu

2006-11-06 Thread Chris tophe
2006/11/7, Peter Lund [EMAIL PROTECTED]: The program I wrote earlier this year just uses the button-press-event signal. In the handler I create a menu and connect a deactivation function to its deactive signal. Seems to work fine. -Peter Thanks for your answer. I can't do this :

Re: GtkStatusIcon

2005-11-09 Thread Matthias Clasen
On Wed, 2005-11-09 at 19:08 +0100, Giuliano Montecarlo wrote: Hi, I'm about to write an App using GTK+. I'm trying to get a Status Icon in Yellow. --snip-- GdkPixbuf* YI = gdk_pixbuf_new (GDK_COLORSPACE_RGB, FALSE, 8, 24, 24); GdkColor color; guint32 pixel; if (gdk_color_parse