Sorry, seems one attachmen is lost. Here is the example code itself:
#include
static GtkWidget *thing[2];
static gboolean destroy(void)
{
gtk_main_quit();
return FALSE;
}
static void toggled(GtkToggleButton *b)
{
gboolean state = gtk_toggle_button_get_active(b);
Hello all,
I have managed to know some details in my problem. For those who didn't
read previous messages, the problem is following (in a bit simplified
manner): GtkButton contains a box which in turn contains two custom
widgets, one is shown and another is hidden. When I hide one widget and
I have prepared the almost minimal code for demonstrating the problem:
http://dl.dropbox.com/u/66392348/test.tar.bz2
The detailed behavior is rather strange: after the first click, when the
toggle button change its state, the button stops to process "activated"
and "clicked" events although "bu
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
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
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