Santiago Capel <[EMAIL PROTECTED]> writes: > But then, why glade doesn't need to call gtk_widget_set_events to a > simple project with just a window and a button_press event? (it works > perfectly with glade and gtk+-1.2.10)
GtkWindow may already select button_press_event out of the box, I don't know. Also, parent containers get events from children if the children don't handle the event. > Just like a curiosity, using gtk+-1.2.10 and glade: > I have added to a main window a box with 10 widgets: a label, an entry, > a combo, a text (which adds a scrolledwindow above it), a button, a > checkbutton, a radiobutton, a spinbutton, a progressbar and a statusbar. > > I have connected a button_press_event to the main window. The > button_press_event for the main window is called when I click on the > text and on the spinbutton, but it is not called on the rest of widgets. > Is this an implementation policy? The events will go to the window if the child widgets don't handle them. The rest of them are handling them. Havoc _______________________________________________ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-list
