27 Feb
2007
27 Feb
'07
5:06 p.m.
Hi, Newbie question follows:
I'm trying to fix bug #1664790 ("Display mode toggle doesn't update radio button"). Today's the first time I have delved into the Inkscape sources. I've got the hang of how the menu UI portion is generated automatically and how verbs work (more or less). I've also been able to trace my way to the Desktop class's setDisplayModeNormal( ) and setDisplayModeOutline( ) functions which is where I should implement logic to toggle the radio button change for it to happen. Question is, how to get the GTK widget handle for the main menu bar? I couldn't find any helper functions in Desktop nor any in events.cpp
TIA, Irfan.