T
tony summerfelt
If you don't like the feel of tk but are addicted to the toolkit, I recommend
you look in to the Tk::Tile extension.
i will do that
If you don't like the feel of tk but are addicted to the toolkit, I recommend
you look in to the Tk::Tile extension.
Additional Information.;-)
On ruby-1.8.4, "Tk::Tile.__Import_Tile_Widgets__!" method was added.
After calling the method, some widget classes denote classes on Tile
(e.g. TkButton.new generates a Tk::Tile::Button widget).
From: (e-mail address removed)
Subject: Re: Question about GUI API for Ruby
Date: Sat, 14 Jan 2006 01:09:07 +0900
Additional Information.;-)
On ruby-1.8.4, "Tk::Tile.__Import_Tile_Widgets__!" method was added.
After calling the method, some widget classes denote classes on Tile
(e.g. TkButton.new generates a Tk::Tile::Button widget).
Message-ID: said:Very nice. Why can't this be used on initialization if tile is available?
Also have a method to deactivate the feature.
Message-ID: said:Well, heres a good question. How can one load a different style. I see a
method declared Tile.style, but I can't seem to load Clam style
Tk::Tile.style('Clam')
If called the method, the feature cannot be deactivated.
The method replaces some commands on *TK INTERPRETER*.
So, some mega-widgets may be able to benefit by Tile extension.
But, it is very risky because Tile widgets are NOT full compatible
to standard widgets.
It means that the method may make some other mega-widgets not work.
In the near future when Tile extension will be one of the standard
library of Tcl/Tk8.5, the risk may not exist or the feature may
be able to be deactivated.
Before that, the dangerous method cannot be called by default.
Thanks for this reply. I think it points out something fundamental inAre you putting the non-ruby files in the application directory and
using tar2rubyapp (or whatever it's called) in conjunction with
rubyscript2exe?
I've used rubyscript2exe a lot to deploy both FXRuby apps and Ruby-Gtk2
apps and, if I remember correctly, if you place the non-ruby files like
dlls and image files in the application directory that you use in
conjunction with tar2rubyscript, it will include these files in the exe.
HTH,
Jamey Cribbs
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.