summaryrefslogtreecommitdiffstats
path: root/ext/tk/sample
Commit message (Collapse)AuthorAgeFilesLines
...
* * ext/tk/sample/tkextlib/bwidget/tree.rb: bug fixnagai2004-10-241-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7108 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/lib/tk/*: untabifynagai2004-10-11179-5018/+5018
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7029 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/lib/tk/image.rb: bug fixnagai2004-10-042-0/+22
| | | | | | | * ext/tk/lib/tk/optiondb.rb: support definition of command resources on widgets git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6993 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tcltklib/tcltklib.c (ip_init): bug fixnagai2004-09-291-0/+29
| | | | | | | | | | * ext/tk/tkutil.c (get_eval_string_core): accept a Regexp object * ext/tk/lib/multi-tk.rb: fix bug on 'exit' operation * ext/tk/lib/tk/text.rb: 'tksearch' accepts a Regexp object as a matting pattern argument git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6973 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tcltklib/tcltklib.c: fix SEGV when (thread_)vwait or (thread_)tkwaitnagai2004-09-172-3/+18
| | | | | | | | | | | | * ext/tk/lib/tk.rb: add alias wait_window to wait_destroy * ext/tk/lib/multi-tk.rb: support calling 'mainloop' on slave interpreters (however, the 'real' eventloop must be run on the Default Master IP) * ext/tk/lib/remote-tk.rb: follow the changes of ext/tk/lib/multi-tk.rb * ext/tk/sample/remote-ip_sample2.rb: ditto * ext/tk/sample/tkoptdb-safeTk.rb: ditto git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6916 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/lib/tkoptdb-safeTk.rb: fix a bug depend on the changes of MultiTkIpnagai2004-09-151-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6911 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/lib/multi-tk.rb: MultiTkIp#eval_string was en-bugged by thenagai2004-09-141-4/+34
| | | | | | | previous changes. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6910 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tcltklib/tcltklib.c: fix SEGVnagai2004-09-142-93/+178
| | | | | | | | | * ext/tk/lib/multi-tk.rb: improve safe-level handling of argument proc * ext/tk/sample/multi-ip_sample.rb: rename of old 'safe-tk.rb' * ext/tk/sample/safe-tk.rb: new sample script git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6905 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/lib/multi-tk.rb: MultiTkIp.new_master and new_slave acceptnagai2004-09-131-13/+20
| | | | | | | safe-level value argument git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6899 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tcltklib/tcltklib.c: fix typo [ruby-talk:111266]nagai2004-09-021-2/+21
| | | | | | | | * ext/tk/lib/tk/text.rb: fix typo * ext/tk/lib/multi-tk.rb: improve safe-level treatment on slave IPs git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6852 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * rename files to avoid application (cvs and so on) troublesnagai2004-07-167-0/+0
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6654 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/sample/tkextlib/tktable/spreadsheet.rb: add a new samplenagai2004-07-151-0/+137
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6633 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/, ext/tcltklib/: bug fixnagai2004-07-1570-8/+1600
| | | | | | | | | | | | | | | | | | * ext/tk/lib/tk.rb: better operation for SIGINT when processing callbacks. * ext/tk/lib/tk/msgcat.rb: ditto. * ext/tk/lib/tk/variable.rb: ditto. * ext/tk/lib/tk/timer.rb: ditto. * ext/tk/lib/tk/validation.rb: add Tk::ValidateConfigure.__def_validcmd() to define validatecommand methods easier * ext/tk/lib/tk.rb (_genobj_for_tkwidget): support autoload Tk ext classes * ext/tk/lib/tk/canvas.rb and so on: remove the parent widget type check for items (e.g. canvas items; depends on the class) to avoid some troubles on Tk extension widget class definition. * ext/tk/lib/tkextlib/: add Iwidget and TkTable extension support * ext/tk/sample/tkextlib/: add samples of Iwidget and TkTable git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6630 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/lib/tk.rb: better operation for SIGINT when processing callbacks.nagai2004-07-099-0/+167
| | | | | | | | | | | * ext/tk/lib/tk/msgcat.rb: ditto. * ext/tk/lib/tk/variable.rb: ditto. * ext/tk/lib/tk/timer.rb: ditto. * ext/tk/lib/tk/validation.rb: add Tk::ValidateConfigure.__def_validcmd() to define validatecommand methods easier git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6608 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/lib : bug fixnagai2004-07-0823-0/+409
| | | | | | | | | | * ext/tk/lib/tkextlib/itcl : add [incr Tcl] support * ext/tk/lib/tkextlib/itk : add [incr Tk] support * ext/tk/lib/tkextlib/iwidgets : midway point of [incr Widgets] support * ext/tk/sample/tkextlib/iwidgets : very simple examples of [incr Widgets] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6602 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/lib : improve framework of developping Tcl/Tk extension wrappersnagai2004-07-0617-0/+5103
| | | | | | | * BWidget extension support on Ruby/Tk git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6586 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/lib/tcltklib : bug fixnagai2004-07-01104-7/+6062
| | | | | | | * ext/tk/lib/tk : bug fix and add Tcl/Tk extension support libraries git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6559 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tcltklib/extconf.rb: [EXPERIMENTAL] MacOS X (darwin) supportnagai2004-06-122-0/+107
| | | | | | | | | | | | | | * ext/tcltklib/tcltklib.c: fix thread trouble on callback proc, and eliminate warning about instance variable access * ext/tk/lib/tk/menubar.rb: improve supported menu_spec * ext/tk/lib/tk/menuspec.rb: [add] menu_spec support library * ext/tk/lib/tk/root.rb: add menu_spec support * ext/tk/lib/tk/text.rb: bug fix * ext/tk/lib/tk/toplevel.rb: add menu_spec support * ext/tk/sample/menubar?.rb: [add] sample of menu_spec usage git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6454 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/sample/remote-ip_sample2.rb: modifynagai2004-05-221-10/+10
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6390 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * add a new sample 'ext/tk/sample/remote-ikp_sample2.rb'nagai2004-05-222-1/+54
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6385 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/lib/tk.rb: add Tk.appsend_deny and improve Tk.rb_appsendnagai2004-05-211-0/+33
| | | | | | | | | * ext/tk/lib/tk.rb, ext/tk/lib/tk/*.rb : replace obj.send() -> obj.__send__() * ext/tk/lib/remote-tk.rb: add a new library which create an object to control a Tk interpreter on the other process git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6384 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * add a new sample scriptnagai2004-05-162-0/+404
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6343 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/lib/tk/canvas.rb: improve coords support for canvas items.nagai2004-05-142-5/+3
| | | | | | | | | | | | | Now, supports all of the followings. TkcLine.new(c, 0, 0, 100, 100, :fill=>'red') TkcLine.new(c, [0, 0, 100, 100], :fill=>'red') TkcLine.new(c, [0, 0], [100, 100], :fill=>'red') TkcLine.new(c, [[0, 0], [100, 100]], :fill=>'red') TkcLine.new(c, :coords=>[0, 0, 100, 100], :fill=>'red') TkcLine.new(c, :coords=>[[0, 0], [100, 100]], :fill=>'red') git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6309 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/lib/tk/composite.rb: improve configure methods. (based on the ↵nagai2004-05-121-1/+57
| | | | | | proposal of [ruby-talk:99671]) git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6294 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * renewal Ruby/Tknagai2004-05-01155-690/+8563
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6237 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/sample/tkmulticolumnlist.rb: new samplenagai2003-12-242-8/+754
| | | | | | | * ext/tk/sample/tkmultilistframe.rb: bug fix git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5281 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/lib/tk.rb: add new methods (TkScrollbar#assign, assign_list)nagai2003-12-201-0/+25
| | | | | | | * ext/tk/sample/tkmultilistframe.rb: use TkScrollbar#assign method git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5230 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/sample/tkmultilistbox.rb: bug fixnagai2003-12-192-1/+916
| | | | | | | * ext/tk/sample/tkmultilistframe.rb: new sample script git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5218 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bug fixnagai2003-12-171-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5207 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * overrided instance methods, which are private methods on the supernagai2003-12-099-17/+88
| | | | | | | class, are changed to 'private' git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5152 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * typonagai2003-12-091-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5143 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * new sample scriptnagai2003-12-081-0/+170
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5142 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/lib/tk.rb: add Tk.grab_release and fix bug of TkCompositenagai2003-11-221-0/+418
| | | | | | | | | * ext/tk/lib/tkafter.rb: bug fix * ext/tk/sample/tkcombobox.rb: new sample script * ext/tcltklib/tcltklib.c: add native thread check git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5007 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/sample/tkballoonhelp.rb: new sample scriptnagai2003-11-203-0/+854
| | | | | | | | * ext/tk/sample/tkmultilistbox.rb: ditto * ext/tk/sample/tktextframe.rb: ditto git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4991 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* bug fixnagai2003-10-212-4/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4821 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* modify the message and comments on the sourcenagai2003-10-172-6/+31
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4801 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Add Tk::EncodedString and Tk::UTF8_String class to support charactersnagai2003-10-165-27/+233
| | | | | | | | using the \uXXXX escape to the UNICODE string. sample/{demos-en,demos-jp}/unicodeout.rb are samples of Tk::UTF8_String. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4784 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* ext/tk/sample/demos-en/entry3.rb, ext/tk/sample/demos-jp/entry3.rb :nagai2003-10-144-4/+411
| | | | | | | | | | * new demo-scripts ext/tk/sample/demos-en/widget, ext/tk/sample/demos-jp/widget : * add entries for 'entry3.rb' git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4766 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tcltklib.c (lib_mainloop_core): fixed signal-trap bugnagai2003-09-077-26/+72
| | | | | | | | * multi-tk.rb, tk.rb, tkafter.rb, tkcanvas.rb, tkfont.rb, tktext.rb, tkvirtevent.rb : Ruby/Tk works at $SAFE == 4 git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4527 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tcltklib/tcltklib.c (ip_invoke): fixed bug on passing a exceptionnagai2003-09-023-6/+6
| | | | | | | | * ext/tk/lib/{tk.rb, tkcanvas.rb, tkfont.rb, tktext.rb} : bug fix and improvement of font control git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4480 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ready to use 'validatecommand' option of TkEntry/TkSpinbox widgetnagai2003-08-032-8/+6
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4307 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * additional messagenagai2003-08-032-0/+16
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4299 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * add widget demo scriptsnagai2003-08-034-4/+251
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4297 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * add or modify some widget demo scriptsnagai2003-08-0214-33/+1495
| | | | | | | * (bug fix) TkGrid failed to treat RELATIVE PLACEMENT git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4291 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * (bug fix) forgot to entry a widget class name of 'labelframe' widgetnagai2003-08-0210-6/+638
| | | | | | | * add demo-scripts to the JP/EN widget demos git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4287 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * (bug fix) TkEntry#deletenagai2003-08-0224-114/+249
| | | | | | | | | | * (bug fix) some widget demos * support <TkVariable object> == <Symbol> ( "coerce TkVariable" add to the TODO list :-) ) * freeze some object for security reason git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4282 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * forgot to commit a sample scriptnagai2003-08-011-0/+18
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4259 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bug fix : wrong resource file format (resource.{en,jp})nagai2003-07-313-7/+9
| | | | | | | | * add Tk::Encoding.{encoding_convertfrom, encoding_convertto} * add TkOptionDB.read_with_encoding to read non-utf8 resource file git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4250 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * (IMPORTANT BUG FIX) scan of event keywords doesn't work on recentnagai2003-07-31139-0/+19422
| | | | | | | | | | | versions of Tck/Tk * (bug fix) initialize error of instance variable on TkComposite * (bug fix) initialize error on encoding-system on MultiTkIp * (bug fix) trouble on destroying widgets * (new) add JP and EN version of Ruby/Tk widget demos git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4249 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * wrap the command-proc of TkScale : pass the numeric object to the procnagai2003-07-311-0/+2
| | | | | | | | * better support for widgets created on Tk interpreter (without Ruby) * a little more stable on Multiple Tk interpreters running git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4242 b2dd03c8-39d4-4d8f-98ff-823fe69b080e