mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
382b4ae9a3
* replace Tcl/Tk's vwait and tkwait to switch on threads smoothly and avoid seg-fault. * add TclTkIp._thread_vwait and _thread_tkwait for waiting on a thread. ( Because Tcl/Tk's vwait and tkwait command wait on a eventloop. ) ext/tk/lib/multi-tk.rb: * support TclTkIp._thread_vwait and _thread_tkwait ext/tk/lib/tk.rb: * now, TkVariable#wait has 2 arguments. If 1st argument is true, waits on a thread. If false, waits on an eventloop. If 2nd argument is true, checks existence of rootwidgets. If false, doesn't. Default is wait(true, false). * add TkVariable#tkwait(arg) which is equal to TkVariable#wait(arg, true) * wait_visibility and wait_destroy have an argument for waiting on a thread or an eventloop. * improve of accessing Tcl/Tk's special variables ext/tk/lib/tkafter.rb: * support 'wait on a thread' and 'wait on an eventloop' git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4762 b2dd03c8-39d4-4d8f-98ff-823fe69b080e |
||
---|---|---|
.. | ||
multi-tk.rb | ||
README | ||
tk.rb | ||
tkafter.rb | ||
tkbgerror.rb | ||
tkcanvas.rb | ||
tkclass.rb | ||
tkconsole.rb | ||
tkdialog.rb | ||
tkentry.rb | ||
tkfont.rb | ||
tkmacpkg.rb | ||
tkmenubar.rb | ||
tkmngfocus.rb | ||
tkpalette.rb | ||
tkscrollbox.rb | ||
tktext.rb | ||
tkvirtevent.rb | ||
tkwinpkg.rb |
README this file multi-tk.rb multiple Tk interpreter (included safe-Tk) support tk.rb Tk interface tkafter.rb handles Tcl after tkbgerror.rb Tk error module tkcanvas.rb Tk canvas interface tkclass.rb provides generic names for Tk classes tkconsole.rb console command support tkdialog.rb Tk dialog class tkentry.rb Tk entry class tkfont.rb Tk font support tkmacpkg.rb Mac resource support tkmenubar.rb TK menubar utility tkmngfocus.rb focus manager tkpalette.rb pallete support tkscrollbox.rb scroll box, also example of compound widget tktext.rb text classes tkvirtevent.rb virtual event support tkwinpkg.rb Win DDE and registry support