About the GTK style

2008-09-04 Thread XiuHua Wu
Hi All: Is there anyone knows how to set the GTK styles by codes not via the rc file??I had tried the gtk_rc_add_class_style function, but it didn't work and it is said that |gtk_rc_add_class_style| is deprecated and should not be used in newly-written code. So is the

Re: About the GTK style

2008-09-04 Thread Miroslav Rajcic
Maybe this sample might help. This a a part of my code to set the color of the text view caret. With similar method you can probably set the global style in your application too (for example, to paint all GtkTextView widgets in your application). static const char cursor_color_rc[] =

Re: About the GTK style

2008-09-04 Thread Miroslav Rajcic
I am not sure about the exact rc file syntax. I guess you'll have to experiment with it. - Original Message - From: XiuHua Wu [EMAIL PROTECTED] To: Miroslav Rajcic [EMAIL PROTECTED] Cc: gtk-app-devel-list@gnome.org Sent: Thursday, September 04, 2008 10:10 AM Subject: Re: About the GTK

Re: How to center vbox inside full screen window

2008-09-04 Thread Arto Karppinen
Christian Smith wrote: Hi All, I have a very simple GTK program (in C) that creates a full screen window. Inside the full screen window I am placing a vbox with two elements inside: and image and a label. For the life of me I cannot figure out how to get the contents of the vbox to be

Re: How to center vbox inside full screen window

2008-09-04 Thread Christian Smith
That did the trick, thanks! -Christian Arto Karppinen wrote: Christian Smith wrote: Hi All, I have a very simple GTK program (in C) that creates a full screen window. Inside the full screen window I am placing a vbox with two elements inside: and image and a label. For the life of me I

GTK+ 2.14.0 released

2008-09-04 Thread Matthias Clasen
GTK+ 2.14.0 is now available for download at: http://download.gnome.org/sources/gtk+/2.14/ gtk+-2.14.0.tar.bz2 md5sum: 8cd2732b4e07a490691ae3635b71d932 gtk+-2.14.0.tar.gzmd5sum: 8ae7ed0c95907b5be29fc4a3c36f0499 Release notes are available at:

Re: When in Full screen mode, dialogs make system menu appear (replacing app menu)

2008-09-04 Thread Rui Tiago Cação Matos
On 03/09/2008, Garth's KidStuff [EMAIL PROTECTED] wrote: In my app, I go into full screen mode and then bring up a dialog. The application menu goes away and is replaced by the system menu (Applications Places System, etc.). I don't want this behavior, and I don't see any reference in

GTK+ 2.14.1

2008-09-04 Thread Matthias Clasen
GTK+ 2.14.1 is now available for download at: http://download.gnome.org/sources/gtk+/2.14/ gtk+-2.14.1.tar.bz2 md5sum: c6e66ffe92724d83391187f0af016b23 gtk+-2.14.1.tar.gzmd5sum: 48003f502e916e6f004a23c6985d4432 This is a quick followup release to fix a deadlock in pixbuf loader