From: Roger Pack Date: 2012-06-22T22:00:31+09:00 Subject: Re: simple_gui_creator 0.1.3 released > --- !artml-layout > > main_window: > +----------------+ > | [ button1 ] | > | [ button2 ] | > +----------------+ > > --- !artml-data > > main_window: !window > title: My Window Title > button1: !button > text: Click this button > button2: !button > text: Click this button too! Wow that's a great idea to tie it together with YAML for the text. I think I may implement it, since it help the GUI be cleaner :) "more funner" that is. > Anyway, I think it is a great idea (obviously) and Tk and (especially) > HTML > targets would be awesome. Does anybody use Tk these days? Any plus 1's out there for Tk? :) Re: HTML I thought the other day to try and tie "button clicks" etc., back in to server-side code, kind of like what wicket does in java (at least I think that's what wicket does). Does anybody know if anything like that exists today in ruby land? Like html_page = HtmlPage.new 'template_file' html_page['button1'].on_clicked_in_browser { html_page['text_field1'].text = 'hello there' } render html_page and callbacks for form validation, etc. That type of thing? I'm familiar with rails' ajax callbacks, which basically allow you to edit raw html, but something that wraps html pages "in ruby classes" at all? Thanks! -roger- -- Posted via http://www.ruby-forum.com/.