Re: Strange behaviour of GtkCheckMenuItem with submenus

2012-10-10 Thread Tristan Van Berkom
>From what I understand you have a strange expectation of menu items. Items are either parents of groups, or are controls for some actions in the program, but not simultaneously. Menu items can be insensitive but usually those are because the context of the program doesnt allow them to be valid (

Strange behaviour of GtkCheckMenuItem with submenus

2012-10-10 Thread Bruce Karsh
I need a UI for letting the user limit a view of their data based on tags. The user needs to be able to choose to a) show all items, b) show items with certain tags, c) show items without certain tags. So I made a menu with 3 GtkRadioMenuItems and put submenus with GtkCheckMenuItems in them for th

Re: Event propagation question.

2012-10-10 Thread Ardhan Madras
Sorry but I obviously will not compile and run the outdated program just to look at the behaviour, because you know I have to deal with all old dependencies, it is pain. I think you need to make the scope more small, try to adapt the code into a small program to demonstrate the problem and compile

Re: Best way to busy-wait in Python 3 / Gtk+ 3?

2012-10-10 Thread Filip Lamparski
Thanks, your method works. However, it still takes the program quite a bit to load up, and my problem is that I want display the window as soon as possible. If that helps, here is how the program loads up: Script starts The window is constructed Window events are connected to their handlers window.

Re: Event propagation question.

2012-10-10 Thread Ardhan Madras
Can you share the source? so we can see why it is not working. Regards. On Wed, Oct 10, 2012 at 1:59 PM, Yury Alyaev wrote: > Hello all, > > I'm porting an application from Gtk+-1 to Gtk+-2 and one problem has > appeared. I have the following object: toggle button containing vbox with > three wi

Event propagation question.

2012-10-10 Thread Yury Alyaev
Hello all, I'm porting an application from Gtk+-1 to Gtk+-2 and one problem has appeared. I have the following object: toggle button containing vbox with three widgets inside. Depending on the toggle button state one of the first two widgets inside vbox is hidden and another one is shown. Whe