summaryrefslogtreecommitdiffstats
path: root/ext/tk/sample
Commit message (Collapse)AuthorAgeFilesLines
...
* * ext/tk/stubs.c: When --enable-tcltk-stubs, the initializenagai2005-07-281-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | routine creates a Tcl/Tk interpreter and deletes it. However, init cost of Tk's MainWindow is not so small. And that makes it impossible to use libraries written with Tcl functions only on an environment without a graphical display. This changes support delaying initalization of Tk_Stubs until the script needs Tk. * ext/tk/stubs.h: New file. Define prototypes and return codes of functions on stubs.c. * ext/tk/tcltklib.c: Support delaying initalization of Tk_Stubs until the script needs Tk. * ext/tk/tcltklib.c: Show friendly error messages for errors on initialization. * ext/tk/tcltklib.c: Avoid SEGV on ip_finalize() when ruby is exiting and $DEBUG is true. (Not fix. If you know the reason of why, please fix it.) * ext/tk/tkutil/tkutil.c (ary2list, ary2list2): bug fix on handling of encoding. * ext/tk/lib/multi-tk.rb: MultiTkIp#eval_string and bg_eval_string don't work propery. * ext/tk/lib/tk.rb: Forget extending Tk::Encoding module to Tk. * ext/tk/lib/tk/variable.rb: TkVarAccess fails to initialize the object for an element of a Tcl's array variable. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8860 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/sample/tkextlib/tile/demo.rb: fixed typo.ocean2005-07-271-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8842 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/sample/demos-jp/ctext.rb: modify improper message text.nagai2005-06-151-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8624 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/sample/tkextlib/tile/themes/kroc.{rb,tcl}: also support tile 0.4.ocean2005-06-072-9/+25
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8584 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * sample/tkextlib/tile/themes/kroc.{rb,tcl}: support tile 0.5 or later.ocean2005-06-072-52/+111
| | | | | | | ("pixmap" element constructor replaced by "image") git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8577 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/lib/tk/console.rb: create console when requiredocean2005-06-061-0/+1
| | | | | | | * ext/tk/sample/tkextlib/tile/demo.rb: create Console (commit miss?) git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8571 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/lib/tk/console.rb: create console when requirednagai2005-06-051-0/+1
| | | | | | | * ext/tk/sample/tkextlib/tile/demo.rb: fix TypeError & create Console git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8569 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* commit miss...ocean2005-04-101-5/+1
| | | | | | | | | | * sample/tkextlib/treectrl/explorer.rb: File.executable? returns true even if it's plain text file. (this function only checks access right) again. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8296 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/sample/tkextlib/treectrl/mailwasher.rb: fixed typo. [ruby-dev:26008]ocean2005-04-091-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8292 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/lib/tk.rb: update RELEASE_DATEnagai2005-04-0919-0/+1337
| | | | | | | | | | | | | | | * ext/tk/lib/tk/image.rb: support to create TkImage object without creating a new image object on Tk. * ext/tk/lib/tk/menu.rb: use TkCommandNames on create_self() * ext/tk/lib/tk/root.rb: TkRoot.to_eval() returns '.'. * ext/tk/lib/tk/text.rb: add methods to create a TkText::IndexString from (x, y) coords. * ext/tk/lib/tkextlib/tile.rb: bug fix and update support status. * ext/tk/lib/tkextlib/tile/*.rb: ditto. * ext/tk/sample/tkextlib/tile: New demo. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8291 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/sample/tkextlib/treectrl/explorer.rb: File.executable? returns trueocean2005-04-091-10/+2
| | | | | | | even if it's plain text file. (this function only checks access right) git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8287 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/sample/demos-jp/goldberg.rb: reduced text size of "click toocean2005-04-091-2/+2
| | | | | | | continue". [ruby-dev:26003] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8286 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/sample/tkextlib/treectrl/{help,www-options}.rb: fixed typo.ocean2005-04-092-5/+5
| | | | | | | (click or resize column header) git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8285 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/sample/tkextlib/treectrl/imovie.rb: fixed typo. (click on clip title)ocean2005-04-081-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8281 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/sample/tkextlib/treectrl/random.rb: fixed typo. (drop node outside ofocean2005-04-081-1/+1
| | | | | | | widget, or reenter widget while draggging) git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8280 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/sample/tkextlib/treectrl/outlook-newgrounp.rb: image had disappered ↵ocean2005-04-081-3/+3
| | | | | | | | | when node was selected. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8279 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/sample/tkextlib/treectrl/outlook-newgroup.rb: tk::treectrl uses ↵ocean2005-04-082-21/+24
| | | | | | | | | | | | | | | | | | | | | 'afterId' not 'afterID'. * ext/tk/sample/tkextlib/treectrl/random.rb: ditto. * ext/tk/sample/tkextlib/treectrl/outlook-newgroup.rb: item_firstchild can return empty string. (drag onto leaf node) * ext/tk/sample/tkextlib/treectrl/random.rb: ditto. * ext/tk/sample/tkextlib/treectrl/random.rb: comparation failed at Enumerable#find because of type mismatch. (ex: "10" != 10) * ext/tk/sample/tkextlib/treectrl/random.rb: and some fixes. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8276 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/tkextlib/treectrl/tktreectrl.rb (selection_clear): fixed typo.ocean2005-04-082-5/+6
| | | | | | | | | * sample/tkextlib/treectrl/random.rb: node deselection now works. * sample/tkextlib/treectrl/demo.rb: fixed typo. (popup menu on column header) git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8275 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/sample/tkextlib/treectrl/help.rb: fixed typo. (wrong color)ocean2005-04-071-3/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8274 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * sample/tkextlib/treectrl/*.rb: fixed typo. (wrong itemheight)ocean2005-04-076-21/+81
| | | | | | | | * sample/demos-{en,jp}/goldberg.rb: reduced canvas size. [ruby-dev:25992] (written by Hidetoshi NAGAI) git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8270 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/treectrl/tktreectrl.rb: performance tuning. (call tk_send_without_encocean2005-04-079-59/+61
| | | | | | | | | | if possible) * sample/tkextlib/treectrl/*.rb: some speed up... cache the result of version checking. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8265 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/lib/tk/dialog.rb: fixed typo.ocean2005-04-041-0/+0
| | | | | | | | | * ext/tk/lib/tkextlib/tktable/tktable.rb: added Tk::TkTable#selection_present. * ext/tk/sample/tkextlib/vu/dial_demo.rb: renamed as well as vu_demo.rb. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8247 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/lib/tk.rb (TkWindow.initialize): accept 'without_creating'nagai2005-04-011-0/+4
| | | | | | | | | | option without 'widgetname' option to allow creating a widget object which is used as an argument of Tcl/Tk's widget allocation commands. * ext/tk/lib/tk/image.rb (TkImage.initialize): accept 'imagename' option to create a image object by the given name. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8237 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/ChangeLog.tkextlib: add log of the modification bynagai2005-04-011-2/+8
| | | | | | | | | ocean <ocean@ruby-lang.org>. * ext/tk/sample/tkextlib/treectrl/demo.rb: bridge the gap of Hash#index or Hash#key between ruby 1.8 and 1.9 git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8236 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/tkextlib/blt/component.rb: bug fix on treatment ofnagai2005-04-011-0/+2218
| | | | | | | | component objects. * sample/tkextlib/blt/graph6.rb: a new sample script. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8234 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/sample/tkextlib/treectrl/demo.rb: should use Hash#index.ocean2005-03-312-3/+6
| | | | | | | | | * ext/tk/sample/tkextlib/treectrl/demo.rb: TkImage was not cached properly. * ext/tk/sample/tkextlib/treectrl/random.rb: fixed typo. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8233 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * sample/tkextlib/iwidgets/sample/hierarchy.rb: show basenamenagai2005-03-314-10/+50
| | | | | | | | | | | | only [ruby-dev:25970] * sample/tkextlib/treectrl/demo.rb: add check for existence of 'backgroundimage' option. * sample/tkextlib/treectrl/bitmaps.rb: ditto. * sample/tkextlib/treectrl/outlook-newgroup.rb: lack of '%I' event callback argument. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8231 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * sample/tkextlib/iwidgets/sample/hierarchy.rb: fail to treatnagai2005-03-301-4/+4
| | | | | | | Japanese (i18n?) filenames. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8222 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/tcltklib.c: add TclTkIp#_create_console() method to createnagai2005-03-3010-416/+454
| | | | | | | | | | | | | 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: http://svn.ruby-lang.org/repos/ruby/trunk@8212 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/tkextlib/blt/component.rb: cannot create elements exceptnagai2005-03-294-0/+207
| | | | | | | | | | | | | | default type of element. * lib/tkextlib/blt/barchart.rb: ditto. * lib/tkextlib/blt/graph.rb: ditto. * lib/tkextlib/blt/stripchart.rb: ditto. * lib/tkextlib/blt/component.rb: axis command option gets proper object type of arguments. * sample/tkextlib/blt/calendar.rb: new sample. * sample/tkextlib/blt/pareto.rb: ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8208 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* added as binary (from ruby_1_8)ocean2005-03-273-0/+0
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8200 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* removed temporalyocean2005-03-273-0/+0
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8199 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/lib/tk.rb (_callback_entry_class?): add for checking whethernagai2005-03-2677-0/+4652
| | | | | | | | | | | | | | | | | | | | | | | | | | | a class is available for a callback entry. * ext/tk/lib/tk.rb (after_cancel): add Tk.after_cancel(afterID) method. * ext/tk/lib/tk.rb (array2tk_list): change from private module method of TkComm to public module method. * ext/tk/lib/tk.rb (cget): add check that slot argument is not empty string. * ext/tk/lib/tk.rb (configinfo): ditto. * ext/tk/lib/tk/itemconfig.rb (itemcget): add check that slot argument is not empty string. * ext/tk/lib/tk/itemconfig.rb (itemconfiginfo): ditto. * ext/tk/lib/tk/entry.rb: add TkEntry#icursor and icursor= (alias of cursor and cursor= method). * ext/tk/lib/tk/font.rb: improve font treatment when the font name is empty string. * ext/tk/lib/tk/variable.rb: add :variable, :window and :procedure type. * ext/tk/lib/tk/variable.rb: improve treatment of array-type tkvariable. * ext/tk/lib/tkextlib/blt.rb: add commands for zooming. * ext/tk/lib/tkextlib/blt/*: bug fix. * ext/tk/lib/tkextlib/treectrl/tktreectrl.rb: bug fix and add methods to call TreeCtrl commands for bindings. * ext/tk/sample/tkextlib/blt/*: new sample scritps. * ext/tk/sample/tkextlib/treectrl/*: ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8195 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/sample/tkextlib/tkimg/*: Tk::Img extension samplenagai2005-03-153-0/+1522
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8150 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/lib/tk/timer.rb (TkTimer): forgot to clear @return_valuenagai2005-03-141-0/+81
| | | | | | | | when restarting * ext/tk/lib/tk/sample/cd_timer.rb: new sample of TkRTTimer git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8146 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/lib/tk/timer.rb (TkRTTimer): correct calculation of offsetnagai2005-03-136-34/+126
| | | | | | | | | | | | | | value. get a little better accuracy. * ext/tk/sample/demos-en/widget: use a binding with no local variables when eval a sample script. * ext/tk/sample/demos-en/bind.rb: ditto. * ext/tk/sample/demos-en/tcolor: ditto. * ext/tk/sample/demos-jp/widget: ditto. * ext/tk/sample/demos-jp/bind.rb: ditto. * ext/tk/sample/demos-jp/tcolor: ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8143 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/tcltklib.c (lib_eventloop_ensure): mis-delete a timer handlernagai2005-03-104-12/+98
| | | | | | | | | | | | | | | | when exit from a recursive called eventloop * ext/tk/lib/tk/timer.rb: new TkRTTimer class, which can works for a realtime operation * ext/tk/sample/tkrttimer.rb: sample of TkRTTimer class * ext/tk/lib/tk/textmark.rb: move TkTextMark#+ and TkTextMark#- to TkText::IndexModMethods * ext/tk/lib/tk/text.rb: improve TkTextMark#+ and TkTextMark#-, and add them to TkText::IndexModMethods module * ext/tk/sample/tktextio.rb: add test part of "seek by text index modifiers" git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8133 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/sample/demo-jp/floor.rb: bug on scrollbar assignmentnagai2005-03-094-8/+8
| | | | | | | | | * ext/tk/sample/demo-jp/floor2.rb: ditto * ext/tk/sample/demo-en/floor.rb: ditto * ext/tk/sample/demo-en/floor2.rb: ditto git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8131 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (gettable_gen): warns if VCALL name is used asmatz2005-03-094-8/+8
| | | | | | | | | | out-of-scope block local variable. [EXPERIMENTAL] * parse.y (opt_bv_decl): add explicit block local variable declaration. raises error for name conflicts. [EXPERIMENTAL] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8128 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/sample/tktextio.rb: add show_mode which means that see wherenagai2005-03-091-2/+64
| | | | | | | when changing file position. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8126 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/sample/tktextio.rb: fix bug of handling 'end' position.nagai2005-03-091-27/+79
| | | | | | | support initial text, overwrite setting and pos_gravity control. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8124 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/sample/tktextio.rb: add commentnagai2005-03-081-2/+10
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8120 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/sample/tktextio.rb: New sample script. TkTextIO class in thisnagai2005-03-081-0/+463
| | | | | | | | sample supports to use a text widget as if it is a I/O stream (such like as StringIO class). git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8117 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/tcltklib.c: enforce thread-check and exception-handling tonagai2005-03-0211-4/+4666
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | avoid SEGV trouble. * ext/tk/tkutil/tkutil.c; fix a bug on converting a SJIS string array to a Tcl's list string. * ext/tk/tcltklib.c: wrap Tcl's original "namespace" command to protect from namespace crash. * ext/tk/lib/multi-tk.rb: enforce exception-handling. * ext/tk/lib/multi-tk.rb: catch IRB_EXIT to work on irb. * ext/tk/lib/tk.rb: ditto. * ext/tk/tcltklib.c: add TclTkLib.mainloop_thread? * ext/tk/lib/multi-tk.rb: (bug fix) callback returns a value. * ext/tk/lib/tk/canvas.rb (delete): bug fix when multiple arguments. * ext/tk/lib/clock.rb: fix 'no method error'. * ext/tk/lib/clock.rb (self.clicks): accept a Symbol argument. * ext/tk/lib/variable.rb: be able to set default_value_type; :numeric, :bool, :string, :symbol, :list, :numlist or nil (default; same to :string). If set a type, TkVariable#value returns a value of the type. * ext/tk/lib/tkextlib/tclx/tclx.rb: add Tk::TclX.signal to warn the risk of using TclX extension's 'signal' command. * ext/tk/sample/irbtk.rb: irb with Ruby/Tk. * ext/tk/sample/demos-*/anilabel.rb: bug fix on 'show code' * ext/tk/sample/demos-*/aniwave.rb: new Ruby/Tk animation demo. * ext/tk/sample/demos-*/pendulum.rb: ditto. * ext/tk/sample/demos-*/goldberg.rb: ditto. * ext/tk/sample/demos-*/widget: add entries of animation demos. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8046 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk: merge tcltklib for Ruby/Tk installation controlnagai2005-01-2511-0/+1400
| | | | | | | * ext/tcltklib: remove git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7826 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/sample/vu/vu_demo.rb: rename from vu.rb; avoid the bug onnagai2005-01-251-0/+0
| | | | | | | | | Windows version of Tcl/Tk. The trouble based on the bug occurs when the script name (without extension) is a same name as a Tcl/Tk's library file name (without extension) required in the script. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7823 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tcltklib/tcltklib.c: fix SEGV bug; trouble on canceling remainednagai2005-01-255-2/+361
| | | | | | | | | | | | | | | | | | | | | | | | | | after scripts [ruby-dev:25479]: NULL current namespce when deleting Tk interpreter [ruby-talk:126225] * ext/tcltklib/extconf.rb: bug fix; TCL_ENABLE_THREAD flag is inverted [ruby-talk:126360] * ext/tcltklib/extconf.rb: add yet another native-thread check * ext/tk/tkutil.c: fix SEGV bug; NULL string pointer when finalize Ruby interpreter * ext/tk/lib/multi-tk.rb: avoid warning for deleted safeTk ip frame * ext/tk/lib/tk/bindtag.rb: bug fix; new method of named bindtag doesn't return the created object [ruby-dev:25479] * ext/tk/lib/tk/menu.rb: bug on treating arguments [ruby-dev:25479] * ext/tk/lib/tk.rb: bug fix; cannot accept a callback ID string for a command argument [ruby-dev:25479] * ext/tk/lib/multi-tk.rb: ditto * ext/tk/lib/tk/*.rb: ditto * ext/tk/lib/tkextlib/*.rb: ditto * ext/tk/sample/demos-jp/anilabel.rb: new demo script * ext/tk/sample/demos-en/anilabel.rb: ditto * ext/tk/sample/tkHTML/ss.rb: local variable scope bug fix [ruby-dev:25479] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7821 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/sample/demos-en/widget: modify version check for supporting featuresnagai2004-12-161-4/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7576 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/lib/tk.rb: widget configuration by TkWindow#method_missingnagai2004-12-022-4/+4
| | | | | | | | | | | | | returns proper object. "widget.option = val" returns val, and "widget.option(val)" returns self. * ext/tk/lib/tk/font.rb: TkFont#replace accepts only one font argument. * ext/tk/lib/tk/radiobutton.rb: add TkRadiobutton#value and value=(val). * ext/tk/lib/tk/spinbox.rb: callback substitution support on command option. * ext/tk/sample/demos-en/widget: bug fix (wrong image height) * ext/tk/sample/demos-jp/widget: ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7442 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/lib/tk.rb: support to use different Tcl commands betweennagai2004-11-031-1/+1
| | | | | | | | | | | | | configure and configinfo * ext/tk/lib/font.rb: ditto. * ext/tk/lib/itemconfig.rb: support to use different Tcl commands between item_configure and item_configinfo * ext/tk/lib/itemfont.rb: ditto. * ext/tk/extconf.rb: install SUPPORT_STATUS * ext/tk/lib/tkextlib: some bug fixes (see ext/tk/ChangeLog.tkextlib) git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7188 b2dd03c8-39d4-4d8f-98ff-823fe69b080e