GdkPixbuf object from stock icons

2007-09-23 Thread Zeeshan Ali
Hi! I was looking for a non-hackish way of creating a GdkPixbuf object out of stock icon. The first thing that comes to mind is: --CODE SNIPPET BEGIN-- image = gtk_image_new_from_stock (stock_id, size); pixbuf = gtk_image_get_pixbuf (image); ---

Re: Theory of good signal/event API design?

2007-09-23 Thread Robert Schwebel
On Sun, Sep 16, 2007 at 08:51:26PM +0200, Sander Marechal wrote: > Maybe. I did a bit of reading and it looks like bdus was created for > communication between applications and for os->application > communication, not for passing messages around within a single application. Yes, sure. I assumed th

Re: Theory of good signal/event API design?

2007-09-23 Thread Robert Schwebel
On Sun, Sep 16, 2007 at 06:28:56PM +0200, Sander Marechal wrote: > I am building an application in which pretty much all functionality is > abstracted away in various modules. All these modules can be loaded and > configured at will and everything communicates by passing > messages/events around. M

gtkfb

2007-09-23 Thread Binary Chen
Hi, Is gtkfb still developed? I want to use it instead of directfb, is this idea viable? And is there any window manager based on gtkfb? Thanks. Bin ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinf

cairo canvas

2007-09-23 Thread control H
hello, My app can draw lines, circles etc. on a gtk drawing area (cairo based). However, later on I want to be able to pick up the line, circle etc. and move them around the canvas or resize them. So in effect I want to be able to put graphical objects on the drawing area, and later be able to man

Re: Updating (showing) the widgets of a dialog in a g_thread

2007-09-23 Thread Yeti
On Sat, Sep 22, 2007 at 10:49:56PM -0400, Andrew Smith wrote: > I have the following setup: > > gpointer thread1(gpointer data) > { > run_long_function(); > return NULL; > } > > gpointer thread2(gpointer data) > { > GtkWidget* dialog; > > gdk_threads_enter(); > dialo