From: Peter G. <pe...@pg...> - 2007-03-17 21:54:11
|
DialogBlocks is a Gui Builder, produces XXL code which can be loaded by Perl. So I don't really understand this thread. On Sat, 2007-03-17 at 14:03 -0700, Eric Wilhelm wrote: > # from Bob Hunter > # on Saturday 17 March 2007 01:44 pm: > > >but got stuck when adding the menu bar and its > >items. I went back to wxGlade, only to find that the > >code it generates is both old and bugged. Further, a > >tutorial makes it clear that wxGlade overwrites the > >code, so we cannot change it by hand. > > Imagine that! And here everyone else says it's good enough, so it must > be, right? > > The solution that I chose involves storing the menu declaration in YAML, > though the caller loads the YAML and passes a data-structure to the > API. It's still preliminary and obviously not for everyone, but hey > it's not a one-way street that starts in python and drops your menu > items on the floor. > > http://svn.dotreader.com/svn/dotreader/trunk/lib/WxPerl/MenuMaker.pm > http://svn.dotreader.com/svn/dotreader/trunk/lib/dtRdr/GUI/Wx/Frame.pm > http://svn.dotreader.com/svn/dotreader/trunk/client/data/menu.conf > > --Eric |