On Fri, Oct 10, 2008 at 09:58:42AM -0400, Guoliang Cao wrote:
> I agree shoes should stay small and simple whenever possible. However,
> complex widgets should be possible and some guide lines are needed for
> people who like to work on them. Can you recommend any resource for
> widget development? 

If you're talking about building widgets in pure Ruby (painting them
yourself) see this blog entry:
<http://hackety.org/2008/06/12/martinDemellosGooeyChallenge.html>

If you want to write a cross-platform control in C and expose some
Ruby methods, you'll probably want to look inside shoes/ruby.c.  A
good place to start is by looking through the code for the button
control (everything starting with `shoes_button_`) because it's a
good simple example.

I haven't worked much on widgets because they're not relevant to
the Hackety Hack lessons, but I try to answer any bugs that come
along.

_why

Reply via email to