mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* ext/tk/lib/tk/font.rb: add some TkFont class methods to get font
information without creating a TkFont object. * ext/tk/lib/tkextlib/treectrl/tktreectrl.rb: bug fix and define some classes for components of Tk::TreeCtrl git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8175 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
7ffe69662b
commit
58bc7420de
5 changed files with 1466 additions and 606 deletions
|
@ -1,3 +1,11 @@
|
|||
Sat Mar 19 00:41:02 2005 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
|
||||
|
||||
* ext/tk/lib/tk/font.rb: add some TkFont class methods to get font
|
||||
information without creating a TkFont object.
|
||||
|
||||
* ext/tk/lib/tkextlib/treectrl/tktreectrl.rb: bug fix and define some
|
||||
classes for components of Tk::TreeCtrl
|
||||
|
||||
Thu Mar 17 17:42:13 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
|
||||
|
||||
* struct.c (make_struct): allow non local-id field
|
||||
|
|
|
@ -1,7 +1,12 @@
|
|||
2005-03-18 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
|
||||
|
||||
* lib/tkextlib/treectrl/tktreectrl.rb: bug fix and define some
|
||||
classes for components of Tk::TreeCtrl
|
||||
|
||||
2005-03-17 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
|
||||
|
||||
* lib/tkextlib/treectrl/tktreectrl.rb: call wrong method in
|
||||
Tk::TreeCtrl#*_configinfo and current_*_configinfo method
|
||||
Tk::TreeCtrl#*_configinfo and current_*_configinfo method
|
||||
|
||||
2005-03-16 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
|
||||
|
||||
|
|
File diff suppressed because it is too large
Load diff
|
@ -12,12 +12,12 @@
|
|||
# And the format of the menu_info is:
|
||||
# [
|
||||
# [text, underline, configs], # menu button/entry (*1)
|
||||
# [label, command, underline, accelerator, configs], # command entry
|
||||
# [label, TkVar_obj, underline, accelerator, configs], # checkbutton entry
|
||||
# [label, command, underline, accelerator, configs], # command entry
|
||||
# [label, TkVar_obj, underline, accelerator, configs], # checkbutton entry
|
||||
# [label, [TkVar_obj, value],
|
||||
# underline, accelerator, configs], # radiobutton entry
|
||||
# underline, accelerator, configs], # radiobutton entry
|
||||
# [label, [[...menu_info...], [...menu_info...], ...],
|
||||
# underline, accelerator, configs], # cascade entry
|
||||
# underline, accelerator, configs], # cascade entry (*2)
|
||||
# '---', # separator
|
||||
# ...
|
||||
# ]
|
||||
|
@ -33,6 +33,10 @@
|
|||
# and *.apple for Mac), append 'menu_name'=>name (name is 'help' for UNIX,
|
||||
# 'system' for Win, and 'apple' for Mac) option to the configs hash of
|
||||
# menu button/entry information.
|
||||
#
|
||||
# NOTE: (*2)
|
||||
# If you want to configure a cascade menu, add :menu_config=>{...configs..}
|
||||
# to the configs of the cascade entry.
|
||||
|
||||
module TkMenuSpec
|
||||
def _create_menu(parent, menu_info, menu_name = nil,
|
||||
|
|
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue