From 806f3e8e5f86a8eec2a7b052e173b98fc6ecf928 Mon Sep 17 00:00:00 2001 From: hobbs Date: Thu, 16 Dec 1999 21:57:11 +0000 Subject: * doc/GetCursor.3: * win/tkWinCursor.c: added support for Windows cursors to TkGetCursorByName (.ani, .cur) using -cursor @ (Ascher) [Bug: 1350] * doc/listbox.n: added doc for <> [Bug: 3500] * doc/getOpenFile.n: removed note that -initialfile didn't work for tk_getOpenFile --- doc/GetCursor.3 | 7 ++++++- doc/getOpenFile.n | 5 ++--- doc/listbox.n | 6 +++++- doc/tk.n | 16 +++++++++++++--- 4 files changed, 26 insertions(+), 8 deletions(-) diff --git a/doc/GetCursor.3 b/doc/GetCursor.3 index 55b9c58..4ae8521 100644 --- a/doc/GetCursor.3 +++ b/doc/GetCursor.3 @@ -5,7 +5,7 @@ '\" See the file "license.terms" for information on usage and redistribution '\" of this file, and for a DISCLAIMER OF ALL WARRANTIES. '\" -'\" RCS: @(#) $Id: GetCursor.3,v 1.3 1999/04/16 01:51:08 stanton Exp $ +'\" RCS: @(#) $Id: GetCursor.3,v 1.4 1999/12/16 21:57:11 hobbs Exp $ '\" .so man.macros .TH Tk_AllocCursorFromObj 3 8.1 Tk "Tk Library Procedures" @@ -138,6 +138,11 @@ This form is similar to the one above, except that the source is used as mask also. This means that the cursor's background is transparent. This form of the command will not work on Macintosh or Windows computers. +.TP +\fB@\fIsourceName\fR +This form only works on Windows, and will load a Windows system +cursor (\fB.ani\fR or \fB.cur\fR) from the file specified in +\fIsourceName\fR. .PP .VS 8.1 \fBTk_GetCursor\fR is identical to \fBTk_AllocCursorFromObj\fR except diff --git a/doc/getOpenFile.n b/doc/getOpenFile.n index ffc86fd..4c19e65 100644 --- a/doc/getOpenFile.n +++ b/doc/getOpenFile.n @@ -4,7 +4,7 @@ '\" See the file "license.terms" for information on usage and redistribution '\" of this file, and for a DISCLAIMER OF ALL WARRANTIES. '\" -'\" RCS: @(#) $Id: getOpenFile.n,v 1.3 1998/09/14 18:22:56 stanton Exp $ +'\" RCS: @(#) $Id: getOpenFile.n,v 1.4 1999/12/16 21:57:11 hobbs Exp $ '\" .so man.macros .TH tk_getOpenFile n 4.2 Tk "Tk Built-In Commands" @@ -67,8 +67,7 @@ control panel on the Mac allows the end user to override the application default directory. .TP \fB\-initialfile\fR \fIfilename\fR -Specifies a filename to be displayed in the dialog when it pops -up. This option is ignored by the \fBtk_getOpenFile\fR command. +Specifies a filename to be displayed in the dialog when it pops up. .TP \fB\-parent\fR \fIwindow\fR Makes \fIwindow\fR the logical parent of the file dialog. The file diff --git a/doc/listbox.n b/doc/listbox.n index 850d474..8c6e820 100644 --- a/doc/listbox.n +++ b/doc/listbox.n @@ -5,7 +5,7 @@ '\" See the file "license.terms" for information on usage and redistribution '\" of this file, and for a DISCLAIMER OF ALL WARRANTIES. '\" -'\" RCS: @(#) $Id: listbox.n,v 1.3 1999/11/19 15:48:18 ericm Exp $ +'\" RCS: @(#) $Id: listbox.n,v 1.4 1999/12/16 21:57:12 hobbs Exp $ '\" .so man.macros .TH listbox n 8.0 Tk "Tk Built-In Commands" @@ -433,6 +433,10 @@ Most people will probably want to use \fBbrowse\fR mode for single selections and \fBextended\fR mode for multiple selections; the other modes appear to be useful only in special situations. .PP +Any time the selection changes in the listbox, the virtual event +\fB<>\fR will be generated. It is easiest to bind +to this event to be made aware of any changes to listbox selection. +.PP In addition to the above behavior, the following additional behavior is defined by the default bindings: .IP [1] diff --git a/doc/tk.n b/doc/tk.n index 9c1b110..5de1e08 100644 --- a/doc/tk.n +++ b/doc/tk.n @@ -5,10 +5,10 @@ '\" See the file "license.terms" for information on usage and redistribution '\" of this file, and for a DISCLAIMER OF ALL WARRANTIES. '\" -'\" RCS: @(#) $Id: tk.n,v 1.2 1998/09/14 18:23:00 stanton Exp $ +'\" RCS: @(#) $Id: tk.n,v 1.3 1999/12/16 21:57:12 hobbs Exp $ '\" .so man.macros -.TH tk n 4.0 Tk "Tk Built-In Commands" +.TH tk n 8.3 Tk "Tk Built-In Commands" .BS '\" Note: do not modify the .SH NAME line immediately below! .SH NAME @@ -43,7 +43,6 @@ be able to find some options for the application. If sends have been disabled by deleting the \fBsend\fR command, this command will reenable them and recreate the \fBsend\fR command. -.VS .TP \fBtk scaling \fR?\fB\-displayof \fIwindow\fR? ?\fInumber\fR? . @@ -67,6 +66,17 @@ after the scaling factor is changed will use the new scaling factor, but it is undefined whether existing widgets will resize themselves dynamically to accomodate the new scaling factor. .RE +.VS 8.3 +.TP +\fBtk useinputmethods \fR?\fB\-displayof \fIwindow\fR? ?\fIboolean\fR? +. +Sets and queries the state of whether Tk should use XIM (X Input Methods) +for filtering events. The resulting state is returned. XIM is used in +some locales (ie: Japanese, Korean), to handle special input devices. This +feature is only significant on X. If XIM support is not available, this +will always return 0. If the \fIwindow\fR argument is omitted, it defaults +to the main window. If the \fIboolean\fR argument is omitted, the current +state is returned. .VE .SH KEYWORDS application name, send -- cgit v0.12