Re: reorderable treeview question



I figured it out; the problem was that by default, Glade sets the GDK_POINTER_MOTION_HINT_MASK in the event mask for TreeView widgets, which prevents the reordering from working properly. Unsetting this bit in the event mask (under Common/Events in Glade) solved the problem.

It looks like Glade sets the default event mask for every widget to GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK. Is this a bug? And is the default event mask for Gtk widgets documented somewhere?

Ferenc




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]