summaryrefslogtreecommitdiff
path: root/ext/tk/sample
AgeCommit message (Collapse)Author
2006-01-12* ext/tk/sample/tkballoonhelp.rb: [bug fix] couldn't add to a widgetnagai
which is constructed with TkComposite module. [new feature] support 'command' option which is called just before popping up the balloon help. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9825 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-12-11* ext/tk/lib/tkextlib/SUPPORT_STATUS: update to support libraries innagai
ActiveTcl8.4.12.0. * ext/tk/lib/tkextlib/tile/tnotebook.rb: add Tk::Tile::TNotebook#insert. * ext/tk/sample/tkextlib/tile/demo.rb: improve the look of a part of the demo. * ext/tk/sample/scrollframe.rb: add a new sample. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9669 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-12-06* ext/tk/tcltklib.c: forgot to update RELEASE_DATE.nagai
* ext/tk/lib/tk.rb: ditto. * ext/tk/sample/demos-en/menu.rb: commit miss. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9652 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-12-06* ext/tk/README.macosx-aqua: [new document] tips to avoid the knownnagai
bug on platform specific dialogs of Tcl/Tk Aqua on MacOS X. * ext/tk/tcltklib.c: fix bug on switching threads and waiting on the deleted interpreter on vwait and tkwait command. * ext/tk/lib/multi-tk.rb: kill the meaningless loop for the deleted Tk interpreter. * ext/tk/sample/demos-jp/image3.rb: [bug fix] wrong argument. * ext/tk/sample/demos-en/image3.rb: ditto. * ext/tk/sample/demos-jp/menu.rb: fix message for MacOS X. * ext/tk/sample/demos-jp/menu8x.rb: ditto. * ext/tk/sample/demos-en/menu.rb: ditto. * ext/tk/sample/demos-jp/widget; update version-info. * ext/tk/sample/demos-en/widget; ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9650 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-11-25commit miss.nagai
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9616 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-11-25* sample/tkextlib/tile/demo.rb: bug fixnagai
* sample/tkextlib/tile/themes/*: add some themes (blue, keramik, and plastik; require Tile-0.5 or later). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9614 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-11-18* ext/tk/lib/tk/font.rb: remove dependency on Ruby's version (1.8 or 1.9).nagai
* ext/tk/lib/tkextlib/ICONS/icons.rb: ditto. * ext/tk/sample/tkextlib/treectrl/demo.rb: ditto. * ext/tk/lib/tk.rb: update RELEASE_DATE git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9564 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-11-15* ext/tk/sample/24hr_clock.rb: a new example about handling of canvas items.nagai
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9544 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-11-02* ext/tk/sample/demos-jp/widget: make the root window lower than thenagai
sub-demos windows. * ext/tk/sample/demos-en/widget: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9494 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-10-22* ext/tk/lib/tk/font.rb, ext/tk/lib/tkextlib/ICONS/icons.rb,nobu
ext/tk/sample/tkextlib/treectrl/demo.rb, lib/net/imap.rb, lib/rss/parser.rb, test/rss/test_content.rb, test/rss/test_dublincore.rb, test/rss/test_syndication.rb, test/rss/test_trackback.rb, test/ruby/test_eval.rb, test/socket/test_socket.rb, test/socket/test_udp.rb: Object#fcall was renamed as Object#funcall. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9443 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-09-22* ext/tk/sample/demos-en/tcolor.bak: remove.nagai
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9267 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-09-05* lib/observer.rb: a patch from nornagon <nornagon@gmail.com>matz
merged to allow arbitrary names for update methods. [ruby-core:05416] * eval.c (rb_f_fcall): new method to avoid inefficiency of obj.instance_eval{send(...)} tricks. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9082 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-08-06* ext/tk/lib/{tk.rb,tk/itemconfig.rb}: configure createsocean
TkVariable if key name is 'variable' or 'textvariable' by default. [ruby-dev:26749] * ext/tk/lib/tk/{label,radiobutton}.rb: removed its own {variable,textvariable} function. * ext/tk/lib/tk/variable.rb: retains backward conpatibility. (written by Hidetoshi NAGAI) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8933 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-08-04just fixed indentation.ocean
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8907 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-08-04* ext/tk/sample/tkextlib/tile/demo.rb: followed previous changes.ocean
* ext/tk/lib/tkextlib/tile/t*.rb: aliased class names starting with 'T' to non 'T' ones. (ie. Tk::Tile::TButton -> Tk::Tile::Button) [ruby-dev:26724] * ext/tk/lib/tkextlib/tile.rb: ditto. (autoload support) (Written by Hidetoshi NAGAI) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8906 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-08-04* ext/tk/sample/tkextlib/tile/demo.rb: fixed: Tk::Tile::TProgressbar isocean
supported on tile 0.6 or later, not tile 0.5. * ext/tk/sample/tkextlib/tile/demo.rb: updated scales demo to use Tk::Tile::TProgressbar for tile 0.6 or later. * ext/tk/sample/tkextlib/tile/demo.rb: set some TkVariable default values. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8904 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-08-02* ext/tk/lib/tkextlib/tile/treeview.rb: Tk::Tile::Treeview#headingconfigureocean
is now working and more. [ruby-dev:26716] * ext/tk/sample/tkextlib/tile/demo.rb: use Tk::Tile::Treeview#headingconfigure instead of direct Tk.tk_call. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8890 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-08-02* ext/tk/lib/tkextlib/tile/tprogressbar.rb: Tk::Tile::TProgressbar#startocean
takes optional argument `interval'. * ext/tk/sample/tkextlib/tile/demo.rb: emulate Tk::Tile::TProgressbar with Tk::Tile::TProgress in tile 0.4. (repeating buttons demo) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8889 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-08-02* ext/tk/sample/tkextlib/tile/demo.rb: added repeating buttons demo.ocean
* ext/tk/sample/tkextlib/tile/repeater.tcl: ditto. (new file) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8886 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-08-01* ext/tk/lib/tkextlib/tile.rb: fixed autoload for Treeview.ocean
* ext/tk/lib/tkextlib/tile/treeview.rb: replaced `ary2tk_list(items)' with `*items'. * ext/tk/sample/tkextlib/tile: added treeview demo. (tile 0.5 or later is needed) [ruby-dev:26668] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8881 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-08-01* ext/tk/sample/tkextlib/tile/demo.rb: added combobox demo.ocean
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8876 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-07-28* ext/tk/stubs.c: When --enable-tcltk-stubs, the initializenagai
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: svn+ssh://ci.ruby-lang.org/ruby/trunk@8860 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-07-27* ext/tk/sample/tkextlib/tile/demo.rb: fixed typo.ocean
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8842 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-06-15* ext/tk/sample/demos-jp/ctext.rb: modify improper message text.nagai
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8624 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-06-07* ext/tk/sample/tkextlib/tile/themes/kroc.{rb,tcl}: also support tile 0.4.ocean
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8584 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-06-07* sample/tkextlib/tile/themes/kroc.{rb,tcl}: support tile 0.5 or later.ocean
("pixmap" element constructor replaced by "image") git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8577 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-06-06* ext/tk/lib/tk/console.rb: create console when requiredocean
* ext/tk/sample/tkextlib/tile/demo.rb: create Console (commit miss?) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8571 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-06-05* ext/tk/lib/tk/console.rb: create console when requirednagai
* ext/tk/sample/tkextlib/tile/demo.rb: fix TypeError & create Console git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8569 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-04-10commit miss...ocean
* 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: svn+ssh://ci.ruby-lang.org/ruby/trunk@8296 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-04-09* ext/tk/sample/tkextlib/treectrl/mailwasher.rb: fixed typo. [ruby-dev:26008]ocean
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8292 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-04-09* ext/tk/lib/tk.rb: update RELEASE_DATEnagai
* 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: svn+ssh://ci.ruby-lang.org/ruby/trunk@8291 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-04-09* ext/tk/sample/tkextlib/treectrl/explorer.rb: File.executable? returns trueocean
even if it's plain text file. (this function only checks access right) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8287 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-04-09* ext/tk/sample/demos-jp/goldberg.rb: reduced text size of "click toocean
continue". [ruby-dev:26003] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8286 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-04-09* ext/tk/sample/tkextlib/treectrl/{help,www-options}.rb: fixed typo.ocean
(click or resize column header) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8285 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-04-08* ext/tk/sample/tkextlib/treectrl/imovie.rb: fixed typo. (click on clip title)ocean
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8281 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-04-08* ext/tk/sample/tkextlib/treectrl/random.rb: fixed typo. (drop node outside ofocean
widget, or reenter widget while draggging) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8280 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-04-08* ext/tk/sample/tkextlib/treectrl/outlook-newgrounp.rb: image had disappered ↵ocean
when node was selected. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8279 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-04-08* ext/tk/sample/tkextlib/treectrl/outlook-newgroup.rb: tk::treectrl uses ↵ocean
'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: svn+ssh://ci.ruby-lang.org/ruby/trunk@8276 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-04-08* lib/tkextlib/treectrl/tktreectrl.rb (selection_clear): fixed typo.ocean
* sample/tkextlib/treectrl/random.rb: node deselection now works. * sample/tkextlib/treectrl/demo.rb: fixed typo. (popup menu on column header) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8275 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-04-07* ext/tk/sample/tkextlib/treectrl/help.rb: fixed typo. (wrong color)ocean
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8274 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-04-07* sample/tkextlib/treectrl/*.rb: fixed typo. (wrong itemheight)ocean
* sample/demos-{en,jp}/goldberg.rb: reduced canvas size. [ruby-dev:25992] (written by Hidetoshi NAGAI) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8270 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-04-07* lib/treectrl/tktreectrl.rb: performance tuning. (call tk_send_without_encocean
if possible) * sample/tkextlib/treectrl/*.rb: some speed up... cache the result of version checking. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8265 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-04-04* ext/tk/lib/tk/dialog.rb: fixed typo.ocean
* 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: svn+ssh://ci.ruby-lang.org/ruby/trunk@8247 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-04-01* ext/tk/lib/tk.rb (TkWindow.initialize): accept 'without_creating'nagai
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: svn+ssh://ci.ruby-lang.org/ruby/trunk@8237 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-04-01* ext/tk/ChangeLog.tkextlib: add log of the modification bynagai
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: svn+ssh://ci.ruby-lang.org/ruby/trunk@8236 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-04-01* lib/tkextlib/blt/component.rb: bug fix on treatment ofnagai
component objects. * sample/tkextlib/blt/graph6.rb: a new sample script. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8234 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-03-31* ext/tk/sample/tkextlib/treectrl/demo.rb: should use Hash#index.ocean
* ext/tk/sample/tkextlib/treectrl/demo.rb: TkImage was not cached properly. * ext/tk/sample/tkextlib/treectrl/random.rb: fixed typo. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8233 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-03-31* sample/tkextlib/iwidgets/sample/hierarchy.rb: show basenamenagai
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: svn+ssh://ci.ruby-lang.org/ruby/trunk@8231 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-03-30* sample/tkextlib/iwidgets/sample/hierarchy.rb: fail to treatnagai
Japanese (i18n?) filenames. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8222 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-03-30* ext/tk/tcltklib.c: add TclTkIp#_create_console() method to createnagai
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/trunk@8212 b2dd03c8-39d4-4d8f-98ff-823fe69b080e