Re: gtkradiobutton property group

2010-04-01 Thread Tristan Van Berkom
On Thu, Apr 1, 2010 at 9:41 PM, John Williams wrote: > If you are wright where is the function that get/set the property? And > what's the property set/get by the functions _set_group() and > _get_group()? gtk_radio_button_set/get_group(): o Deals with a const GSList * of radio buttons GtkRad

Re: gtkradiobutton property group

2010-04-01 Thread John Williams
If you are wright where is the function that get/set the property? And what's the property set/get by the functions _set_group() and _get_group()? 2010/3/31 Tristan Van Berkom : > On Wed, Mar 31, 2010 at 10:10 PM, John Williams wrote: >> Hello, >> >> I'm looking at the GtkRadioButton >> (http://l

Problem debugging the GTK dll in Windows

2010-04-01 Thread Ian Puleston
Hi, I'm trying to debug the GTK dll in Windows using gdb to try to get some clue on a problem I'm having with a file chooser dialog. I downloaded the GTK 2.16.6 source and successfully compiled it under mingw. The result was a built libgtk-win32-2.0-0.dll file with full symbols. So far so good. I

RE: Windows theme not working in GTK 2.18.7

2010-04-01 Thread Ian Puleston
> -Original Message- > From: Jernej Simoncic > > If you read the release notes, you'll see that XP theming is broken > from 2.18 onwards, and is thus disabled. Thanks. The release notes say "XP themes have been disabled since they don’t work". Does this mean all use of themes is disabled

Re: Windows theme not working in GTK 2.18.7

2010-04-01 Thread Jernej Simončič
On Wed, 31 Mar 2010 12:46:03 -0700, Ian Puleston wrote: > I just upgraded the GTK installation on a Windows XP PC from 2.16.6 to > 2.18.7 and re-compiled my app, and the MS-Windows theme does not now seem to > be working. Although I have it set for that theme, the "look" has gone back > to the def

Re: How to move focus to another window by program?

2010-04-01 Thread Ken Resander
Richard: Your idea is interesting. Would like to try it, but... I checked gtk_widget_event ( widget,event ) in the manual which says this function should not be used for synthesizing events. It continues: 'instead, use gtk_main_do_event() so the event will behave as if it were in the event que

Re: shrink GTK+ disk usage for Windows

2010-04-01 Thread Alexander Shaduri
Hello, On Wed, 31 Mar 2010 10:59:23 -0600 Andrew Ziem wrote: > Wow, using Linux 'strip -v bin/*' cuts the bin directory from 16M to > 9.3M! After UPX, it's down to 3.9M (compare to 7.8MB below). Keep in mind that I had some problems with Linux version of strip when running it on windows dlls.

Re: shrink GTK+ disk usage for Windows

2010-04-01 Thread jcupitt
On 1 April 2010 06:00, Andrew Ziem wrote: > I hadn't tested yet when I wrote that :).  Now I see that stripping > almost anything (except freetype6.dll) causes the app to not start. > From Linux I tried 'strip' and 'strip -g'.  Are there safer ways to > strip? I use this as part of my package bui

Re: How to move focus to another window by program?

2010-04-01 Thread Oscar Lazzarino
On Thu, Apr 1, 2010 at 10:36 AM, Ken Resander wrote: > > Thanks Yeti, > > I used g_signal_connect_after for the menu activate event for all menu items > with actions. It did not make any difference. > > I can force focus from a dialog to the top window by gtk_window_present > ((GtkWindow *)windo

Re: How to move focus to another window by program?

2010-04-01 Thread Ken Resander
Thanks Yeti, I used g_signal_connect_after for the menu activate event for all menu items with actions. It did not make any difference. I can force focus from a dialog to the top window by gtk_window_present ((GtkWindow *)window ), but gtk_window_present ((GtkWindow *)dlg) does not work the ot