home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 18 REXX / 18-REXX.zip / rexxtk12.zip / README < prev    next >
Text File  |  2001-04-12  |  4KB  |  90 lines

  1. The Rexx/Tk Library (version 1.2.0)
  2.  
  3. An extension library for use with most versions of Rexx and
  4. providing access to the Tk Graphic User Interface Toolkit.
  5.   
  6.    Copyright (C) 1999       Roger O'Connor
  7.    Copyright (C) 2000-2001  Mark Hessling <M.Hessling@qut.edu.au>
  8.  
  9.    This library is free software; you can redistribute it and/or
  10.    modify it under the terms of the GNU Library General Public
  11.    License as published by the Free Software Foundation; either
  12.    version 2 of the License, or (at your option) any later version.
  13.  
  14.    This library is distributed in the hope that it will be useful,
  15.    but WITHOUT ANY WARRANTY; without even the implied warranty of
  16.    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  17.    Library General Public License for more details.
  18.  
  19.    You should have received a copy of the GNU Library General Public
  20.    License along with this library; if not, write to the Free
  21.    Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  22.  
  23. Installation:
  24.    See INSTALL file
  25.  
  26. Changes:
  27.    See HISTORY file
  28.  
  29. Requirements:
  30.    * A version of Rexx that supports use of extension libraries.
  31.    * Version 8.0 (or later) of the freely available Tcl/Tk distribution.
  32.  
  33. The following functions are provided in the library:
  34.  
  35.    REXX FUNCTION                         TK COMMAND
  36.    -------------                         ----------
  37. TkTcl(args, [arg, ...])                 any tcl command
  38. TkButton(pathName, [options...])        <button>
  39. TkWait()                                new command - returns the "command"
  40.                                               from widgets when pressed/used
  41. TkPack(option, [arg, ...])              <pack>
  42. TkMenu(pathName, [options...])          <menu>
  43. TkAdd(pathName, type, [options...])     <menu - add command>
  44. TkLabel(pathName, [options...])         <label>
  45. TkConfig(pathName, [options...])        "configure" command in most all widgets
  46. TkFrame(pathName, [options...])         <frame>
  47. TkWm(option, window, [args, ...])       <wm>
  48. TkDestroy(pathName)                     <destroy>
  49. TkGrab(pathName, type, [args, ...])     <grab>
  50. TkEntry(pathName, [options...])         <entry>
  51. TkGet(pathName)                         "get" command in some widget like
  52.                                               TkEntry, TkScale and TkListbox
  53. TkDelete(pathName, start, end)          "delete" command in TkEntry and TkText
  54. TkTopLevel(pathName)                    <toplevel>
  55. TkScale(pathName, [options...])         <scale>
  56. TkFocus(pathName, [args, ...])          <focus>
  57. TkSet(pathName, value)                  "set" command in some widgets
  58.                                               like TkScale
  59. TkVar(varName, [value])                 <set> set and retrieve Tk variables
  60. TkAfter(time|'cancel', 'command'|id)    <after>
  61. TkGetOpenFile(initDir,initFile,title,defaultExtension,parentWin)
  62. TkGetSaveFile(initDir,initFile,title,defaultExtension,parentWin)
  63.                                         <tk_getOpenFile|tk_getSaveFile>
  64. TkSetFileType(type, extension[s...])    sets the rtFiletypes TK variable for
  65.                                         use in both TkGetSaveFile and
  66.                                         TkGetOpenFile as the -filetypes option
  67. TkMessageBox(message,title,type,icon,default,parent) <tk_messageBox>
  68. TkScrollBar(pasthName, [options...])    <scrollbar>
  69. TkListbox(pasthName, [options...])      <listbox>
  70. TkInsert(pathName, [args, ...])         "insert" command in TkListbox.
  71. TkCurSelection(pathName)                "curselection" command in TkListbox
  72. TkCanvas(pathName, [options...])        <canvas>
  73. ... tbd...
  74. TkCanvasArc(canvas,
  75. TkCanvasBitmap
  76. TkCanvasDelete
  77. TkCanvasImage
  78. TkCanvasLine
  79. TkCanvasOval
  80. TkCanvasPolygon
  81. TkCanvasPostscript
  82. TkCanvasRectangle
  83. TkCanvasText
  84. TkCanvasWindow
  85. ...many more...
  86. See the HTML help: functions.html for all the functions available.
  87.  
  88. For the latest detailed information on use of the Rexx/Tk functions, reference
  89. the Tk Library documentation included with the Tcl/Tk distribution.
  90.