From: Hal Fulton Date: 2004-04-09T13:23:17+09:00 Subject: Re: Idea: Simplified GTK Gregory Millam wrote: > Gaah! I've been working on an implementation of EzGtk and I came across this problem: > > What's a good way to specify packing options using EzGtk style? - Or for that matter, alignment? I'm not ready to let this thread die. ;) > Mostly came up during this > > vbox { > expand false # don't expand and fill, give other widgets priority > menubar { > menu "File" { > menuitem "Open" { ... } > ... > } > align_right > menu "Help" { > ... > } > } > expand true # Widgets after this get all the extra space > scintilla { ... } > } > > Thoughts? ideas? I thought these options were constant for the container? I guess I'm wrong about that? > (Regarding the 'scintilla' bit: I wrote a ruby-gtk2 binding for scintilla last December (for gtk2, as opposed to fxscintilla). I just haven't bothered finishing it up yet, or figured out how get extconf working to make it releasable. It's still highly usable - the only things not implemented are those that involve styles (where a string is a set of 16 bit "characters" - one character byte, one style byte)) That's very cool. Scintilla is as powerful as they come (afaik). Its learning curve ranges from shallow to vertical, though. Hal