Re: Widgets inside a GtkDrawingArea

2006-03-20 Thread Sander Marechal
Olexiy Avramchenko wrote: Take a look at GtkLayout instead of GtkDrawingArea. This widget provides a window GtkLayout::bin_window that can be used for custom drawing like GtkDrawingArea and also it is a container like GtkFixed. I'm also having trouble getting the GtkLayout resized properly if

Re: Widgets inside a GtkDrawingArea

2006-03-20 Thread Sander Marechal
Olexiy Avramchenko wrote: Sander Marechal wrote: Is there a way to add a button inside (or on top) a GtkDrawingArea using glade? Or using Gtk directly in C? Glade wouldn't let me add one. If it isn't possible, is there an easy way I can "fake" the effect of a button sitting in the middle of th

Re: Find Signal Name, in callback handler.

2006-03-20 Thread Olexiy Avramchenko
Muthiah Annamalai wrote: Dear friend, I want to know if its possible to find Signal Name, in callback handler. Im writing language bindings and I need to evaluate some designs on routing callbacks; with a fair amount of searching on archives of this ML, I dont find this question answered well,

Re: Widgets inside a GtkDrawingArea

2006-03-20 Thread Olexiy Avramchenko
Sander Marechal wrote: Hello, I am writing a hearts game for GNOME using glade and the libglade XML loader. The main playing area is a big GtkDrawingArea. I need to add a button in the middle of the drawing area during the beginning of the game (when you are passing cards to another player).

subscribe

2006-03-20 Thread yueyu lin
-- -- Yueyu Lin ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: Handling Unix signals in a GTK+ application

2006-03-20 Thread Freddie Unpenstein
> > Add a unix signal number in the signal handler, and suck it out > > again in a custom event source's prepare method. The prepare > > method can return -1 for its timeout contribution, and true/false > > if there's something in the queue. > So... poll *will* exit because of the signal... but wi