Hmmm... I'm running ubuntu 8.10 also, but with compiz. I just switched
to metacity and I see what you're talking about. The code below works
for me in both metacity and compiz if I make pop a toplevel window:
- popup = gtk_window_new (GTK_WINDOW_POPUP);
+ popup = gtk_window_new (GTK_WINDOW_TOP
Hi Larry,
Thank a lo for you patch but it don't work for me :( I think
the problem is Metacity... Andrea get works without metacity and it
works on my xfce but not in my gnome with metacty (ubuntu 8.10)...
The code below works fine in metacity using your changes and
set_modal (tha
Hi,
I think this patch should do what you want:
--- test.orig.c 2008-11-30 20:40:21.0 -0500
+++ test.c 2008-11-30 20:49:57.0 -0500
@@ -78,7 +78,11 @@
{
gtk_widget_show_all(popup);
focus_window(window);
-
+ g_debug("unfocus
Hi all,
I want to create a GTK_WINDOW_POPUP and change the type
to GTK_WINDOW_TOPLEVEL.
If you have used eclipse, when you are writting you can see a
calltip (but the focus is in the editor) and if you press F2, then the
calltip window gets the focus and show the decoration.
Hi Michael
I paste the code:
#include
#include
static GtkWidget *window;
static GtkWidget *view;
static GtkWidget *popup;
static GtkWidget *popup_view;
static gboolean set_focus = FALSE;
static void
destroy_cb(GtkObject *object,gpointer user_data)
{
gtk_main_quit ();
}
static gbool
Perriman wrote:
Can you help me?? (I attach the example)
Sorry, I don't see the example.
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list