Mouse wheel events

2008-01-03 Thread Tom Trebisky
enter wheel on the mouse. Can anyone tell me what to do, or direct me to appropriate documentation? Thanks! -- Tom Trebisky MMT Observatory University of Arizona -- Tucson [EMAIL PROTECTED] ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org

Re: How to convert a jpg image to a GtkImage ?

2007-09-11 Thread Tom Trebisky
On Tue, Sep 11, 2007 at 01:15:09PM -0700, Tom Trebisky wrote: > Following this thread, I decided it would be wise to avoid this kind > of leak since my application uses hundreds of loaders to load > hundreds of pixbufs, so I made my code look like: > >

Re: How to convert a jpg image to a GtkImage ?

2007-09-11 Thread Tom Trebisky
); add_to_my_list ( pixbuf_p ); However, this apparently frees up the pixbuf as well, and everything goes to hell in a handbasket as pixbuf_p is now a reference to some piece of recycled memory or something like that. How does one free up the loader but retain the pixbuf ? Tom -- Tom Trebisky MMT

Re: GTK drawing area cannot get keyboard events

2007-09-09 Thread Tom Trebisky
My previous high level questions about overall strategy in using the gtk drawing area for this project, as well as where to find the best documentation still stand. It would seem that the best resource is the GTK+ website at www.gtk.org . Thanks to you all for your help and patience. Tom

Re: GTK drawing area cannot get keyboard events

2007-09-09 Thread Tom Trebisky
> On Sat, Sep 08, 2007 at 02:21:11PM -0700, Tom Trebisky wrote: >> I have spent a couple of half-days trying to get keyboard events from a >> GTK drawing area with no luck, >> gtk_widget_add_events ( GTK_WIDGET(da), GDK_FOCUS_CHANGE ); On Sat, Sep 08, 2007 at 11:51:38

GTK drawing area cannot get keyboard events

2007-09-08 Thread Tom Trebisky
Thanks greatly for your help and advice! Tom -- Tom Trebisky MMT Observatory University of Arizona -- Tucson [EMAIL PROTECTED] ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list