Re: Toggle Button Groups

2008-06-15 Thread Gregory Hosler
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Lucas Levin wrote: | Hi, | What is the best way to make a radio-like group of toggle buttons so | when one button is activated, all the rest aren't? Take a look at GtkRadioButton in devhelp All the best, - -G | Thanks! | |

Drawing with alias

2008-06-15 Thread Lucas Levin
*feels guilty about posting twice in one day* Hi, Is there any way to draw shapes and lines on a drawable or through cairo without antialiasing? Or does anyone know a way to do this with an external library that can link with gtk? I'm trying to create a raster drawing application and I'm having

Windows verses Dialogs

2008-06-15 Thread dhk
When should a dialog be used instead of a window? Can't a window always be used? Do you give anything up when using a dialog? What's the difference? Thanks, Dave ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org

Windows over Windows

2008-06-15 Thread dhk
How can a modal window or dialog from a secondary event always and completely cover the main window? The main window should look like it was replaced until the second window or dialog is closed. Thanks, Dave ___ gtk-app-devel-list mailing list

Re: Windows over Windows

2008-06-15 Thread Gregory Hosler
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 dhk wrote: | How can a modal window or dialog from a secondary event always and | completely cover the main window? The main window should look like it | was replaced until the second window or dialog is closed. Depending upon the sizes of the two

Re: Windows verses Dialogs

2008-06-15 Thread Carlos Pereira
dhk wrote: When should a dialog be used instead of a window? Can't a window always be used? Do you give anything up when using a dialog? What's the difference? I have more than 100 task dialogs in my app. I NEVER use dialogs... always windows! you have much more flexibility, your code is

g_signal_connect

2008-06-15 Thread Carlos Pereira
For the sake of elegance, which version people like more? 1) g_signal_connect (widget, signal, G_CALLBACK (callback), data); 2) g_signal_connect (G_OBJECT (widget), signal, G_CALLBACK (callback), data); 3) g_signal_connect (GTK_OBJECT (widget), signal, G_CALLBACK (callback), data); Carlos

Re: Windows over Windows

2008-06-15 Thread dhk
Gregory Hosler wrote: dhk wrote: | How can a modal window or dialog from a secondary event always and | completely cover the main window? The main window should look like it | was replaced until the second window or dialog is closed. Depending upon the sizes of the two windows... The modal

Re: g_signal_connect

2008-06-15 Thread Carlos Pereira
Brian J. Tarricone wrote: On Sun, 15 Jun 2008 19:40:22 +0100 Carlos Pereira wrote: For the sake of elegance, which version people like more? 1) g_signal_connect (widget, signal, G_CALLBACK (callback), data); I think this was the intended use -- the first param is of type gpointer so

Semion Chichelnitsky/Israel/IBM is out of the office.

2008-06-15 Thread Semion Chichelnitsky
I will be out of the office starting 15/06/2008 and will not return until 29/06/2008. I will respond to your message when I return. ___ gtk-devel-list mailing list gtk-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-devel-list

Re: [compiz] color management spec

2008-06-15 Thread Owen Taylor
On Sun, 2008-06-15 at 11:52 +0200, Kai-Uwe Behrmann wrote: Am 14.06.08, 20:13 -0400 schrieb Owen Taylor: On Sun, 2008-06-15 at 01:38 +0200, Tomas Carnecky wrote: Owen Taylor wrote: If the visual of a window is ARGB, it can't hold XYZ or Lab, or most obviously CMYK data.

Re: [compiz] color management spec

2008-06-15 Thread Kai-Uwe Behrmann
Am 14.06.08, 20:13 -0400 schrieb Owen Taylor: On Sun, 2008-06-15 at 01:38 +0200, Tomas Carnecky wrote: Owen Taylor wrote: If the visual of a window is ARGB, it can't hold XYZ or Lab, or most obviously CMYK data. difficulties of per-monitor specifics... if I have an image in Adobe