gtk_main_iteration_do() always returns TRUE

2008-06-16 Thread shivaprasad javali
Hi , I have an application which does not use any of the UI packages. I had to embed a mozilla browser inside the application which requires a gtk window for it to work. So I tried creating a gtk window inside my application and passing that to mozilla to draw into. Also since I didnt wan

GTK 3.0: an app developer's view

2008-06-16 Thread Allin Cottrell
Sorry for cross-posting, but I think this does cross gtk-devel and gtk-app-devel: it's the thoughts of a common-or-garden app developer following the dicussions on gtk-devel about what's coming with GTK 3.0. As a starting point, on June 5, in the thread "Steps to get to GTK+ 3.0", Martyn Russe

Re: [Usability] UI design question

2008-06-16 Thread Dave Foster
Hi Matthew + Jacob - Thanks for the advice, some good stuff in here. On Mon, Jun 16, 2008 at 7:59 PM, Matthew Paul Thomas <[EMAIL PROTECTED]> wrote: > > My first thought is: That list of actions doesn't seem to include > anything that requires it to be a dialog. Could it be an ordinary window >

UI design question

2008-06-16 Thread Dave Foster
Hi, I'm crossposting to both the usability list and gtk app devel list, i hope this is ok, as I couldn't really see where my question fit in. I am designing a gtk application and I'm trying to follow the HIG, and I wanted to get some opinions on a "simple" dialog in the application. Here is a de

Re: Reading jpg data

2008-06-16 Thread jcupitt
Hi, 2008/6/16 [EMAIL PROTECTED] <[EMAIL PROTECTED]>: >I need to read a jpg image out of a buffer, not a file; the > caveman way to do this could be: write buffer to file, then use > gdk_pixbuf_new_from_file. Is there a more elegant way to do this? I You make an image and use gdkpixbufloader t

Reading jpg data

2008-06-16 Thread [EMAIL PROTECTED]
Hi everybody, I need to read a jpg image out of a buffer, not a file; the caveman way to do this could be: write buffer to file, then use gdk_pixbuf_new_from_file. Is there a more elegant way to do this? I tried with pixbuf_loaders (with no success), but before spending further effort I'd l

Gdk-CRITICAL **: gdk_drawable_set_colormap: assertion `cmap == NULL || HOW TO HANDLE: gdk_drawable_set_colormap: assertion `cmap == NULL || gdk_drawable_get_depth (drawable) == cmap->visual->depth' fa

2008-06-16 Thread svalbard colaco
Hi all , I have an application running on DirectFB and I have a function gnome_canvas_new_aa( ) to generate a canvas As an example , a code snippet would be as below GtkWidget *canvas_widget; gdk_rgb_init( ); gtk_widget_push_visual(gdk_rgb_get_visual( )); gtk_widget_push_colormap(gdk_rgb_get_