Hidetoshi NAGAI
6/26/2008 3:25:00 PM
From: "Martin DeMello" <martindemello@gmail.com>
Subject: Can your GUI framework do this?
Date: Sun, 8 Jun 2008 08:29:55 +0900
Message-ID: <f93a6bcc0806071631g4d2bc263tce130e8f3c2f7e81@mail.gmail.com>
> Examples (more welcomed):
On Ruby/Tk,
> 1. An icon widget, that combines a picture and a textfield
> underneath, with config options to turn either off or size the image,
> make the text editable, etc
Use a TkLabel widget.
> 2. A speedometer-type dial with a configurable range and tick interval
Use (install) Tcl/Tk's VU extension.
Ruby/Tk has a wrapper library for the extension.
> 3. A box that holds a component and paints a customised border around it
Probably, a TkFrame widget is enough to do this.
> 4. A pure-ruby implementation of a wrapbox
Use a TkText widget and TkTextWindow objects.
--
Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp)