Re: Weird Segfaulting

2006-05-19 Thread Jordan Walsh
On Fri, 2006-05-19 at 00:03 -0400, Jordan Walsh wrote: Ok. I have been scratching my head on this one for a couple days now. First here is the code: http://dega.hopto.org/database.c The problem is this. That read_dir works fine, the first time it is run. But the second time it is called

Re: Weird Segfaulting

2006-05-19 Thread Matt Hull
i would use gdb. tells you what line segfaulted. On Fri, 19 May 2006, Jordan Walsh wrote: Ok. I have been scratching my head on this one for a couple days now. First here is the code: http://dega.hopto.org/database.c The problem is this. That read_dir works fine, the first time it is run.

Re: noticing focus loss for a popup widnow

2006-05-19 Thread ensonic
Just for the record, after a couple of weekends I've seem to figured it out myself. The solution is to do gtk_add_grab (also grab focus, keyboard and pointer). Then all events go to the widget that grabs and one can detect outside clicks. A good example is in rythmbox sources. Stefan On 11:56:51

Handling (control - shift - s) in Key Press Event

2006-05-19 Thread Mystilleef
Hello, How does one trap (control - shift - s) in a key press event callback? Thanks ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

getting the allocated size of a widget

2006-05-19 Thread Nick Watts
I'm writing an image viewer application and I want to be able to scale the image being shown to fit the window, whatever size that may be. There's other stuff in the window too so getting just the window size isn't an option. What's the easiest/correct way to get the current width and height of

Re: Failed building GTK with the DFB backend

2006-05-19 Thread Zhenghui Zhou
You should upgrade glib at first I think. 2006/5/17, Matthias Clasen [EMAIL PROTECTED]: On 5/16/06, Attilio Fiandrotti [EMAIL PROTECTED] wrote: Hi I noticed the DFB backend in HEAD won't compile unless something like gboolean gdk_screen_is_composited (GdkScreen *screen) {

Re: Failed building GTK with the DFB backend

2006-05-19 Thread Attilio Fiandrotti
I also made tests with glib 2.11.1, but i got a different error message [1] Attilio [1] http://bugzilla.gnome.org/show_bug.cgi?id=342093 Zhenghui Zhou wrote: You should upgrade glib at first I think. 2006/5/17, Matthias Clasen [EMAIL PROTECTED]: On 5/16/06, Attilio Fiandrotti [EMAIL

Loading 16-bit colors into GTK

2006-05-19 Thread James Kent
I have a "black box" application that renders its data into a 16-bit buffer (R5G6B5). I would like to display that data in a GTK window. Does anyone know if there is support for loading buffers of R5G6B5 format color data into GTK/GDK? Thanks Jim Kent [EMAIL PROTECTED]

Re: #80127 Rubberbanding issues

2006-05-19 Thread Matthias Clasen
On 5/19/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: The traditional answer to this request is: a treeview is not a table. Oh, it isn't? Then it must be high time to undeprecate gtkclist. Otherwise there is a big hole in gtk's widget coverage. Seriously, the treeview has been touted as