Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
Er... I wrote a rather good text-editor in Tk, and now want to make the whole thing appear as Gtk? How can I do it without rewriting the entire damn thing? Are there any conversion scripts available
You're probably out of luck. If you'd abstracted widget
creation you could change what types of widget you're
creating, but short of that you're probably in for a
complete rewrite. If you have access to a copy, section
2.6 of Design Patterns gives an example of using
the Bridge pattern to support different windowing toolkits.