gtk_widget_get_parent_window, GTK_NO_WINDOW, and GDK_INPUT_ONLY GdkWindows

2010-11-29 Thread Brian Tietz
This is a similar question to one I asked last week, but I'm not spamming, fishing for another response with a re-send. I actually made quite a bit of progress towards a solution but ran into another tangle of confusion, and possibly a Gtk bug (described below). I am creating a GtkContainer

Re: GtkButton, enter-notify signal, and GdkWindow

2010-11-25 Thread Brian Tietz
the GTK_NO_WINDOW flag. Thanks, Brian --- On Tue, 11/23/10, Mike Massonnet mmasson...@gmail.com wrote: From: Mike Massonnet mmasson...@gmail.com Subject: Re: GtkButton, enter-notify signal, and GdkWindow To: Brian Tietz sdbti...@yahoo.com Cc: gtk-app-devel-list@gnome.org Date: Tuesday, November 23, 2010

GtkButton, enter-notify signal, and GdkWindow

2010-11-23 Thread Brian Tietz
I am creating two widget subclasses, one which is a subclass of GtkContainer and one which is a subclass of GtkButton.  Both need to receive the enter-notify signal.  I can successfully obtain the enter-notify signal fot GtkButton in my_button_subclass_init:    

FInding out whether a window will fit onscreen

2010-07-27 Thread Brian Tietz
When creating a window, the application I'm working on won't know whether the contents will fit onscreen or not.  I won't go into details, but suffice it to say that the contents can vary greatly in the required size.  The window manager deals with that just fine up to a point.  But if a poorly

Gtk button strangeness

2009-07-26 Thread Brian Tietz
I'm having trouble with GtkButtons. They should (and usually do) size themselves to be 27 pixels high with my currently selected GNOME theme. All of them are created using gtk_button_new_with_label. The problem is that one particular button sizes itself to 42 pixels high instead of 27. I

Widget realization with respect to current theme

2009-07-21 Thread Brian Tietz
I noticed that if I create a GtkButton, call gtk_widget_show for the button, then call gtk_widget_size_request, it returns a guesstimate. With my current theme selection, this turns out to be a few pixels too small. If I then add it to a container, add the container to a GtkWindow, and show