Getting a pointer to a dialog's 'Cancel' button

2011-05-04 Thread John Emmas
GtkWidget *dialog = gtk_dialog_new_with_buttons (My diaolg, app_main_window, GTK_DIALOG_DESTROY_WITH_PARENT, GTK_STOCK_CANCEL, GTK_RESPONSE_REJECT, NULL); I want to display the above dialog non-modally (after adding its

Re: Getting a pointer to a dialog's 'Cancel' button

2011-05-04 Thread Emmanuel Thomas-Maurin
Secondly, how do I obtain a pointer to the dialog's 'Cancel' button so that I can connect a signal handler to it? I looked for functions like gtk_dialog_get_child() or gtk_window_get_child_with_id() or something similar but I couldn't find anything. You could add the cancel button after

Re: Getting a pointer to a dialog's 'Cancel' button

2011-05-04 Thread John Emmas
On 4 May 2011, at 12:30, Emmanuel Thomas-Maurin wrote: You could add the cancel button after creating the dialog with gtk-dialog-add-button: http://developer.gnome.org/gtk/stable/GtkDialog.html#gtk-dialog-add-button Yeah, I guess I'll have to do it that way. Because GTK+ widgets are to

Re: Getting a pointer to a dialog's 'Cancel' button

2011-05-04 Thread A. da Mek
how do I obtain a pointer to the dialog's 'Cancel' button so that I can connect a signal handler to it? I think that you can also connect to the response signal of the dialog and check the response ID. I looked for functions like gtk_dialog_get_child() or gtk_window_get_child_with_id() or

gtk_widget_destroy(my_window) memory leak

2011-05-04 Thread jessonel
Hello, Have ever reported the memory leak of gtk_widget_destroy? I facing the memory leak after gtk_widget_destroy (my-gtk-window). Memory leak occurs, thogh my window does not contain any widget. my codes is as below: = #include

Re: Getting a pointer to a dialog's 'Cancel' button

2011-05-04 Thread John Emmas
On 4 May 2011, at 14:20, A. da Mek wrote: I think that you can also connect to the response signal of the dialog and check the response ID. Good call..! That worked just fine. Thanks for the tip. John ___ gtk-app-devel-list mailing list

Re: gtk_widget_destroy(my_window) memory leak

2011-05-04 Thread Allin Cottrell
On Wed, 4 May 2011, jessonel wrote: Have ever reported the memory leak of gtk_widget_destroy? Yes, hundreds of people. Have you heard of a useful tool called google? 99.9 percent of such leak reports are bogus, reflecting lack of knowledge of how memory management works in the GTK stack. Allin

GLib 2.29.4

2011-05-04 Thread Matthias Clasen
GLib 2.29.4 is now available for download at: ftp://ftp.gtk.org/pub/glib/2.29/ http://download.gnome.org/sources/glib/2.29/ 23700752b4eadf753a5f41293fa9d05cc5be7b64bfbb3f54692a3a06e39e8624 glib-2.29.4.tar.gz 20e8e62b82f24107144661bb5e462980866ed78a9d8261db8d2b1638224aadcd glib-2.29.4.tar.bz2

Please don't drop support for Curve

2011-05-04 Thread Charlie De
Hello all, I've joined up with this list for one single reason: to ask the developers to re-consider and reverse their decision to deprecate and eventually remove the Curve widget from GTK+. Recently, I learnt to create Python scripts, and with the help of Glade, created a GUI to

Re: Please don't drop support for Curve

2011-05-04 Thread David King
On 2011-05-04 03:22, Charlie De charlieco...@yahoo.com wrote: I've joined up with this list for one single reason: to ask the developers to re-consider and reverse their decision to deprecate and eventually remove the Curve widget from GTK+. GtkCurve was already removed in GTK+ 3. It was

Re: Please don't drop support for Curve

2011-05-04 Thread Dov Grobgeld
I suggest that you learn how to create your own widget. A widget like GtkCurve is very easy to develop by subclassing one of the canvas widgets, e.g. GooCanvas. Or do it directly through Cairo on a GtkDrawingArea. This is described here: http://live.gnome.org/Vala/CustomWidgetSamples Regards,

Re: Please don't drop support for Curve

2011-05-04 Thread Gordon JC Pearce
On Wed, 2011-05-04 at 03:22 -0700, Charlie De wrote: Recently, I learnt to create Python scripts, and with the help of Glade, created a GUI to ImageMagick routines, for my own proprietary photo editor. The Curve widget was absolutely central to this endeavour. The only downside is that

glib cross compile

2011-05-04 Thread pushparaj muthu
Hi Iam trying to cross compile glib package for arm process by executing the following command. ./configure --prefix =/home/glib/install --host=linux-arm --build=i686 --cache-file=arm_cache.conf Iam getting error in configuration that configure: error: glib-compile-schemas not found.

Re: Please don't drop support for Curve

2011-05-04 Thread Danielle Madeley
Thanks to GObject-Introspection you could copy the code from GtkCurve into a small C library that is bundled with your program and generate gobject-introspection bindings for it to use with PyGObject. This would also allow you to grow GtkCurve into something that meets your needs. On Wed,

GLib 2.29.4

2011-05-04 Thread Matthias Clasen
GLib 2.29.4 is now available for download at: ftp://ftp.gtk.org/pub/glib/2.29/ http://download.gnome.org/sources/glib/2.29/ 23700752b4eadf753a5f41293fa9d05cc5be7b64bfbb3f54692a3a06e39e8624 glib-2.29.4.tar.gz 20e8e62b82f24107144661bb5e462980866ed78a9d8261db8d2b1638224aadcd glib-2.29.4.tar.bz2

Can i draw a multi column spanning item in a GtkTreeView

2011-05-04 Thread Lothar Scholz
Hello Gtk-list, I need something like the separator, but i would like to add some text and eye candy (title colors) to it. Is there any way i can attach a cell renderer that covers the complete row and not just part of cell. -- Best regards, Lothar

Re: Tooltips only work on top half of a GtkTreeView

2011-05-04 Thread Nigel Stuckey
Ian Many thanks for the suggestion. I swapped the functions round and found that it worked for every row when the list was not scrolled horizontally. However, when I did scroll to the right, the tooltip x-axis alignment did not correspond to the columns. In fact it appeared to approximately

GLib 2.29.4

2011-05-04 Thread Matthias Clasen
GLib 2.29.4 is now available for download at: ftp://ftp.gtk.org/pub/glib/2.29/ http://download.gnome.org/sources/glib/2.29/ 23700752b4eadf753a5f41293fa9d05cc5be7b64bfbb3f54692a3a06e39e8624 glib-2.29.4.tar.gz 20e8e62b82f24107144661bb5e462980866ed78a9d8261db8d2b1638224aadcd glib-2.29.4.tar.bz2

Re: GStreamer cairooverlay

2011-05-04 Thread Torsten Schoenfeld
On 03.05.2011 19:44, g.schlmm wrote: i dont think GStreamer::Interfaces is the right place for doing this. Would a Cairo-GObject package be the best? or including it right to the Cairo package? Yes, given that libcairo-gobject is a separate library shipped with libcairo, I think it would make