mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* ext/tcltklib/tcltklib.c: add TclTkIp#_create_console() method to
create a Tcl/Tk's console window. * ext/tk/lib/multi-tk.rb: support TclTkIp#_create_console() method. * ext/tk/lib/remote-tk.rb: ditto. * ext/tk/lib/tk/console.rb: ditto. * ext/tk/lib/tk.rb: update RELEASE_DATE * ext/tk/sample/demo-*/check2.rb: use 'return' in the Proc object. * ext/tk/sample/tkextlib/**: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8213 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
496cf2d757
commit
69ef4bae62
16 changed files with 594 additions and 442 deletions
|
@ -111,6 +111,7 @@ class TkTreeCtrl_demo
|
|||
[['File']]
|
||||
]
|
||||
if Tk::PLATFORM['platform'] != 'unix'
|
||||
TkConsole.create
|
||||
TkConsole.eval('.console conf -height 8')
|
||||
menuspec[0] << ['Console', proc{
|
||||
if TkComm.bool(TkConsole.eval('winfo ismapped .'))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue