summaryrefslogtreecommitdiffstats
path: root/ext/tk/lib/tkextlib/tile
diff options
context:
space:
mode:
authornagai <nagai@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-06-16 09:22:01 +0000
committernagai <nagai@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-06-16 09:22:01 +0000
commit636794bb8a09ef4a40e309569d9e1253b073857e (patch)
tree9beda484947faedf0e6450bf68a760b36fcda3a0 /ext/tk/lib/tkextlib/tile
parente2bf2bdbcc5ecf0b8615c5b51aca79f180cbecbb (diff)
downloadruby-636794bb8a09ef4a40e309569d9e1253b073857e.tar.gz
ruby-636794bb8a09ef4a40e309569d9e1253b073857e.tar.xz
ruby-636794bb8a09ef4a40e309569d9e1253b073857e.zip
* lib/tkextlib/SUPPOPRT_STATUS: add RELEASE_DATE information.
* lib/tkextlib/tile/style.rb: add "style element options <elem>" command support. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@8634 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/tk/lib/tkextlib/tile')
-rw-r--r--ext/tk/lib/tkextlib/tile/style.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/ext/tk/lib/tkextlib/tile/style.rb b/ext/tk/lib/tkextlib/tile/style.rb
index 99b2fd0e7..4245d315f 100644
--- a/ext/tk/lib/tkextlib/tile/style.rb
+++ b/ext/tk/lib/tkextlib/tile/style.rb
@@ -67,6 +67,10 @@ class << Tk::Tile::Style
list(tk_call('style', 'element', 'names'))
end
+ def element_options(elem)
+ simplelist(tk_call('style', 'element', 'options', elem))
+ end
+
def theme_create(name, keys=nil)
if keys && keys != None
tk_call('style', 'theme', 'create', name, *hash_kv(keys))