GtkMenuBar internals help?



I'm in the process of coding some support for Mike Owens' menu manager
spec[1] in GTK.. So far, I've been doing this by modifying the menubar
widget similarly to the GtkHandleBox widget-- having a seperate "Float"
window, and reparenting to that at the proper time[2]. 

I almost have this working, except for one detail-- during the
reparenting, unlike with the HandleBox widget, a blank area is left
where the menubar was previously. I've placed a gtk_widget_queue_resize
while reparenting, but this doesn't help.

The code I've gotten so far is at
http://mayaka.sayuri.ca:8000/~quinn/gnome/gtk-menubar-test.diff -- Does
anyone have any bright ideas as to how I can go about making this work?
(Or if I'm completely misguided in how I'm going about this) If so,
thanks in advance.


[1] It's still very preliminary, the draft is at
http://etc.filespanker.com/menumanager-spec
[2] In theory, this is going to be when the menu manager program loads,
but at the moment, it's hardcoded to to this on map.




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