* ext/tk/lib/tk/dialog.rb: If a dialog does not show up yet,
TkDialogObj#name raises an exception. [ruby-talk:156109] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9165 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
8bfc6d7493
commit
a2e57fd160
@ -1,3 +1,8 @@
|
||||
Thu Sep 15 11:39:18 2005 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
|
||||
|
||||
* ext/tk/lib/tk/dialog.rb: If a dialog does not show up yet,
|
||||
TkDialogObj#name raises an exception. [ruby-talk:156109]
|
||||
|
||||
Thu Sep 15 11:01:58 2005 NAKAMURA Usaku <usa@ruby-lang.org>
|
||||
|
||||
* win32/win32.c (rb_w32_pipe_exec): remove unnecessary CloseHandle().
|
||||
|
@ -4437,7 +4437,7 @@ end
|
||||
#Tk.freeze
|
||||
|
||||
module Tk
|
||||
RELEASE_DATE = '2005-09-01'.freeze
|
||||
RELEASE_DATE = '2005-09-15'.freeze
|
||||
|
||||
autoload :AUTO_PATH, 'tk/variable'
|
||||
autoload :TCL_PACKAGE_PATH, 'tk/variable'
|
||||
|
@ -199,13 +199,14 @@ class TkDialogObj < TkWindow
|
||||
end
|
||||
|
||||
def name
|
||||
@buttons[@val]
|
||||
(@val)? @buttons[@val]: nil
|
||||
end
|
||||
######################################################
|
||||
# #
|
||||
# these methods must be overridden for each dialog #
|
||||
# #
|
||||
######################################################
|
||||
|
||||
############################################################
|
||||
# #
|
||||
# following methods should be overridden for each dialog #
|
||||
# #
|
||||
############################################################
|
||||
private
|
||||
|
||||
def title
|
||||
|
Loading…
x
Reference in New Issue
Block a user