mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* bug fix
* fix lack of methods for TkEntry * fix reference of uninitialized variables git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4231 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
029e9449ce
commit
4e0bb56f21
6 changed files with 33 additions and 6 deletions
|
@ -57,6 +57,7 @@ class TkDialog2 < TkWindow
|
|||
|
||||
@message = message
|
||||
@message_config = message_config
|
||||
@msgframe_config = msgframe_config
|
||||
|
||||
@bitmap = bitmap
|
||||
@bitmap_config = message_config
|
||||
|
@ -65,10 +66,13 @@ class TkDialog2 < TkWindow
|
|||
|
||||
@buttons = buttons
|
||||
@button_configs = proc{|num| button_configs(num)}
|
||||
@btnframe_config = btnframe_config
|
||||
|
||||
#@config = "puts [winfo children .w0000];"
|
||||
@config = ""
|
||||
|
||||
@command = nil
|
||||
|
||||
if keys.kind_of? Hash
|
||||
keys = _symbolkey2str(keys)
|
||||
@title = keys['title'] if keys.key? 'title'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue