mirror of
https://github.com/ruby/ruby.git
synced 2025-09-15 08:33:58 +02:00
* lib/tkextlib/SUPPOPRT_STATUS: add RELEASE_DATE information.
* lib/tkextlib/tile/style.rb: add "style element options <elem>" command support. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8634 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
79d206efef
commit
ffb1f5722b
3 changed files with 14 additions and 0 deletions
|
@ -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))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue