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 show another, the button does not generate "click" events. I have found that after hiding and showing widgets Gtk+ does not regard the area of inner widget as a part of the button; "leave-notify-event" is generated when the cursor is being moved from the area of the button itself (for example, border) to the area of inner widget. I also have found that this happens not only with custom widgets, but also with some standard Gtk+ widgets like GtkHSV. I provide a simple example illustrating this problem.

Regards,
Yury.
CFLAGS = $(shell pkg-config --cflags gtk+-2.0)
LDFLAGS = $(shell pkg-config --libs gtk+-2.0)

all: test

test: test.o

test.o: test.c
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Reply via email to