From: Tim Ferrell Date: 2005-09-08T22:22:40+09:00 Subject: Re: Need help finding decent IDE/development environment for Windows oops ... copy and paste munged the last "end" ... it should be on a line by itself... sorry! Tim Ferrell wrote: > Glade might be what you are looking for... it seems to work well on > Windows and Linux and once you have designed your interface and saved > it you can do something like this: > > -- > require 'gtk2' > require 'libglade2' > > class SignalHandler > def method_missing(method, *args) > puts "#{method}: #{args}" > end > def on_QuitMenuItem_activate(*args) > Gtk.main_quit > end > end > > if $0 == __FILE__ > # initialize gtk > sigmap = SignalHandler.new > Gtk.init > # instantiate the main window > glade = GladeXML.new('gladetest.glade', nil, 'gladetest') > window = glade['MainWindow'] > # connect the signal handlers > window.signal_connect("destroy") { sigmap.on_QuitMenuItem_activate } > glade.signal_autoconnect_full do |source, target, signal, handler, data| > source.signal_connect(signal) { sigmap.send(handler, data) } > end > # show the main window > window.show > # start the main event loop > Gtk.main end > -- > > Hope this helps, > Tim > > Pe�a wrote: > >> jussij@zeusedit.com [mailto:jussij@zeusedit.com] wrote: >> >> #Lots of programmers like to leave the task of project management >> #up to the IDE. But this can be dangerous, as many times the IDE >> #will get into trouble with the project management, especially as >> #the complexity grows. >> >> my only need for an ide is a gui interface similar to that of vbasic >> forms or powerbuilder's painter. I'd be then happy if it converts the >> form into tk or even curses. It's a pain aligning widgets, especially >> if a user/customer dictates the layout. I'm still searching maybe >> someone has found one... >> >> kind regards -botp >> >> # >> #Jussi Jumppanen >> #Author: Zeus for Windows >> # >> # >> # >> >> >> >