diff options
| author | nagai <nagai@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2006-07-03 10:08:11 +0000 |
|---|---|---|
| committer | nagai <nagai@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2006-07-03 10:08:11 +0000 |
| commit | c47bf50af77734b6e43a02486d2bf779bc80e19e (patch) | |
| tree | d6741514bddfd6563283c754b7712d4f96126ab6 /ext/tk/lib/tk.rb | |
| parent | c6956e0d72a68642807de2af7d9ddebd1cf01a6a (diff) | |
* ext/tk/tcltklib.c (ip_make_menu_embeddable): help to make a menu
widget embeddable (pack, grid, and so on) like as a general widget.
However, an embeddable menu may require to be definied some event
bindings for general use.
* ext/tk/lib/tk/event.rb: [bug fix] Tk.callback_break and
Tk.callback_continue don't work on MultiTkIp.
* ext/tk/lib/multi-tk.rb: ditto.
* ext/tk/lib/tk.rb: lack of Tk.callback_return.
* ext/tk/lib/tk/menu.rb: improve creating clone menus.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10461 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/tk/lib/tk.rb')
| -rw-r--r-- | ext/tk/lib/tk.rb | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/ext/tk/lib/tk.rb b/ext/tk/lib/tk.rb index c80dc45ea5..4504d1d2ec 100644 --- a/ext/tk/lib/tk.rb +++ b/ext/tk/lib/tk.rb @@ -1295,6 +1295,10 @@ module TkCore fail TkCallbackContinue, "Tk callback returns 'continue' status" end + def callback_return + fail TkCallbackReturn, "Tk callback returns 'return' status" + end + def TkCore.callback(*arg) begin if TkCore::INTERP.tk_cmd_tbl.kind_of?(Hash) @@ -4559,7 +4563,7 @@ end #Tk.freeze module Tk - RELEASE_DATE = '2006-06-27'.freeze + RELEASE_DATE = '2006-07-03'.freeze autoload :AUTO_PATH, 'tk/variable' autoload :TCL_PACKAGE_PATH, 'tk/variable' |
