Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

I've seen a few threads recently discussing WxPerl and XRC. I've been a Tk coder for years and am thinking about making the switch to WxWidgets using Perl because the GUI looks more up to date.

After doing some research it seems that I can use XRC or XML files to drive my UI and keep the main app neat and tidy from all the UI code. I understand how to use the XRC files to build the UI but what is the best method for coding and implementing the subroutines behind the events in the XRC file? As the XRC files can be dynamic in nature, what is the best way of implementing the subroutines for specific mouse clicks, enter key events etc?

Any insight would be greatly appreciated.

Thanks!

Replies are listed 'Best First'.
Re: Wx, XRC, and Subs?
by Anonymous Monk on Oct 27, 2008 at 15:08 UTC
      I forgot to mention that the apps I develop are turned into binaries via the PDK from activestate, so I'm not sure it's possible to encode the output from Glade but I will check into it further.
        of course it is, its just perl or xrc, whatever you wish