Compare commits
6 Commits
tk-8.6.6.0
...
tk-8.6.12.
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c6710de848 | ||
|
|
070b8750b0 | ||
|
|
42c69189d9 | ||
|
|
5ba5cbc9af | ||
|
|
753ac6b037 | ||
|
|
8e57feeeb9 |
236
.travis.yml
Normal file
236
.travis.yml
Normal file
@@ -0,0 +1,236 @@
|
|||||||
|
language: c
|
||||||
|
addons:
|
||||||
|
apt:
|
||||||
|
sources:
|
||||||
|
- ubuntu-toolchain-r-test
|
||||||
|
packages:
|
||||||
|
- binutils-mingw-w64-i686
|
||||||
|
- binutils-mingw-w64-x86-64
|
||||||
|
- gcc-mingw-w64
|
||||||
|
- gcc-mingw-w64-base
|
||||||
|
- gcc-mingw-w64-i686
|
||||||
|
- gcc-mingw-w64-x86-64
|
||||||
|
- gcc-multilib
|
||||||
|
- tcl8.6-dev
|
||||||
|
- libx11-dev
|
||||||
|
- libxss-dev
|
||||||
|
- xvfb
|
||||||
|
homebrew:
|
||||||
|
packages:
|
||||||
|
- tcl-tk
|
||||||
|
# casks:
|
||||||
|
# - xquartz
|
||||||
|
jobs:
|
||||||
|
include:
|
||||||
|
# Testing on Linux GCC
|
||||||
|
- name: "Linux/GCC/Shared"
|
||||||
|
os: linux
|
||||||
|
dist: focal
|
||||||
|
services:
|
||||||
|
- xvfb
|
||||||
|
compiler: gcc
|
||||||
|
env:
|
||||||
|
- BUILD_DIR=unix
|
||||||
|
script: &x11gui
|
||||||
|
- make binaries libraries tktest
|
||||||
|
- make install
|
||||||
|
- make test-classic >out-classic.txt
|
||||||
|
- cat out-classic.txt
|
||||||
|
- grep -q "Failed 0" out-classic.txt
|
||||||
|
- make test-ttk >out-ttk.txt
|
||||||
|
- cat out-ttk.txt
|
||||||
|
- grep -q "Failed 0" out-ttk.txt
|
||||||
|
- name: "Linux/GCC/Shared/no-xft"
|
||||||
|
os: linux
|
||||||
|
dist: focal
|
||||||
|
services:
|
||||||
|
- xvfb
|
||||||
|
compiler: gcc
|
||||||
|
env:
|
||||||
|
- BUILD_DIR=unix
|
||||||
|
- CFGOPT="--disable-xft"
|
||||||
|
script: *x11gui
|
||||||
|
- name: "Linux/GCC/Shared/bionic"
|
||||||
|
os: linux
|
||||||
|
dist: bionic
|
||||||
|
services:
|
||||||
|
- xvfb
|
||||||
|
compiler: gcc
|
||||||
|
env:
|
||||||
|
- BUILD_DIR=unix
|
||||||
|
script: *x11gui
|
||||||
|
- name: "Linux/GCC/Shared/xenial"
|
||||||
|
os: linux
|
||||||
|
dist: xenial
|
||||||
|
services:
|
||||||
|
- xvfb
|
||||||
|
compiler: gcc
|
||||||
|
env:
|
||||||
|
- BUILD_DIR=unix
|
||||||
|
script: *x11gui
|
||||||
|
- name: "Linux/GCC/Static"
|
||||||
|
os: linux
|
||||||
|
dist: focal
|
||||||
|
compiler: gcc
|
||||||
|
env:
|
||||||
|
- BUILD_DIR=unix
|
||||||
|
- CFGOPT="--disable-shared"
|
||||||
|
- name: "Linux/GCC/Debug"
|
||||||
|
os: linux
|
||||||
|
dist: focal
|
||||||
|
compiler: gcc
|
||||||
|
env:
|
||||||
|
- BUILD_DIR=unix
|
||||||
|
- CFGOPT="--enable-symbols"
|
||||||
|
# Newer/Older versions of GCC
|
||||||
|
- name: "Linux/GCC 10/Shared"
|
||||||
|
os: linux
|
||||||
|
dist: focal
|
||||||
|
compiler: gcc-10
|
||||||
|
addons:
|
||||||
|
apt:
|
||||||
|
packages:
|
||||||
|
- g++-10
|
||||||
|
env:
|
||||||
|
- BUILD_DIR=unix
|
||||||
|
- name: "Linux/GCC 5/Shared"
|
||||||
|
os: linux
|
||||||
|
dist: bionic
|
||||||
|
compiler: gcc-5
|
||||||
|
addons:
|
||||||
|
apt:
|
||||||
|
packages:
|
||||||
|
- g++-5
|
||||||
|
env:
|
||||||
|
- BUILD_DIR=unix
|
||||||
|
# Testing on Linux Clang
|
||||||
|
- name: "Linux/Clang/Shared"
|
||||||
|
os: linux
|
||||||
|
dist: focal
|
||||||
|
compiler: clang
|
||||||
|
env:
|
||||||
|
- BUILD_DIR=unix
|
||||||
|
- name: "Linux/Clang/Shared/no-xft"
|
||||||
|
os: linux
|
||||||
|
dist: focal
|
||||||
|
compiler: clang
|
||||||
|
env:
|
||||||
|
- BUILD_DIR=unix
|
||||||
|
- CFGOPT="--disable-xft"
|
||||||
|
- name: "Linux/Clang/Static"
|
||||||
|
os: linux
|
||||||
|
dist: focal
|
||||||
|
compiler: clang
|
||||||
|
env:
|
||||||
|
- CFGOPT="--disable-shared"
|
||||||
|
- BUILD_DIR=unix
|
||||||
|
- name: "Linux/Clang/Debug"
|
||||||
|
os: linux
|
||||||
|
dist: focal
|
||||||
|
compiler: clang
|
||||||
|
env:
|
||||||
|
- BUILD_DIR=unix
|
||||||
|
- CFGOPT="--enable-symbols"
|
||||||
|
# Testing on Mac, various styles
|
||||||
|
- name: "macOS/Xcode 12/Shared"
|
||||||
|
os: osx
|
||||||
|
osx_image: xcode12
|
||||||
|
env:
|
||||||
|
- BUILD_DIR=unix
|
||||||
|
- CFGOPT="--with-tcl=/usr/local/opt/tcl-tk/lib --enable-aqua CFLAGS=-I/usr/local/opt/tcl-tk/include"
|
||||||
|
- name: "macOS/Xcode 12/Static"
|
||||||
|
os: osx
|
||||||
|
osx_image: xcode12
|
||||||
|
env:
|
||||||
|
- BUILD_DIR=unix
|
||||||
|
- CFGOPT="--with-tcl=/usr/local/opt/tcl-tk/lib --enable-aqua --disable-shared CFLAGS=-I/usr/local/opt/tcl-tk/include"
|
||||||
|
- name: "macOS/Xcode 12/Debug"
|
||||||
|
os: osx
|
||||||
|
osx_image: xcode12
|
||||||
|
env:
|
||||||
|
- BUILD_DIR=unix
|
||||||
|
- CFGOPT="--with-tcl=/usr/local/opt/tcl-tk/lib --enable-aqua --enable-symbols CFLAGS=-I/usr/local/opt/tcl-tk/include"
|
||||||
|
# - name: "macOS/Xcode 12/Shared/XQuartz"
|
||||||
|
# os: osx
|
||||||
|
# osx_image: xcode12
|
||||||
|
# env:
|
||||||
|
# - BUILD_DIR=unix
|
||||||
|
# - CFGOPT="--with-tcl=/usr/local/opt/tcl-tk/lib --disable-corefoundation --x-includes=/opt/X11/include --x-libraries=/opt/X11/lib CFLAGS=-I/usr/local/opt/tcl-tk/include"
|
||||||
|
# Older MacOS versions
|
||||||
|
- name: "macOS/Xcode 11/Shared"
|
||||||
|
os: osx
|
||||||
|
osx_image: xcode11.7
|
||||||
|
env:
|
||||||
|
- BUILD_DIR=unix
|
||||||
|
- CFGOPT="--with-tcl=/usr/local/opt/tcl-tk/lib --enable-aqua CFLAGS=-I/usr/local/opt/tcl-tk/include CPPFLAGS=-mmacosx-version-min=10.14"
|
||||||
|
- name: "macOS/Xcode 10/Shared"
|
||||||
|
os: osx
|
||||||
|
osx_image: xcode10.3
|
||||||
|
addons:
|
||||||
|
homebrew:
|
||||||
|
packages:
|
||||||
|
- tcl-tk
|
||||||
|
update: true
|
||||||
|
env:
|
||||||
|
- BUILD_DIR=unix
|
||||||
|
- CFGOPT="--with-tcl=/usr/local/opt/tcl-tk/lib --enable-aqua CFLAGS=-I/usr/local/opt/tcl-tk/include CPPFLAGS=-mmacosx-version-min=10.14"
|
||||||
|
- name: "macOS/Xcode 9/Shared"
|
||||||
|
os: osx
|
||||||
|
osx_image: xcode9.4
|
||||||
|
addons:
|
||||||
|
homebrew:
|
||||||
|
packages:
|
||||||
|
- tcl-tk
|
||||||
|
update: true
|
||||||
|
env:
|
||||||
|
- BUILD_DIR=unix
|
||||||
|
- CFGOPT="--with-tcl=/usr/local/opt/tcl-tk/lib --enable-aqua CFLAGS=-I/usr/local/opt/tcl-tk/include CPPFLAGS=-mmacosx-version-min=10.13"
|
||||||
|
# Test on Windows with MSVC native
|
||||||
|
# - name: "Windows/MSVC/Shared"
|
||||||
|
# os: windows
|
||||||
|
# compiler: cl
|
||||||
|
# env: &vcenv
|
||||||
|
# - BUILD_DIR=win
|
||||||
|
# - VCDIR="/C/Program Files (x86)/Microsoft Visual Studio/2017/BuildTools/VC/Auxiliary/Build"
|
||||||
|
# before_install: &vcpreinst
|
||||||
|
# - PATH="$PATH:$VCDIR"
|
||||||
|
# - cd ${BUILD_DIR}
|
||||||
|
# install: []
|
||||||
|
# script:
|
||||||
|
# - cmd.exe //C vcvarsall.bat x64 '&&' nmake '-f' makefile.vc all tktest
|
||||||
|
# "make dist" only
|
||||||
|
- name: "Linux: make dist"
|
||||||
|
os: linux
|
||||||
|
dist: focal
|
||||||
|
compiler: gcc
|
||||||
|
env:
|
||||||
|
- BUILD_DIR=unix
|
||||||
|
script:
|
||||||
|
- touch ../doc/man.macros
|
||||||
|
- make dist
|
||||||
|
before_install:
|
||||||
|
- |-
|
||||||
|
case $TRAVIS_OS_NAME in
|
||||||
|
windows)
|
||||||
|
choco install -y magicsplat-tcl-tk
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
- cd ${BUILD_DIR}
|
||||||
|
install:
|
||||||
|
- mkdir "$HOME/install dir"
|
||||||
|
- ./configure ${CFGOPT} "--prefix=$HOME/install dir" || (cat config.log && exit 1)
|
||||||
|
script:
|
||||||
|
- make binaries libraries tktest
|
||||||
|
- make install
|
||||||
|
before_cache:
|
||||||
|
- |-
|
||||||
|
case $TRAVIS_OS_NAME in
|
||||||
|
osx)
|
||||||
|
brew cleanup
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
cache:
|
||||||
|
directories:
|
||||||
|
- $HOME/Library/Caches/Homebrew
|
||||||
|
- $HOME/AppData/Local/Temp/chocolatey
|
||||||
|
- $HOME/AppData/Local/Apps/Tcl86
|
||||||
@@ -1,6 +1,6 @@
|
|||||||
A NOTE ON THE CHANGELOG:
|
A NOTE ON THE CHANGELOG:
|
||||||
Starting in early 2011, Tk source code has been under the management of
|
Starting in early 2011, Tk source code has been under the management of
|
||||||
fossil, hosted at http://core.tcl.tk/tk/ . Fossil presents a "Timeline"
|
fossil, hosted at https://core.tcl-lang.org/tk/ . Fossil presents a "Timeline"
|
||||||
view of changes made that is superior in every way to a hand edited log file.
|
view of changes made that is superior in every way to a hand edited log file.
|
||||||
Because of this, many Tk developers are now out of the habit of maintaining
|
Because of this, many Tk developers are now out of the habit of maintaining
|
||||||
this log file. You may still find useful things in it, but the Timeline is
|
this log file. You may still find useful things in it, but the Timeline is
|
||||||
@@ -3203,7 +3203,7 @@ a better first place to look now.
|
|||||||
2009-03-25 Jan Nijtmans <nijtmans@users.sf.net>
|
2009-03-25 Jan Nijtmans <nijtmans@users.sf.net>
|
||||||
|
|
||||||
* doc/wish.1: Bring doc and demos in line with
|
* doc/wish.1: Bring doc and demos in line with
|
||||||
* library/demos/hello: http://wiki.tcl.tk/812
|
* library/demos/hello: https://wiki.tcl-lang.org/page/exec+magic
|
||||||
* library/demos/rmt
|
* library/demos/rmt
|
||||||
* library/demos/square
|
* library/demos/square
|
||||||
* library/demos/tcolor
|
* library/demos/tcolor
|
||||||
|
|||||||
@@ -5218,7 +5218,7 @@
|
|||||||
2000-05-31 Eric Melski <ericm@scriptics.com>
|
2000-05-31 Eric Melski <ericm@scriptics.com>
|
||||||
|
|
||||||
* library/bgerror.tcl: Improved bgerror based on work by Donal
|
* library/bgerror.tcl: Improved bgerror based on work by Donal
|
||||||
K. Fellows; no longer dependant on tk_dialog; features a
|
K. Fellows; no longer dependent on tk_dialog; features a
|
||||||
Windows-esque "Details" button, and a customizable extra function
|
Windows-esque "Details" button, and a customizable extra function
|
||||||
button that allows the user to (for example) save the stack trace
|
button that allows the user to (for example) save the stack trace
|
||||||
to a file.
|
to a file.
|
||||||
|
|||||||
41
README
41
README
@@ -1,41 +0,0 @@
|
|||||||
README: Tk
|
|
||||||
This is the Tk 8.6.6 source distribution.
|
|
||||||
http://sourceforge.net/projects/tcl/files/Tcl/
|
|
||||||
You can get any source release of Tk from the URL above.
|
|
||||||
|
|
||||||
1. Introduction
|
|
||||||
---------------
|
|
||||||
|
|
||||||
This directory contains the sources and documentation for Tk, an X11
|
|
||||||
toolkit implemented with the Tcl scripting language.
|
|
||||||
|
|
||||||
For details on features, incompatibilities, and potential problems with
|
|
||||||
this release, see the Tcl/Tk 8.6 Web page at
|
|
||||||
|
|
||||||
http://www.tcl.tk/software/tcltk/8.6.html
|
|
||||||
|
|
||||||
or refer to the "changes" file in this directory, which contains a
|
|
||||||
historical record of all changes to Tk.
|
|
||||||
|
|
||||||
Tk is maintained, enhanced, and distributed freely by the Tcl community.
|
|
||||||
Source code development and tracking of bug reports and feature requests
|
|
||||||
takes place at:
|
|
||||||
|
|
||||||
http://core.tcl.tk/tk/
|
|
||||||
|
|
||||||
with the Tcl Developer Xchange at:
|
|
||||||
|
|
||||||
http://www.tcl.tk/
|
|
||||||
|
|
||||||
Tk is a freely available open source package. You can do virtually
|
|
||||||
anything you like with it, such as modifying it, redistributing it,
|
|
||||||
and selling it either in whole or in part. See the file
|
|
||||||
"license.terms" for complete information.
|
|
||||||
|
|
||||||
2. See Tcl README
|
|
||||||
-----------------
|
|
||||||
|
|
||||||
Please see the README file that comes with the associated Tcl release
|
|
||||||
for more information. There are pointers there to extensive
|
|
||||||
documentation. In addition, there are additional README files
|
|
||||||
in the subdirectories of this distribution.
|
|
||||||
42
README.md
42
README.md
@@ -1,2 +1,40 @@
|
|||||||
# cpython-source-deps
|
# README: Tk
|
||||||
Source for packages that the cpython build process depends on
|
|
||||||
|
This is the **Tk 8.6.12** source distribution.
|
||||||
|
|
||||||
|
You can get any source release of Tk from [our distribution
|
||||||
|
site](https://sourceforge.net/projects/tcl/files/Tcl/).
|
||||||
|
|
||||||
|
[](https://github.com/tcltk/tk/actions?query=workflow%3A%22Linux%22+branch%3Acore-8-6-branch)
|
||||||
|
[](https://github.com/tcltk/tk/actions?query=workflow%3A%22Windows%22+branch%3Acore-8-6-branch)
|
||||||
|
[](https://github.com/tcltk/tk/actions?query=workflow%3A%22macOS%22+branch%3Acore-8-6-branch)
|
||||||
|
|
||||||
|
## <a id="intro">1.</a> Introduction
|
||||||
|
|
||||||
|
This directory contains the sources and documentation for Tk, a
|
||||||
|
cross-platform GUI toolkit implemented with the Tcl scripting language.
|
||||||
|
|
||||||
|
For details on features, incompatibilities, and potential problems with
|
||||||
|
this release, see [the Tcl/Tk 8.6 Web page](https://www.tcl-lang.org/software/tcltk/8.6.html)
|
||||||
|
or refer to the "changes" file in this directory, which contains a
|
||||||
|
historical record of all changes to Tk.
|
||||||
|
|
||||||
|
Tk is maintained, enhanced, and distributed freely by the Tcl community.
|
||||||
|
Source code development and tracking of bug reports and feature requests
|
||||||
|
take place at [core.tcl-lang.org](https://core.tcl-lang.org/).
|
||||||
|
Tcl/Tk release and mailing list services are [hosted by
|
||||||
|
SourceForge](https://sourceforge.net/projects/tcl/)
|
||||||
|
with the Tcl Developer Xchange hosted at
|
||||||
|
[www.tcl-lang.org](https://www.tcl-lang.org).
|
||||||
|
|
||||||
|
Tk is a freely available open-source package. You can do virtually
|
||||||
|
anything you like with it, such as modifying it, redistributing it,
|
||||||
|
and selling it either in whole or in part. See the file
|
||||||
|
`license.terms` for complete information.
|
||||||
|
|
||||||
|
## <a id="tcl">2.</a> See Tcl README.md
|
||||||
|
|
||||||
|
Please see the README.md file that comes with the associated Tcl release
|
||||||
|
for more information. There are pointers there to extensive
|
||||||
|
documentation. In addition, there are additional README files
|
||||||
|
in the subdirectories of this distribution.
|
||||||
|
|||||||
604
changes
604
changes
@@ -1315,7 +1315,7 @@ ISO Latin-1 character set.
|
|||||||
result across the execution of binding scripts. Otherwise if an event
|
result across the execution of binding scripts. Otherwise if an event
|
||||||
triggers in the middle of some other script (e.g. a destroy event during
|
triggers in the middle of some other script (e.g. a destroy event during
|
||||||
window creation, because there was an error in the creation command),
|
window creation, because there was an error in the creation command),
|
||||||
the intepreter's result gets lost.
|
the interpreter's result gets lost.
|
||||||
|
|
||||||
2/19/94 (bug fix) Fixed bug in dealing with results of sent command
|
2/19/94 (bug fix) Fixed bug in dealing with results of sent command
|
||||||
that could cause them to get lost in some situations.
|
that could cause them to get lost in some situations.
|
||||||
@@ -7072,7 +7072,7 @@ Many revisions to better support a Cygwin environment (nijtmans)
|
|||||||
|
|
||||||
2013-08-25 (bug fix)[3016181] Cocoa: [destroy $scrollbar] => crash (goddard)
|
2013-08-25 (bug fix)[3016181] Cocoa: [destroy $scrollbar] => crash (goddard)
|
||||||
|
|
||||||
--- Released 8.6.1, September 19, 2013 --- http://core.tcl.tk/tk/ for details
|
--- Released 8.6.1, September 19, 2013 --- https://core.tcl-lang.org/tk/ for details
|
||||||
|
|
||||||
2013-10-27 (bug fix) OSX drawing lags (deily,steffen,walzer)
|
2013-10-27 (bug fix) OSX drawing lags (deily,steffen,walzer)
|
||||||
|
|
||||||
@@ -7120,7 +7120,7 @@ Many revisions to better support a Cygwin environment (nijtmans)
|
|||||||
|
|
||||||
2014-08-01 (bug fix) OSX font config crash (rob@bitkeeper)
|
2014-08-01 (bug fix) OSX font config crash (rob@bitkeeper)
|
||||||
|
|
||||||
--- Released 8.6.2, August 27, 2014 --- http://core.tcl.tk/tk/ for details
|
--- Released 8.6.2, August 27, 2014 --- https://core.tcl-lang.org/tk/ for details
|
||||||
|
|
||||||
2014-08-27 (bug) Cocoa: Crash after [$button destroy] (walzer)
|
2014-08-27 (bug) Cocoa: Crash after [$button destroy] (walzer)
|
||||||
|
|
||||||
@@ -7144,7 +7144,7 @@ Many revisions to better support a Cygwin environment (nijtmans)
|
|||||||
|
|
||||||
2014-11-07 (bug)[3529885] [scale] handling of negative resolution (vogel)
|
2014-11-07 (bug)[3529885] [scale] handling of negative resolution (vogel)
|
||||||
|
|
||||||
--- Released 8.6.3, November 12, 2014 --- http://core.tcl.tk/tk/ for details
|
--- Released 8.6.3, November 12, 2014 --- https://core.tcl-lang.org/tk/ for details
|
||||||
|
|
||||||
2014-11-14 (bug)[d43a10] shimmer-related crash in [tk_getOpenFile] (nadkarni)
|
2014-11-14 (bug)[d43a10] shimmer-related crash in [tk_getOpenFile] (nadkarni)
|
||||||
|
|
||||||
@@ -7166,7 +7166,7 @@ Many revisions to better support a Cygwin environment (nijtmans)
|
|||||||
Tk Cocoa 2.0: App Store enabled (walzer,culler,desmera,owen,nyberg,reincke)
|
Tk Cocoa 2.0: App Store enabled (walzer,culler,desmera,owen,nyberg,reincke)
|
||||||
*** POTENTIAL INCOMPATIBILITY ***
|
*** POTENTIAL INCOMPATIBILITY ***
|
||||||
|
|
||||||
--- Released 8.6.4, March 12, 2015 --- http://core.tcl.tk/tk/ for details
|
--- Released 8.6.4, March 12, 2015 --- https://core.tcl-lang.org/tk/ for details
|
||||||
|
|
||||||
2015-03-10 (bug) Cocoa: premature image free crash (walzer)
|
2015-03-10 (bug) Cocoa: premature image free crash (walzer)
|
||||||
|
|
||||||
@@ -7265,7 +7265,7 @@ Tk Cocoa 2.0: App Store enabled (walzer,culler,desmera,owen,nyberg,reincke)
|
|||||||
|
|
||||||
Tk Cocoa 2.0: More drawing internals refinements (culler,walzer)
|
Tk Cocoa 2.0: More drawing internals refinements (culler,walzer)
|
||||||
|
|
||||||
--- Released 8.6.5, February 29, 2016 --- http://core.tcl.tk/tk/ for details
|
--- Released 8.6.5, February 29, 2016 --- https://core.tcl-lang.org/tk/ for details
|
||||||
|
|
||||||
2016-03-07 (bug)[3137232] spinbox teardown hygiene (vogel)
|
2016-03-07 (bug)[3137232] spinbox teardown hygiene (vogel)
|
||||||
|
|
||||||
@@ -7312,4 +7312,594 @@ Tk Cocoa 2.0: More drawing internals refinements (culler,walzer)
|
|||||||
|
|
||||||
2016-07-21 (bug)[450bb0] Aqua: memory corruption from [tk busy] (porter)
|
2016-07-21 (bug)[450bb0] Aqua: memory corruption from [tk busy] (porter)
|
||||||
|
|
||||||
--- Released 8.6.6, July 27, 2016 --- http://core.tcl.tk/tk/ for details
|
--- Released 8.6.6, July 27, 2016 --- https://core.tcl-lang.org/tk/ for details
|
||||||
|
|
||||||
|
2016-08-23 (bug)[a2abc4] Wrong warp cursor position on 2nd display (vogel)
|
||||||
|
|
||||||
|
2016-08-29 (bug)[fa3229] menu-38.1 (calvo,vogel)
|
||||||
|
|
||||||
|
2016-08-29 (bug)[2cf3d6] button-5.24 (vogel)
|
||||||
|
|
||||||
|
2016-09-04 (bug)[1534455,2945130] Key release events get _L vs _R right. (vogel)
|
||||||
|
|
||||||
|
2016-09-10 (bug)[8c4216] listbox-4.1 (vogel)
|
||||||
|
|
||||||
|
2016-09-10 (bug)[eb2681] listbox-13.1 (vogel)
|
||||||
|
|
||||||
|
2016-09-21 (bug)[3126428] ttk::button react to image change (thoyts)
|
||||||
|
|
||||||
|
2016-10-09 (bug)[1082213] wrapped text don't start lines with whitespace (vogel)
|
||||||
|
|
||||||
|
2016-10-12 (bug)[3217462] tri-state button on non-native theme (vogel)
|
||||||
|
|
||||||
|
2016-10-30 (bug)[3588460] Fix file dialog -typevariable (vogel)
|
||||||
|
|
||||||
|
2016-11-01 (bug)[e36963] event generate .e <diaeresis> (matthias,vogel)
|
||||||
|
|
||||||
|
2016-11-05 (bug)[6aea69] grid-23 (danckaert,vogel)
|
||||||
|
|
||||||
|
2016-11-18 (bug)[f60c54] combobox-3 (panza,vogel)
|
||||||
|
|
||||||
|
2017-01-03 (bug)[f32502] crash drawing many dashed objects (reithofer,werner)
|
||||||
|
|
||||||
|
2017-01-05 (bug)[dac92f] text-2.[89] (vogel)
|
||||||
|
|
||||||
|
2017-01-07 (bug)[3df559] OSX: Negative bbox width (vogel)
|
||||||
|
|
||||||
|
2017-01-07 (bug)[28a453] OSX: text widget index OBOE (vogel)
|
||||||
|
|
||||||
|
2017-01-07 (bug)[c12af7] OSX: text-21.1 (vogel)
|
||||||
|
|
||||||
|
2017-01-08 (bug)[7a838c] X11 ring buffer overflow (werner)
|
||||||
|
|
||||||
|
2017-01-11 (bug)[d4fb4e] imgPhoto-4.75 (nijtmans)
|
||||||
|
|
||||||
|
2017-01-18 (bug)[fab5fe] OSX: repair textDisp failures (vogel)
|
||||||
|
|
||||||
|
2017-01-23 (bug)[89a638] OSX: textDisp-15.8 (vogel)
|
||||||
|
|
||||||
|
2017-01-25 (bug)[1403ea] Limits on text line size on Windows (spjuth)
|
||||||
|
|
||||||
|
2017-02-05 (bug)[ae32eb] textDisp fails in text custom config (vogel)
|
||||||
|
|
||||||
|
2017-02-05 (bug)[7d967c] crash after IME restart (lanam,nijtmans)
|
||||||
|
|
||||||
|
2017-02-22 (bug)[c492c9] disabled combobox arrow appearance (danckaert)
|
||||||
|
|
||||||
|
2017-03-06 (bug)[6b3644] Fix -alpha for 16-bit color PNG (LemonMan)
|
||||||
|
|
||||||
|
2017-03-11 (bug)[775273] artifacts on Ubuntu 16.10+ (nemethi)
|
||||||
|
|
||||||
|
2017-03-26 (TIP 464) Win multimedia keys support (fassel,vogel)
|
||||||
|
|
||||||
|
2017-03-29 (bug)[28a3c3] test BTree memleaks plugged (anonymous)
|
||||||
|
|
||||||
|
2017-04-06 (bug)[db8c54] Stop freed mem access in warp pointer callback (porter)
|
||||||
|
|
||||||
|
2017-04-07 (bugs) Fix calculation of ttk::notebook tab widths (vogel)
|
||||||
|
|
||||||
|
2017-04-07 (bug)[291296] notebook tab management (decoster)
|
||||||
|
|
||||||
|
2017-04-08 (bug)[f0188a] Win reject invalid hex color codes (bachmann)
|
||||||
|
|
||||||
|
2017-04-10 (bug)[3f323b] variable struct size on XCode 8.3.1 (auriocus)
|
||||||
|
|
||||||
|
2017-04-20 (bug)[061bf9] OSX scrollbar draw position (reincke,walzer,joye)
|
||||||
|
|
||||||
|
2017-05-01 (bug) restore -initialfile for OSX file dialogs (reincke,gollwitzer)
|
||||||
|
|
||||||
|
2017-05-06 (bug) OSX file dialog type filters (walzer)
|
||||||
|
|
||||||
|
2017-05-10 (bug)[a5ba1c] race condition on Win clipboard cleanup (donchenko)
|
||||||
|
|
||||||
|
2017-05-18 (bug)[2433781] center image on button (cramer)
|
||||||
|
|
||||||
|
2017-05-19 (bug)[434d29] type mismatch with recent Xft (nijtmans,werner)
|
||||||
|
|
||||||
|
2017-06-02 (bug)[bc43fd] paneconfigure get pane heights right (vogel)
|
||||||
|
|
||||||
|
2017-06-21 (bug)[adc028] menu avoid unreleasable global grab (nash)
|
||||||
|
|
||||||
|
2017-06-30 (bug)[92e028,c5eb90] User switch forced theme reset (lanam)
|
||||||
|
|
||||||
|
2017-06-30 (bug)[62c5b7] segfault in [text] replace (werner)
|
||||||
|
|
||||||
|
2017-07-03 (bug)[8afc6c] OSX crash in save/open dialogs (simpson,walzer)
|
||||||
|
|
||||||
|
2017-08-02 (bug)[b601ce] Resource exhaustion processing corrupt GIF (nash)
|
||||||
|
|
||||||
|
2017-08-03 (bug)[9eab54] Fix -initialdir for OSX file dialogs (gollwitzer)
|
||||||
|
|
||||||
|
2017-08-08 (bug)[28d0b8] Follow ICCCM advice on X selection protocol (donchenko)
|
||||||
|
|
||||||
|
2017-08-08 (bug)[4966ca] Scidb race in notebook tab selection (cramer)
|
||||||
|
|
||||||
|
--- Released 8.6.7, August 9, 2017 --- https://core.tcl-lang.org/tk/ for details
|
||||||
|
|
||||||
|
2017-08-24 (bug)[f1a3ca] Memory leak in [text] B-tree (edhume3)
|
||||||
|
|
||||||
|
2017-08-24 (bug)[ee40fd] Report [console] init errors (the)
|
||||||
|
|
||||||
|
2017-08-24 (bug)[3295446] Improve history visibility in [console] (goth)
|
||||||
|
|
||||||
|
2017-08-24 (bug) canvas closed polylines fully honor -joinstyle (vogel)
|
||||||
|
|
||||||
|
2017-08-24 (bug)[cc42cc] out of mem crash in tests imgPhoto-18.* (vogel)
|
||||||
|
|
||||||
|
2017-09-16 (bug)[3406785] fix coords rounding when drawing canvas items (vogel)
|
||||||
|
|
||||||
|
2017-09-24 (bug)[8277e1] linux fontchooser sync with available fonts (vogel)
|
||||||
|
|
||||||
|
2017-09-24 (bug)[5239fd] Segfault copying a photo image to itself (bachmann)
|
||||||
|
|
||||||
|
2017-09-24 (bug)[514ff6] canvas rotated text overlap detection (vogel)
|
||||||
|
|
||||||
|
2017-09-24 (bug)[1e0db2] canvas rchars artifacts (bruchie,vogel)
|
||||||
|
|
||||||
|
2017-10-07 (bug)[d9fdfa] display of Long non-wrapped lines in text (cramer)
|
||||||
|
|
||||||
|
2017-10-07 (bug)[dd9667] text anchor not set (vogel)
|
||||||
|
|
||||||
|
2017-10-11 (bugs) memleaks and other changes for macOS 10.13 support (culler)
|
||||||
|
|
||||||
|
2017-10-11 (bug)[111de2] macOS colorspace improvement (walzer,culler)
|
||||||
|
|
||||||
|
2017-10-13 (bug) macOS scrolling issues (culler)
|
||||||
|
|
||||||
|
2017-10-15 (bug) clipping regions in scrolling and drawing on macOS (culler)
|
||||||
|
|
||||||
|
2017-10-15 (bug) macOS redraw artifacts (culler)
|
||||||
|
|
||||||
|
2017-10-22 (bug)[bb6b40] ::tk::AmpMenuArgs and 'entryconf' (vogel)
|
||||||
|
|
||||||
|
2017-10-22 (bug)[55b95f] Crash [scale] with a bignum value (vogel)
|
||||||
|
|
||||||
|
2017-10-28 (bug)[ce62c8] text-37.1 fails (vogel)
|
||||||
|
|
||||||
|
2017-11-03 (bug)[0ef1c5] OS X - tests menu-22.[345] hang (vogel)
|
||||||
|
|
||||||
|
2017-11-04 (bug)[c8c52b] repair OBOE in menu.test on macOS (vogel)
|
||||||
|
|
||||||
|
2017-11-11 (feature) Implement [wm_iconphoto] on macOS (walzer)
|
||||||
|
|
||||||
|
2017-11-11 (bug) display of embedded toplevels (culler)
|
||||||
|
|
||||||
|
2017-11-19 (bug)[73ba07] Correct property type for MULTIPLE conversion (dpb)
|
||||||
|
|
||||||
|
2017-11-20 (bug) Memory leak in tkImgPhoto.c. (werner)
|
||||||
|
|
||||||
|
2017-11-21 (bug) Defeat zombie toplevels (culler)
|
||||||
|
|
||||||
|
2017-11-25 (bug) macOS resposive menu bar for command line apps (culler)
|
||||||
|
|
||||||
|
2017-11-25 (bug)[1c659e] support png from mac screenshots (vogel)
|
||||||
|
|
||||||
|
2017-11-25 (bug)[de4af1] macOS file selector "all types" setting (culler)
|
||||||
|
|
||||||
|
2017-11-26 (bug) [wm withdraw] on Window and Dock menus (walzer)
|
||||||
|
|
||||||
|
2017-11-27 (feature) Drop support for macOS 10.5 (culler)
|
||||||
|
|
||||||
|
2017-11-30 (bug)[164c1b] Fixes [raise] on macOS (culler)
|
||||||
|
|
||||||
|
2017-11-30 (bug)[13d63d] macOS support of menu -postcommand (culler)
|
||||||
|
|
||||||
|
2017-12-05 (bug) enable custom icon display on macOS (walzer)
|
||||||
|
|
||||||
|
2017-12-05 (bug)[1088805,0feb63] macOS bind failures (culler)
|
||||||
|
|
||||||
|
2017-12-05 (bug)[3382424] Suppress noisy messages on macOS (culler)
|
||||||
|
|
||||||
|
2017-12-08 (new)[TIP 477] nmake build system reform (nadkarni)
|
||||||
|
|
||||||
|
2017-12-18 (bug)[b77626] Make [tk busy -cursor] silent no-op on macOS (vogel)
|
||||||
|
|
||||||
|
--- Released 8.6.8, December 22, 2017 --- https://core.tcl-lang.org/tk/ for details
|
||||||
|
|
||||||
|
2017-12-31 (bug)[aa7679] crash using window after master destroyed (vogel)
|
||||||
|
|
||||||
|
2017-12-31 (bug)[6525e1] encoding leak in tkMacOSXProcessFiles (werner)
|
||||||
|
|
||||||
|
2018-01-07 (bug)[925262] New option -state for ttk::scale (vogel)
|
||||||
|
|
||||||
|
2018-01-07 (bug)[fa8de7] Crash [ttk::checkbutton .x -variable {}] (werner)
|
||||||
|
|
||||||
|
2018-01-16 (bug)[382712] Crash in [event generate . <KeyPress>] (werner)
|
||||||
|
|
||||||
|
2018-01-19 (bug)[657c38] Crash in menu destroy with checkbutton entry (werner)
|
||||||
|
|
||||||
|
2018-01-25 (bug)[de156e] Deny PRIMARY selection access in safe interps (nash)
|
||||||
|
|
||||||
|
2018-01-28 (bug)[b68710] Fixes in [text] bindings (nash)
|
||||||
|
|
||||||
|
2018-01-28 (bug)[e20d5c] Stop failures of textTag-18.1 (vogel)
|
||||||
|
|
||||||
|
2018-02-04 (bug)[5d991b] Fortify var traces against deleted vars (vogel)
|
||||||
|
|
||||||
|
2018-02-10 (bug)[1821174] Stop RenderBadPicture X error (werner)
|
||||||
|
|
||||||
|
2018-02-11 (bug)[502e74] Stop X errors on untrusted connections (werner)
|
||||||
|
|
||||||
|
2018-03-07 (bug)[71b131] Regression in Tk_DrawChars() (werner,cramer)
|
||||||
|
|
||||||
|
2018-04-03 (bug)[59fccb] menu flaws when empty menubar clicked (vogel,mcdonald)
|
||||||
|
|
||||||
|
2018-04-28 (bug)[7423f9] improved legacy support for [tk_setPalette] (bll)
|
||||||
|
|
||||||
|
2018-04-30 (bug)[6d5042] enable [tk inactive] on Mac OSX (culler)
|
||||||
|
|
||||||
|
2018-05-03 (bug)[75d38f] fix touchpad scroll of listbox on win notebook (vogel)
|
||||||
|
|
||||||
|
2018-06-16 (bug)[de01e2] Crash in [$text replace] (vogel)
|
||||||
|
|
||||||
|
2018-07-04 (bug)[6ca257] Fix [wm resizable] on Mac OSX (culler)
|
||||||
|
|
||||||
|
2018-07-04 (bug)[135696] Crash in [wm transient] (culler)
|
||||||
|
|
||||||
|
2018-07-04 (bug)[309b42] Improve ttk high-contrast-mode support (lemburg,vogel)
|
||||||
|
|
||||||
|
2018-07-17 (bug)[1088825] fix frame-2.17,3.9,3.10 on Mac (vogel)
|
||||||
|
|
||||||
|
2018-07-27 (bug)[fabed1] GIF photo support for "deferred clear code" (vogel)
|
||||||
|
|
||||||
|
2018-08-08 (feature) Modern full-screen support on Mac OSX (walzer)
|
||||||
|
|
||||||
|
2018-08-12 (bug)[1875c1] scrollbar on Mac OSX (walzer)
|
||||||
|
|
||||||
|
2018-08-14 (bug)[1ba71a] KeyRelease events on Mac OSX(walzer)
|
||||||
|
|
||||||
|
2018-09-02 (bug)[3441086] error message in layout-2 (vogel)
|
||||||
|
|
||||||
|
2018-09-07 (bug)[05bd7f] vista theme for combobox (vogel)
|
||||||
|
|
||||||
|
2018-09-08 (bug)[382712] crash in KeyPress event handling (vogel,werner)
|
||||||
|
|
||||||
|
2018-09-08 (bug)[6fcaaa] insertion cursor visibility in ttk::entry (nemethi)
|
||||||
|
|
||||||
|
2018-09-30 (bug)[822923] cascade menu indicator color (mcdonald)
|
||||||
|
|
||||||
|
2018-10-06 (bug)[9658bc] borderwidth calculations on menu items (vogel)
|
||||||
|
|
||||||
|
2018-10-17 (bug)[ca403f] treeview border drawing (vogel)
|
||||||
|
|
||||||
|
2018-10-17 (bug)[4b555a] hang in [$text search -all] (vogel,danckaert)
|
||||||
|
|
||||||
|
2018-10-30 (new platform) port to system changes in Mac OSX 10.14 (culler)
|
||||||
|
|
||||||
|
2018-11-04 (bug)[6b22d4] [treeview] binding fix (ohagan)
|
||||||
|
|
||||||
|
- Released 8.6.9, November 16, 2018 - https://core.tcl-lang.org/tk/ for details
|
||||||
|
|
||||||
|
2018-11-19 (bug)[0a9c91] crash in text-11a.22 (vogel)
|
||||||
|
|
||||||
|
2018-11-20 (bug)[9705d1] crash activating "Alt" theme (culler)
|
||||||
|
|
||||||
|
2018-11-24 (bug)[e3b954] cursor offset at full screen display (culler)
|
||||||
|
|
||||||
|
2019-01-04 (bug)[18a4ba] cross-platform [winfo containing] (culler)
|
||||||
|
|
||||||
|
2019-01-08 (feature) local grab on Mac OSX (culler)
|
||||||
|
|
||||||
|
2019-01-10 (build) 'None', 'ControlMask' symbol conflicts (nijtmans)
|
||||||
|
|
||||||
|
2019-01-20 (bug)[509caf] [treeview tag configure] regression (mcdonald,vogel)
|
||||||
|
|
||||||
|
2019-01-26 (bug)[3003895] [scale] res rounds and -from (tischler,pieper,vogel)
|
||||||
|
|
||||||
|
2019-02-02 (new)[TIP 533] [$mb post x y idx] (culler,vogel)
|
||||||
|
|
||||||
|
2019-02-08 (bug)[1529659] embed toplevel blocks outer menu (culler)
|
||||||
|
|
||||||
|
2019-02-10 (bug)[8814bd] crash in [NSMenu size] (culler)
|
||||||
|
|
||||||
|
2019-02-13 (bug)[b389df] Aqua: mouse position on dual screen (culler)
|
||||||
|
|
||||||
|
2019-02-23 (bug)[56a182] Aqua: [tk_getOpenFile] causes off-screen toplevels (culler,walzer)
|
||||||
|
|
||||||
|
2019-02-23 (bug)[9771ae] Aqua: workaround incompatible transient window models (culler,walzer)
|
||||||
|
|
||||||
|
2019-03-01 (bug)[1951ab] Prevent transient window cycles (crashed on Aqua) (culler,vogel)
|
||||||
|
*** POTENTIAL INCOMPATIBILITY ***
|
||||||
|
|
||||||
|
2019-03-04 (bug)[4da219] Incomplete read of multi-image GIF (oehlmann)
|
||||||
|
|
||||||
|
2019-03-14 (bug)[609e00] Aqua: wrong coords from MouseWheel binding (vogel,culler)
|
||||||
|
|
||||||
|
2019-03-25 (bug)[48c394] Aqua: recompute text layout for empty string (culler)
|
||||||
|
|
||||||
|
2019-03-31 (new)[TIP 535] Precision of ::scale widget tick mark values (vogel)
|
||||||
|
*** POTENTIAL INCOMPATIBILITY ***
|
||||||
|
|
||||||
|
2019-03-31 (bug)[da3914] [$treeview identify element] failure (ulfalizer,vogel)
|
||||||
|
|
||||||
|
2019-04-06 (bug)[897ffe] Prevent cross-manager loops of geom management (culler,vogel)
|
||||||
|
|
||||||
|
2019-04-11 (new) Apple Dark Mode support (culler)
|
||||||
|
|
||||||
|
2019-04-14 (new) Aqua: Use color names consistent with NSColor (culler)
|
||||||
|
*** POTENTIAL INCOMPATIBILITY ***
|
||||||
|
|
||||||
|
2019-04-14 (new) Aqua: [tk::unsupported::MacWindowStyle isdark] (culler)
|
||||||
|
|
||||||
|
2019-04-19 (bug)[368fa4] Prevent toggle of hidden treeview indicators (ulfalizer,vogel)
|
||||||
|
|
||||||
|
2019-04-24 (bug)[4d2e8d] Aqua: notebook pane redraws (culler)
|
||||||
|
|
||||||
|
2019-04-24 (bug)[928652] Apply TIP 533 for ttk::menubutton (culler,vogel)
|
||||||
|
|
||||||
|
2019-04-24 (bug)[1001070] X-platform rework of label options -highlight* (seal,culler,vogel)
|
||||||
|
|
||||||
|
2019-04-28 (bug)[6286fd] checkbutton handling of -selectcolor (ralfixx)
|
||||||
|
|
||||||
|
2019-04-30 (bug)[4f9a99] Win: crash in [style element create] (oehlman,vogel)
|
||||||
|
|
||||||
|
2019-05-08 (bug) Ttk scrolling bugs, see tests treeview-9.1, entry-3.[3-6] (vogel)
|
||||||
|
|
||||||
|
2019-05-08 (bug)[51b4b1] Aqua: combobox use native ttk scrollbar (bll,vogel)
|
||||||
|
*** POTENTIAL INCOMPATIBILITY ***
|
||||||
|
|
||||||
|
2019-05-18 (new)[eb2996] Win: support for horizontal scrolling (chavez,vogel)
|
||||||
|
|
||||||
|
2019-05-26 (new)[TIP 541] [combobox current] support "end" index (vogel)
|
||||||
|
|
||||||
|
2019-05-26 (bug)[2a6c62] <<TreeviewSelect>> trigger on item delete (vogel)
|
||||||
|
|
||||||
|
2019-06-05 (bug)[9ebc6f] Aqua: fix incorrect reports of mouse coords (chavez, culler)
|
||||||
|
|
||||||
|
2019-06-14 (bug)[436ad6] Corrected Aqua regressions in [wm manage] (walzer, culler)
|
||||||
|
|
||||||
|
2019-06-15 (bug)[75b8fb] Crash with some [event generate]d <ButtonRelease> (leunissen,vogel)
|
||||||
|
|
||||||
|
2019-06-15 (new)[TIP 536] New tk::mac::* commands for IPC on Mac OSX (walzer)
|
||||||
|
|
||||||
|
2019-07-13 (bug)[4566e2] Aqua: Make default background color of Tk and Ttk agree (walzer,culler)
|
||||||
|
*** POTENTIAL INCOMPATIBILITY ***
|
||||||
|
|
||||||
|
2019-07-16 (bug)[5ddeca] Stop app switching exposing withdrawn windows as zombies (culler)
|
||||||
|
|
||||||
|
2019-07-25 (new)[1fb7af] Win support for buttons 4 and 5 (chavez,vogel,nijtmans)
|
||||||
|
|
||||||
|
2019-08-18 (new) Refactor all MouseWheel bindings (nijtmans)
|
||||||
|
*** POTENTIAL INCOMPATIBILITY ***
|
||||||
|
|
||||||
|
2019-08-21 (bug)[c8ccd1] up array key in [text] takes to index 1.0 (ulfalizer,vogel)
|
||||||
|
|
||||||
|
2019-08-28 (new)[TIP 532] Tk event loop rewrite to prevent ring overflow (cramer)
|
||||||
|
*** POTENTIAL INCOMPATIBILITY ***
|
||||||
|
|
||||||
|
2019-08-28 (bug)[943d5e] Win: embedded widget destruction cancels window resize (nemethi,vogel,nijtmans)
|
||||||
|
|
||||||
|
2019-09-12 (bug)[2834776] Stop disabled spinbox from generating <<Increment>> & <<Decrement>> (vogel)
|
||||||
|
|
||||||
|
2019-09-24 (bug)[96bce5] Aqua: Prevent crash drawing 1x1 rounded rectangles (bll,culler)
|
||||||
|
|
||||||
|
2019-10-03 (bug)[3ed5b6] Win: root window position with highlightthickness>0 (leunissem,vogel,nijtmans)
|
||||||
|
|
||||||
|
2019-10-09 (bug)[a01b6f7] Workaround XWayland bug reporting screen width (werner,nijtmans)
|
||||||
|
|
||||||
|
2019-10-10 (bug) Aqua: Prevent crash deactivating menu during menu deletion (culler)
|
||||||
|
|
||||||
|
2019-10-21 (bug)[aea00b] Aqua: Better handling of resolution changes (chavez, culler)
|
||||||
|
|
||||||
|
2019-10-25 (bug)[b82bd4] Fix [style configure -compound] (culler,vogel)
|
||||||
|
|
||||||
|
2019-10-27 (bug)[f7a4f7] Aqua: embedded toplevel, forced focus and mouse coords (naaus,culler)
|
||||||
|
|
||||||
|
2019-11-13 (new) Win: keycodes Mail, AudioMedia, Launch0, Launch1 (nijtmans)
|
||||||
|
|
||||||
|
2019-11-15 (bug)[69b48f] failing test textTag-18.1 (vogel)
|
||||||
|
|
||||||
|
2019-11-17 (bug)[c4abd2] panic in stackorder command (culler)
|
||||||
|
|
||||||
|
2019-11-17 (bug)[53d280] [wm iconphoto] crash on empty image (culler)
|
||||||
|
|
||||||
|
2019-11-17 [90d555] workaround NSFontManager bad selections (culler)
|
||||||
|
|
||||||
|
2019-11-19 (new) Partial Emoji support in text displays (nijtmans,culler)
|
||||||
|
|
||||||
|
- Released 8.6.10, Nov 21, 2019 - https://core.tcl-lang.org/tk/ for details
|
||||||
|
|
||||||
|
2019-11-25 (bug)[a95373] TkKeyEvent platform variations (werner)
|
||||||
|
|
||||||
|
2019-11-26 (bug) workaround Win bug so test bind-34.3 passes (nijtmans)
|
||||||
|
|
||||||
|
2019-12-03 Aqua: white cursors in dark mode (culler)
|
||||||
|
|
||||||
|
2019-12-04 (bug)[749bd9] Aqua: systemControlAccentColor (bll,culler)
|
||||||
|
|
||||||
|
2019-12-14 (bug)[b3b56a] ttk respect -cursor option (vogel)
|
||||||
|
|
||||||
|
2019-12-14 (bug)[b094cb] Win: $tv -show grows widget width 1 pixel (vogel)
|
||||||
|
|
||||||
|
2019-12-14 (bug)[02a694] spinbox options used wrong db names (vogel)
|
||||||
|
|
||||||
|
2020-01-11 (bug)[2b8fa6] MouseWheel for ttk::scrollbar (oehlmann)
|
||||||
|
|
||||||
|
2020-01-18 (bug)[1771594] icursor and scrollregion, canvText-14.7 (vogel)
|
||||||
|
|
||||||
|
2020-01-18 (bug)[587937] tag list ops preserve list order (vogel)
|
||||||
|
|
||||||
|
2020-01-18 (bug)[2830360] lose invalid state at focus event, entry-10.1 (vogel)
|
||||||
|
|
||||||
|
2020-01-18 (bug)[077d49] string table options support null ok (vogel)
|
||||||
|
|
||||||
|
2020-01-18 (bug)[bf93d0] Aqua: unresponsive menubar (culler)
|
||||||
|
|
||||||
|
2020-01-31 (bug)[a196fb] restore support for unthreaded Tcl (porter,sebres)
|
||||||
|
|
||||||
|
2020-02-09 (bug)[90a4d7] fontconfig crash when no font installed (vogel)
|
||||||
|
|
||||||
|
2020-02-24 (bug) Aqua: incomplete floating window display (walzer)
|
||||||
|
|
||||||
|
2020-03-11 (bug)[fb2ec3] OSX 10.15+: full screen options (nicolas,walzer)
|
||||||
|
|
||||||
|
2020-03-12 (bug)[08e2f8] focus on unmapped windows, focus-7.1 (vogel)
|
||||||
|
|
||||||
|
2020-03-12 (bug)[2edd84] [$c postscript] result management (gavilan)
|
||||||
|
|
||||||
|
2020-03-22 (bug)[98662d] restore TK_MAC_DEBUG_DRAWING build (chavez)
|
||||||
|
|
||||||
|
2020-03-29 (bug)[655fe2] tearoff menu redraw artifacts (vogel)
|
||||||
|
|
||||||
|
2020-04-03 (bug)[efbedd] Aqua: compund button-like widget appearance (chavez)
|
||||||
|
|
||||||
|
2020-04-14 (bug)[87bade] Aqua: improved dealing with PressAndHold (culler)
|
||||||
|
|
||||||
|
2020-04-14 (bug)[376788] X: stop crash w/Noto Color Emoji font (nijtmans)
|
||||||
|
|
||||||
|
2020-04-15 (bug)[89354d] Aqua: text color w/o clipping (culler)
|
||||||
|
|
||||||
|
2020-04-15 (new) Aqua: assign Button 3 to the middle button (chavez)
|
||||||
|
|
||||||
|
2020-04-25 (bug)[3519111] treeview horizontal scroll, entry-2.1.1 (vogel)
|
||||||
|
|
||||||
|
2020-04-25 (bug)[141881] treeview vertical scroll, treeview-9.2 (vogel)
|
||||||
|
|
||||||
|
2020-05-01 (bug)[2712f4] X: crash angled text w/o Xft, canvText-20.2 (vogel)
|
||||||
|
|
||||||
|
2020-05-01 (bug)[cd8714] Win: long angled text (chavez)
|
||||||
|
|
||||||
|
2020-05-09 (bug)[88c9e0] treeview -selectmode none focus ring (gavilan)
|
||||||
|
|
||||||
|
2020-05-12 (new) Aqua: Rewrite of the Key event system (culler)
|
||||||
|
|
||||||
|
2020-05-12 (bug)[411359] Aqua: stop crashes/zombies related to TouchBar (culler)
|
||||||
|
|
||||||
|
2020-05-12 (new) Aqua: systemLinkColor (chavez)
|
||||||
|
|
||||||
|
2020-05-16 (bug)[40ada9] crash when active button is destroyed (chavez)
|
||||||
|
|
||||||
|
2020-05-28 (bug)[3c6660,601cea,4b50b7] Win10: ttk scale (nemethi,lanam)
|
||||||
|
|
||||||
|
2020-06-08 (bug)[2790615] Some callbacks not eval'd in global scope (nijtmans)
|
||||||
|
|
||||||
|
2020-06-25 Aqua: Update OSX version tests to support Big Sur (culler)
|
||||||
|
|
||||||
|
2020-06-27 (bug)[6920b2] dup in spinbox -values causes trouble (lanam)
|
||||||
|
|
||||||
|
2020-06-27 (bug)[5c51be] invalid mem read buffer in Tk_PhotoPut* (chavez)
|
||||||
|
|
||||||
|
2020-06-27 (bug)[16ef16] restore bind sequence support, bind-33.(16-21) (vogel)
|
||||||
|
|
||||||
|
2020-07-02 (bug)[2d2459] default style for combobox (bll)
|
||||||
|
|
||||||
|
2020-07-06 (bug)[40c4bf] double free, entry-19.21 (vogel)
|
||||||
|
|
||||||
|
2020-07-06 (bug)[e3888d] grab & warp, bind-36.1 (vogel)
|
||||||
|
|
||||||
|
2020-07-12 (bug)[2442314] fontchooser i18n (nijtmans)
|
||||||
|
|
||||||
|
2020-07-13 (bug)[7655f6] [*entry]: selected text drawing reform (chavez)
|
||||||
|
|
||||||
|
2020-07-14 (bug)[09abd7] workaround invalid key codes from Debian 10 (vogel)
|
||||||
|
|
||||||
|
2020-07-20 (bug)[cf3853] Aqua: improve bounds on non-Retina displays (chavez)
|
||||||
|
|
||||||
|
2020-08-01 Aqua: [winfo rgb] light and dark mode support (culler)
|
||||||
|
|
||||||
|
2020-08-15 (bug)[315104] Aqua: appearance change virtual events (culler)
|
||||||
|
|
||||||
|
2020-08-21 (bug)[291699] mouse binding for scrollbar grip (bll)
|
||||||
|
|
||||||
|
2020-09-08 (bug)[6c2425] buffer bounds violation (chavez)
|
||||||
|
|
||||||
|
2020-09-08 (bug)[2a6d63] OSX 10.6 crash (hellstrom,culler)
|
||||||
|
|
||||||
|
2020-09-08 (bug)[420feb] undefined behavior due to alignment (chavez,nijtmans)
|
||||||
|
|
||||||
|
2020-09-10 (bug)[ab1fea] Aqua init issues (culler)
|
||||||
|
|
||||||
|
2020-09-14 (bug)[71e18c] Aqua: crash in full screen toggle (culler)
|
||||||
|
|
||||||
|
2020-09-18 (bug)[4f4f03] Aqua: mouse drags across title bar (nab,culler)
|
||||||
|
|
||||||
|
2020-09-21 (bug)[d91e05] select/copy in disabled text (bll)
|
||||||
|
|
||||||
|
2020-09-27 (TIP #581) disfavor Master/Slave terminology (nijtmans)
|
||||||
|
|
||||||
|
2020-09-30 (bug)[59cba3] win: improve theme detection (bll,nijtmans)
|
||||||
|
|
||||||
|
2020-10-06 (bug)[175a6e] Aqua: support tiled windows (culler)
|
||||||
|
|
||||||
|
2020-10-07 (bug)[1fa8c3] Aqua: crash on resize during display (nab,culler)
|
||||||
|
|
||||||
|
2020-10-16 (bug)[c2483b] Aqua: consistent finalization (culler,nijtmans)
|
||||||
|
|
||||||
|
2020-11-06 (bug)[c9ebac] Aqua: use standard about dialog (culler)
|
||||||
|
|
||||||
|
2020-11-07 (bug)[4ebcc0] sticky fontchooser options (roseman,vogel)
|
||||||
|
|
||||||
|
2020-11-10 (bug)[f9fa92] Aqua: crash in color caching scheme (culler)
|
||||||
|
|
||||||
|
2020-11-20 (bug)[7185d2] Aqua: fixes to special menu support (culler)
|
||||||
|
|
||||||
|
2020-11-24 (bug)[4a40c6] Aqua: [wm manage] frame offset (chavez)
|
||||||
|
|
||||||
|
2020-12-04 (bug)[3ef77f] Aqua dark mode combobox focus ring (walzer,culler)
|
||||||
|
|
||||||
|
2020-12-15 (bug)[80e4c6] Aqua: progressbar animation (nab,culler)
|
||||||
|
|
||||||
|
2020-12-24 (bug)[6157a8] Aqua: file dialog -filetypes (davis,culler)
|
||||||
|
|
||||||
|
- Released 8.6.11, Dec 31, 2020 - https://core.tcl-lang.org/tk/ for details
|
||||||
|
|
||||||
|
2021-01-04 (bug)[19fb7a] Mac: [tk_messageBox] use proper icons (ericwb,culler)
|
||||||
|
|
||||||
|
2021-01-11 (bug)[7beaed] ttk::bindMouseWheel syntax error (nemethi)
|
||||||
|
|
||||||
|
2021-01-15 (new) support 4 new keycodes: CodeInput, SingleCandidate,
|
||||||
|
MultipleCandidate, PreviousCandidate (nijtmans)
|
||||||
|
|
||||||
|
2021-01-18 (new) Portable keycodes: OE, oe, Ydiaeresis (nijtmans)
|
||||||
|
|
||||||
|
2021-01-27 (bug)[bdcab8] Mac crash on non-BMP menu label (nab,culler)
|
||||||
|
|
||||||
|
2021-02-07 (bug)[9e1312] <Enter> to parent after child destroyed (leunissen)
|
||||||
|
|
||||||
|
2021-02-10 (bug)[d3cd4c] more robust notebook processing (nemethi)
|
||||||
|
|
||||||
|
2021-02-25 (bug)[234ee4] crash in [clipboard get] invalid encoding (nijtmans)
|
||||||
|
|
||||||
|
2021-02-25 (bug)[be9cad] Poor trace housekeeping -> tkwait segfault (michael)
|
||||||
|
|
||||||
|
2021-03-02 (bug)[1626ed] Mac: crash with dead key as menu accelerator (culler)
|
||||||
|
|
||||||
|
2021-03-22 (bug)[9b6065] restore Tcl [update], see window-2.12 (leunissen)
|
||||||
|
|
||||||
|
2021-04-07 (bug)[58222c] Mac: entry and spinbox bg colors (chavez,culler)
|
||||||
|
|
||||||
|
2021-04-18 (bug)[34db75,ea876b] cursor motion in peer text (vogel)
|
||||||
|
|
||||||
|
2021-04-26 (bug)[c97464] memleak in TkpDrawAngledChars (nab,culler)
|
||||||
|
|
||||||
|
2021-04-29 Mac: explicit backing CALayer to fix rendering issues (culler)
|
||||||
|
|
||||||
|
2021-05-02 Mac: respect key repeat system setting (culler)
|
||||||
|
|
||||||
|
2021-05-10 (bug)[171ba7] crash when grab and focus are not coordinated (culler)
|
||||||
|
|
||||||
|
2021-05-24 crash due to failed transient record housekeeping (culler)
|
||||||
|
|
||||||
|
2021-05-25 (bug)[7bda98] Mac: <Double-1> bindings fire twice on app activation
|
||||||
|
|
||||||
|
2021-06-03 (bug)[4401d3] Mac: improved support of pixel formats (chavez,culler)
|
||||||
|
|
||||||
|
2021-06-03 (bug)[8ecc3e] Mac: window exposed by Mission Control (chavez,culler)
|
||||||
|
|
||||||
|
2021-06-04 (bug)[099109] segfault reusing a container toplevel (culler)
|
||||||
|
|
||||||
|
2021-06-22 (bug)[4efbfe] static package init order in wish (werner)
|
||||||
|
|
||||||
|
2021-09-21 (bug)[033886] Win: hang in font loading (e-paine,vogel)
|
||||||
|
|
||||||
|
2021-10-14 (bug)[8ebed3] multi-thread safety in Xft use (werner)
|
||||||
|
|
||||||
|
2021-10-22 (new)[TIP 608] New virtual event <<TkWorldChanged>> (griffin)
|
||||||
|
|
||||||
|
2021-10-27 (bug) file dialog compatibility with Mac OS 12 (culler)
|
||||||
|
|
||||||
|
2021-10-29 (bug) Mac: stop crash when non-Tk windows go full screen (werner)
|
||||||
|
|
||||||
|
2021-10-30 (bug)[6ea0b3] Mac: grab from menu makes dead window (culler)
|
||||||
|
|
||||||
|
- Released 8.6.12, Nov 5, 2021 - https://core.tcl-lang.org/tk/ for details
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
*
|
*
|
||||||
* Declares facilities exported by the "stdlib" portion of the C library.
|
* Declares facilities exported by the "stdlib" portion of the C library.
|
||||||
* This file isn't complete in the ANSI-C sense; it only declares things
|
* This file isn't complete in the ANSI-C sense; it only declares things
|
||||||
* that are needed by Tcl. This file is needed even on many systems with
|
* that are needed by Tk. This file is needed even on many systems with
|
||||||
* their own stdlib.h (e.g. SunOS) because not all stdlib.h files declare
|
* their own stdlib.h (e.g. SunOS) because not all stdlib.h files declare
|
||||||
* all the procedures needed here (such as strtod).
|
* all the procedures needed here (such as strtod).
|
||||||
*
|
*
|
||||||
@@ -17,6 +17,10 @@
|
|||||||
#ifndef _STDLIB
|
#ifndef _STDLIB
|
||||||
#define _STDLIB
|
#define _STDLIB
|
||||||
|
|
||||||
|
#ifndef _TCL
|
||||||
|
# include <tcl.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
extern void abort(void);
|
extern void abort(void);
|
||||||
extern double atof(const char *string);
|
extern double atof(const char *string);
|
||||||
extern int atoi(const char *string);
|
extern int atoi(const char *string);
|
||||||
|
|||||||
@@ -15,6 +15,9 @@
|
|||||||
#define _UNISTD
|
#define _UNISTD
|
||||||
|
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
|
#ifndef _TCL
|
||||||
|
# include <tcl.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifndef NULL
|
#ifndef NULL
|
||||||
#define NULL 0
|
#define NULL 0
|
||||||
@@ -37,7 +40,7 @@ extern int execle(const char *path, ...);
|
|||||||
extern int execlp(const char *file, ...);
|
extern int execlp(const char *file, ...);
|
||||||
extern int execv(const char *path, char **argv);
|
extern int execv(const char *path, char **argv);
|
||||||
extern int execve(const char *path, char **argv, char **envp);
|
extern int execve(const char *path, char **argv, char **envp);
|
||||||
extern int execvpw(const char *file, char **argv);
|
extern int execvp(const char *file, char **argv);
|
||||||
extern pid_t fork(void);
|
extern pid_t fork(void);
|
||||||
extern char * getcwd(char *buf, size_t size);
|
extern char * getcwd(char *buf, size_t size);
|
||||||
extern gid_t getegid(void);
|
extern gid_t getegid(void);
|
||||||
@@ -65,7 +68,7 @@ extern int ftruncate(int fd, unsigned long length);
|
|||||||
extern int ioctl(int fd, int request, ...);
|
extern int ioctl(int fd, int request, ...);
|
||||||
extern int readlink(const char *path, char *buf, int bufsize);
|
extern int readlink(const char *path, char *buf, int bufsize);
|
||||||
extern int setegid(gid_t group);
|
extern int setegid(gid_t group);
|
||||||
extern int seteuidw(uid_t user);
|
extern int seteuid(uid_t user);
|
||||||
extern int setreuid(int ruid, int euid);
|
extern int setreuid(int ruid, int euid);
|
||||||
extern int symlink(const char *, const char *);
|
extern int symlink(const char *, const char *);
|
||||||
extern int ttyslot(void);
|
extern int ttyslot(void);
|
||||||
@@ -74,3 +77,4 @@ extern int vfork(void);
|
|||||||
#endif /* _POSIX_SOURCE */
|
#endif /* _POSIX_SOURCE */
|
||||||
|
|
||||||
#endif /* _UNISTD */
|
#endif /* _UNISTD */
|
||||||
|
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
'\"
|
'\"
|
||||||
'\" See the file "license.terms" for information on usage and redistribution
|
'\" See the file "license.terms" for information on usage and redistribution
|
||||||
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
|
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
|
||||||
'\"
|
'\"
|
||||||
.TH Tk_Alloc3DBorderFromObj 3 8.1 Tk "Tk Library Procedures"
|
.TH Tk_Alloc3DBorderFromObj 3 8.1 Tk "Tk Library Procedures"
|
||||||
.so man.macros
|
.so man.macros
|
||||||
.BS
|
.BS
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
'\"
|
'\"
|
||||||
'\" See the file "license.terms" for information on usage and redistribution
|
'\" See the file "license.terms" for information on usage and redistribution
|
||||||
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
|
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
|
||||||
'\"
|
'\"
|
||||||
.TH Tk_CreateBindingTable 3 4.0 Tk "Tk Library Procedures"
|
.TH Tk_CreateBindingTable 3 4.0 Tk "Tk Library Procedures"
|
||||||
.so man.macros
|
.so man.macros
|
||||||
.BS
|
.BS
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
'\"
|
'\"
|
||||||
'\" See the file "license.terms" for information on usage and redistribution
|
'\" See the file "license.terms" for information on usage and redistribution
|
||||||
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
|
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
|
||||||
'\"
|
'\"
|
||||||
.TH Tk_CanvasPs 3 4.0 Tk "Tk Library Procedures"
|
.TH Tk_CanvasPs 3 4.0 Tk "Tk Library Procedures"
|
||||||
.so man.macros
|
.so man.macros
|
||||||
.BS
|
.BS
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
'\"
|
'\"
|
||||||
'\" See the file "license.terms" for information on usage and redistribution
|
'\" See the file "license.terms" for information on usage and redistribution
|
||||||
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
|
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
|
||||||
'\"
|
'\"
|
||||||
.TH Tk_CanvasTkwin 3 4.1 Tk "Tk Library Procedures"
|
.TH Tk_CanvasTkwin 3 4.1 Tk "Tk Library Procedures"
|
||||||
.so man.macros
|
.so man.macros
|
||||||
.BS
|
.BS
|
||||||
@@ -144,7 +144,7 @@ like this:
|
|||||||
.PP
|
.PP
|
||||||
.CS
|
.CS
|
||||||
static const Tk_CustomOption tagsOption = {Tk_CanvasTagsParseProc,
|
static const Tk_CustomOption tagsOption = {Tk_CanvasTagsParseProc,
|
||||||
Tk_CanvasTagsPrintProc, (ClientData) NULL
|
Tk_CanvasTagsPrintProc, NULL
|
||||||
};
|
};
|
||||||
|
|
||||||
static const Tk_ConfigSpec configSpecs[] = {
|
static const Tk_ConfigSpec configSpecs[] = {
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
'\"
|
'\"
|
||||||
'\" See the file "license.terms" for information on usage and redistribution
|
'\" See the file "license.terms" for information on usage and redistribution
|
||||||
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
|
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
|
||||||
'\"
|
'\"
|
||||||
.TH Tk_CanvasTextInfo 3 4.0 Tk "Tk Library Procedures"
|
.TH Tk_CanvasTextInfo 3 4.0 Tk "Tk Library Procedures"
|
||||||
.so man.macros
|
.so man.macros
|
||||||
.BS
|
.BS
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
'\"
|
'\"
|
||||||
'\" See the file "license.terms" for information on usage and redistribution
|
'\" See the file "license.terms" for information on usage and redistribution
|
||||||
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
|
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
|
||||||
'\"
|
'\"
|
||||||
.TH Tk_ClipboardClear 3 4.0 Tk "Tk Library Procedures"
|
.TH Tk_ClipboardClear 3 4.0 Tk "Tk Library Procedures"
|
||||||
.so man.macros
|
.so man.macros
|
||||||
.BS
|
.BS
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
'\"
|
'\"
|
||||||
'\" See the file "license.terms" for information on usage and redistribution
|
'\" See the file "license.terms" for information on usage and redistribution
|
||||||
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
|
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
|
||||||
'\"
|
'\"
|
||||||
.TH Tk_ClearSelection 3 4.0 Tk "Tk Library Procedures"
|
.TH Tk_ClearSelection 3 4.0 Tk "Tk Library Procedures"
|
||||||
.so man.macros
|
.so man.macros
|
||||||
.BS
|
.BS
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
'\"
|
'\"
|
||||||
'\" See the file "license.terms" for information on usage and redistribution
|
'\" See the file "license.terms" for information on usage and redistribution
|
||||||
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
|
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
|
||||||
'\"
|
'\"
|
||||||
.TH Tk_ConfigureWindow 3 4.0 Tk "Tk Library Procedures"
|
.TH Tk_ConfigureWindow 3 4.0 Tk "Tk Library Procedures"
|
||||||
.so man.macros
|
.so man.macros
|
||||||
.BS
|
.BS
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
'\"
|
'\"
|
||||||
'\" See the file "license.terms" for information on usage and redistribution
|
'\" See the file "license.terms" for information on usage and redistribution
|
||||||
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
|
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
|
||||||
'\"
|
'\"
|
||||||
.TH Tk_CoordsToWindow 3 "" Tk "Tk Library Procedures"
|
.TH Tk_CoordsToWindow 3 "" Tk "Tk Library Procedures"
|
||||||
.so man.macros
|
.so man.macros
|
||||||
.BS
|
.BS
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
'\"
|
'\"
|
||||||
'\" See the file "license.terms" for information on usage and redistribution
|
'\" See the file "license.terms" for information on usage and redistribution
|
||||||
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
|
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
|
||||||
'\"
|
'\"
|
||||||
.TH Tk_CreateClientMessageHandler 3 "8.4" Tk "Tk Library Procedures"
|
.TH Tk_CreateClientMessageHandler 3 "8.4" Tk "Tk Library Procedures"
|
||||||
.so man.macros
|
.so man.macros
|
||||||
.BS
|
.BS
|
||||||
@@ -31,7 +31,7 @@ drop applications.
|
|||||||
The callback to \fIproc\fR will be made by \fBTk_HandleEvent\fR;
|
The callback to \fIproc\fR will be made by \fBTk_HandleEvent\fR;
|
||||||
this mechanism only works in programs that dispatch events
|
this mechanism only works in programs that dispatch events
|
||||||
through \fBTk_HandleEvent\fR (or through other Tk procedures that
|
through \fBTk_HandleEvent\fR (or through other Tk procedures that
|
||||||
call \fBTk_HandleEvent\fR, such as \fBTk_DoOneEvent\fR or
|
call \fBTk_HandleEvent\fR, such as \fBTcl_DoOneEvent\fR or
|
||||||
\fBTk_MainLoop\fR).
|
\fBTk_MainLoop\fR).
|
||||||
.PP
|
.PP
|
||||||
\fIProc\fR should have arguments and result that match the
|
\fIProc\fR should have arguments and result that match the
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
'\"
|
'\"
|
||||||
'\" See the file "license.terms" for information on usage and redistribution
|
'\" See the file "license.terms" for information on usage and redistribution
|
||||||
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
|
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
|
||||||
'\"
|
'\"
|
||||||
.TH Tk_InitConsoleChannels 3 8.5 Tk "Tk Library Procedures"
|
.TH Tk_InitConsoleChannels 3 8.5 Tk "Tk Library Procedures"
|
||||||
.so man.macros
|
.so man.macros
|
||||||
.BS
|
.BS
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
'\"
|
'\"
|
||||||
'\" See the file "license.terms" for information on usage and redistribution
|
'\" See the file "license.terms" for information on usage and redistribution
|
||||||
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
|
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
|
||||||
'\"
|
'\"
|
||||||
.TH Tk_CreateErrorHandler 3 "" Tk "Tk Library Procedures"
|
.TH Tk_CreateErrorHandler 3 "" Tk "Tk Library Procedures"
|
||||||
.so man.macros
|
.so man.macros
|
||||||
.BS
|
.BS
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
'\"
|
'\"
|
||||||
'\" See the file "license.terms" for information on usage and redistribution
|
'\" See the file "license.terms" for information on usage and redistribution
|
||||||
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
|
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
|
||||||
'\"
|
'\"
|
||||||
.TH Tk_CreateGenericHandler 3 "" Tk "Tk Library Procedures"
|
.TH Tk_CreateGenericHandler 3 "" Tk "Tk Library Procedures"
|
||||||
.so man.macros
|
.so man.macros
|
||||||
.BS
|
.BS
|
||||||
@@ -38,7 +38,7 @@ use with Tk, and so on.
|
|||||||
The callback to \fIproc\fR will be made by \fBTk_HandleEvent\fR;
|
The callback to \fIproc\fR will be made by \fBTk_HandleEvent\fR;
|
||||||
this mechanism only works in programs that dispatch events
|
this mechanism only works in programs that dispatch events
|
||||||
through \fBTk_HandleEvent\fR (or through other Tk procedures that
|
through \fBTk_HandleEvent\fR (or through other Tk procedures that
|
||||||
call \fBTk_HandleEvent\fR, such as \fBTk_DoOneEvent\fR or
|
call \fBTk_HandleEvent\fR, such as \fBTcl_DoOneEvent\fR or
|
||||||
\fBTk_MainLoop\fR).
|
\fBTk_MainLoop\fR).
|
||||||
.PP
|
.PP
|
||||||
\fIProc\fR should have arguments and result that match the
|
\fIProc\fR should have arguments and result that match the
|
||||||
|
|||||||
@@ -4,12 +4,12 @@
|
|||||||
'\"
|
'\"
|
||||||
'\" See the file "license.terms" for information on usage and redistribution
|
'\" See the file "license.terms" for information on usage and redistribution
|
||||||
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
|
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
|
||||||
'\"
|
'\"
|
||||||
.TH Tk_CreateImageType 3 8.5 Tk "Tk Library Procedures"
|
.TH Tk_CreateImageType 3 8.5 Tk "Tk Library Procedures"
|
||||||
.so man.macros
|
.so man.macros
|
||||||
.BS
|
.BS
|
||||||
.SH NAME
|
.SH NAME
|
||||||
Tk_CreateImageType, Tk_GetImageMasterData, Tk_InitImageArgs \- define new kind of image
|
Tk_CreateImageType, Tk_GetImageMasterData, Tk_GetImageModelData, Tk_InitImageArgs \- define new kind of image
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
.nf
|
.nf
|
||||||
\fB#include <tk.h>\fR
|
\fB#include <tk.h>\fR
|
||||||
@@ -19,6 +19,11 @@ Tk_CreateImageType, Tk_GetImageMasterData, Tk_InitImageArgs \- define new kind o
|
|||||||
ClientData
|
ClientData
|
||||||
\fBTk_GetImageMasterData\fR(\fIinterp, name, typePtrPtr\fR)
|
\fBTk_GetImageMasterData\fR(\fIinterp, name, typePtrPtr\fR)
|
||||||
.sp
|
.sp
|
||||||
|
.VS "TIP 581"
|
||||||
|
ClientData
|
||||||
|
\fBTk_GetImageModelData\fR(\fIinterp, name, typePtrPtr\fR)
|
||||||
|
.VE "TIP 581"
|
||||||
|
.sp
|
||||||
\fBTk_InitImageArgs\fR(\fIinterp, argc, argvPtr\fR)
|
\fBTk_InitImageArgs\fR(\fIinterp, argc, argvPtr\fR)
|
||||||
.SH ARGUMENTS
|
.SH ARGUMENTS
|
||||||
.AS "const Tk_ImageType" *typePtrPtr
|
.AS "const Tk_ImageType" *typePtrPtr
|
||||||
@@ -71,7 +76,7 @@ The fields of this structure will be described in later subsections
|
|||||||
of this entry.
|
of this entry.
|
||||||
.PP
|
.PP
|
||||||
The second major data structure manipulated by an image manager
|
The second major data structure manipulated by an image manager
|
||||||
is called an \fIimage master\fR; it contains overall information
|
is called an \fIimage model\fR; it contains overall information
|
||||||
about a particular image, such as the values of the configuration
|
about a particular image, such as the values of the configuration
|
||||||
options specified in an \fBimage create\fR command.
|
options specified in an \fBimage create\fR command.
|
||||||
There will usually be one of these structures for each
|
There will usually be one of these structures for each
|
||||||
@@ -113,8 +118,8 @@ typedef int \fBTk_ImageCreateProc\fR(
|
|||||||
int \fIobjc\fR,
|
int \fIobjc\fR,
|
||||||
Tcl_Obj *const \fIobjv\fR[],
|
Tcl_Obj *const \fIobjv\fR[],
|
||||||
const Tk_ImageType *\fItypePtr\fR,
|
const Tk_ImageType *\fItypePtr\fR,
|
||||||
Tk_ImageMaster \fImaster\fR,
|
Tk_ImageMaster \fImodel\fR,
|
||||||
ClientData *\fImasterDataPtr\fR);
|
ClientData *\fImodelDataPtr\fR);
|
||||||
.CE
|
.CE
|
||||||
The \fIinterp\fR argument is the interpreter in which the \fBimage\fR
|
The \fIinterp\fR argument is the interpreter in which the \fBimage\fR
|
||||||
command was invoked, and \fIname\fR is the name for the new image,
|
command was invoked, and \fIname\fR is the name for the new image,
|
||||||
@@ -123,15 +128,15 @@ or generated automatically by the \fBimage\fR command.
|
|||||||
The \fIobjc\fR and \fIobjv\fR arguments describe all the configuration
|
The \fIobjc\fR and \fIobjv\fR arguments describe all the configuration
|
||||||
options for the new image (everything after the name argument to
|
options for the new image (everything after the name argument to
|
||||||
\fBimage\fR).
|
\fBimage\fR).
|
||||||
The \fImaster\fR argument is a token that refers to Tk's information
|
The \fImodel\fR argument is a token that refers to Tk's information
|
||||||
about this image; the image manager must return this token to
|
about this image; the image manager must return this token to
|
||||||
Tk when invoking the \fBTk_ImageChanged\fR procedure.
|
Tk when invoking the \fBTk_ImageChanged\fR procedure.
|
||||||
Typically \fIcreateProc\fR will parse \fIobjc\fR and \fIobjv\fR
|
Typically \fIcreateProc\fR will parse \fIobjc\fR and \fIobjv\fR
|
||||||
and create an image master data structure for the new image.
|
and create an image model data structure for the new image.
|
||||||
\fIcreateProc\fR may store an arbitrary one-word value at
|
\fIcreateProc\fR may store an arbitrary one-word value at
|
||||||
*\fImasterDataPtr\fR, which will be passed back to the
|
*\fImodelDataPtr\fR, which will be passed back to the
|
||||||
image manager when other callbacks are invoked.
|
image manager when other callbacks are invoked.
|
||||||
Typically the value is a pointer to the master data
|
Typically the value is a pointer to the model data
|
||||||
structure for the image.
|
structure for the image.
|
||||||
.PP
|
.PP
|
||||||
If \fIcreateProc\fR encounters an error, it should leave an error
|
If \fIcreateProc\fR encounters an error, it should leave an error
|
||||||
@@ -148,11 +153,11 @@ This procedure must match the following prototype:
|
|||||||
.CS
|
.CS
|
||||||
typedef ClientData \fBTk_ImageGetProc\fR(
|
typedef ClientData \fBTk_ImageGetProc\fR(
|
||||||
Tk_Window \fItkwin\fR,
|
Tk_Window \fItkwin\fR,
|
||||||
ClientData \fImasterData\fR);
|
ClientData \fImodelData\fR);
|
||||||
.CE
|
.CE
|
||||||
The \fItkwin\fR argument identifies the window in which the
|
The \fItkwin\fR argument identifies the window in which the
|
||||||
image will be used and \fImasterData\fR is the value
|
image will be used and \fImodelData\fR is the value
|
||||||
returned by \fIcreateProc\fR when the image master was created.
|
returned by \fIcreateProc\fR when the image model was created.
|
||||||
\fIgetProc\fR will usually create a data structure for the new
|
\fIgetProc\fR will usually create a data structure for the new
|
||||||
instance, including such things as the resources needed to
|
instance, including such things as the resources needed to
|
||||||
display the image in the given window.
|
display the image in the given window.
|
||||||
@@ -221,26 +226,30 @@ each of the image's instances.
|
|||||||
\fIdeleteProc\fR must match the following prototype:
|
\fIdeleteProc\fR must match the following prototype:
|
||||||
.CS
|
.CS
|
||||||
typedef void \fBTk_ImageDeleteProc\fR(
|
typedef void \fBTk_ImageDeleteProc\fR(
|
||||||
ClientData \fImasterData\fR);
|
ClientData \fImodelData\fR);
|
||||||
.CE
|
.CE
|
||||||
The \fImasterData\fR argument will be the same as the value
|
The \fImodelData\fR argument will be the same as the value
|
||||||
stored in \fI*masterDataPtr\fR by \fIcreateProc\fR when the
|
stored in \fI*modelDataPtr\fR by \fIcreateProc\fR when the
|
||||||
image was created.
|
image was created.
|
||||||
\fIdeleteProc\fR should release any resources associated with
|
\fIdeleteProc\fR should release any resources associated with
|
||||||
the image.
|
the image.
|
||||||
.SH TK_GETIMAGEMASTERDATA
|
.SH TK_GETIMAGEMODELDATA
|
||||||
.PP
|
.PP
|
||||||
The procedure \fBTk_GetImageMasterData\fR may be invoked to retrieve
|
The procedure \fBTk_GetImageMasterData\fR may be invoked to retrieve
|
||||||
information about an image. For example, an image manager can use this
|
information about an image. For example, an image manager can use this
|
||||||
procedure to locate its image master data for an image.
|
procedure to locate its image model data for an image.
|
||||||
If there exists an image named \fIname\fR
|
If there exists an image named \fIname\fR
|
||||||
in the interpreter given by \fIinterp\fR, then \fI*typePtrPtr\fR is
|
in the interpreter given by \fIinterp\fR, then \fI*typePtrPtr\fR is
|
||||||
filled in with type information for the image (the \fItypePtr\fR value
|
filled in with type information for the image (the \fItypePtr\fR value
|
||||||
passed to \fBTk_CreateImageType\fR when the image type was registered)
|
passed to \fBTk_CreateImageType\fR when the image type was registered)
|
||||||
and the return value is the ClientData value returned by the
|
and the return value is the ClientData value returned by the
|
||||||
\fIcreateProc\fR when the image was created (this is typically a
|
\fIcreateProc\fR when the image was created (this is typically a
|
||||||
pointer to the image master data structure). If no such image exists
|
pointer to the image model data structure). If no such image exists
|
||||||
then NULL is returned and NULL is stored at \fI*typePtrPtr\fR.
|
then NULL is returned and NULL is stored at \fI*typePtrPtr\fR.
|
||||||
|
.PP
|
||||||
|
.VS "TIP 581"
|
||||||
|
\fBTk_GetImageModelData\fR is synonym for \fBTk_GetImageMasterData\fR
|
||||||
|
.VE "TIP 581"
|
||||||
.SH "LEGACY INTERFACE SUPPORT"
|
.SH "LEGACY INTERFACE SUPPORT"
|
||||||
.PP
|
.PP
|
||||||
In Tk 8.2 and earlier, the definition of \fBTk_ImageCreateProc\fR
|
In Tk 8.2 and earlier, the definition of \fBTk_ImageCreateProc\fR
|
||||||
@@ -252,8 +261,8 @@ typedef int \fBTk_ImageCreateProc\fR(
|
|||||||
int \fIargc\fR,
|
int \fIargc\fR,
|
||||||
char **\fIargv\fR,
|
char **\fIargv\fR,
|
||||||
Tk_ImageType *\fItypePtr\fR,
|
Tk_ImageType *\fItypePtr\fR,
|
||||||
Tk_ImageMaster \fImaster\fR,
|
Tk_ImageMaster \fImodel\fR,
|
||||||
ClientData *\fImasterDataPtr\fR);
|
ClientData *\fImodelDataPtr\fR);
|
||||||
.CE
|
.CE
|
||||||
Legacy programs and libraries dating from those days may still
|
Legacy programs and libraries dating from those days may still
|
||||||
contain code that defines extended Tk image types using the old
|
contain code that defines extended Tk image types using the old
|
||||||
@@ -261,6 +270,10 @@ interface. The Tk header file will still support this legacy
|
|||||||
interface if the code is compiled with the macro \fBUSE_OLD_IMAGE\fR
|
interface if the code is compiled with the macro \fBUSE_OLD_IMAGE\fR
|
||||||
defined.
|
defined.
|
||||||
.PP
|
.PP
|
||||||
|
.VS "TIP 581"
|
||||||
|
\fITk_ImageModel\fR is synonym for \fITk_ImageMaster\fR
|
||||||
|
.VE "TIP 581"
|
||||||
|
.PP
|
||||||
When the \fBUSE_OLD_IMAGE\fR legacy support is enabled, you may
|
When the \fBUSE_OLD_IMAGE\fR legacy support is enabled, you may
|
||||||
see the routine \fBTk_InitImageArgs\fR in use. This was a migration
|
see the routine \fBTk_InitImageArgs\fR in use. This was a migration
|
||||||
tool used to create stub-enabled extensions that could be loaded
|
tool used to create stub-enabled extensions that could be loaded
|
||||||
@@ -280,4 +293,4 @@ interfaces. Expect their support to go away in Tk 9.
|
|||||||
.SH "SEE ALSO"
|
.SH "SEE ALSO"
|
||||||
Tk_ImageChanged, Tk_GetImage, Tk_FreeImage, Tk_RedrawImage, Tk_SizeOfImage
|
Tk_ImageChanged, Tk_GetImage, Tk_FreeImage, Tk_RedrawImage, Tk_SizeOfImage
|
||||||
.SH KEYWORDS
|
.SH KEYWORDS
|
||||||
image manager, image type, instance, master
|
image manager, image type, instance, model
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
'\"
|
'\"
|
||||||
'\" See the file "license.terms" for information on usage and redistribution
|
'\" See the file "license.terms" for information on usage and redistribution
|
||||||
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
|
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
|
||||||
'\"
|
'\"
|
||||||
.TH Tk_CreateItemType 3 4.0 Tk "Tk Library Procedures"
|
.TH Tk_CreateItemType 3 4.0 Tk "Tk Library Procedures"
|
||||||
.so man.macros
|
.so man.macros
|
||||||
.BS
|
.BS
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
'\"
|
'\"
|
||||||
'\" See the file "license.terms" for information on usage and redistribution
|
'\" See the file "license.terms" for information on usage and redistribution
|
||||||
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
|
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
|
||||||
'\"
|
'\"
|
||||||
'\" Author: Paul Mackerras (paulus@cs.anu.edu.au),
|
'\" Author: Paul Mackerras (paulus@cs.anu.edu.au),
|
||||||
'\" Department of Computer Science,
|
'\" Department of Computer Science,
|
||||||
'\" Australian National University.
|
'\" Australian National University.
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
'\"
|
'\"
|
||||||
'\" See the file "license.terms" for information on usage and redistribution
|
'\" See the file "license.terms" for information on usage and redistribution
|
||||||
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
|
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
|
||||||
'\"
|
'\"
|
||||||
.TH Tk_DeleteImage 3 4.0 Tk "Tk Library Procedures"
|
.TH Tk_DeleteImage 3 4.0 Tk "Tk Library Procedures"
|
||||||
.so man.macros
|
.so man.macros
|
||||||
.BS
|
.BS
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
'\"
|
'\"
|
||||||
'\" See the file "license.terms" for information on usage and redistribution
|
'\" See the file "license.terms" for information on usage and redistribution
|
||||||
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
|
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
|
||||||
'\"
|
'\"
|
||||||
.TH Tk_DrawFocusHighlight 3 4.0 Tk "Tk Library Procedures"
|
.TH Tk_DrawFocusHighlight 3 4.0 Tk "Tk Library Procedures"
|
||||||
.so man.macros
|
.so man.macros
|
||||||
.BS
|
.BS
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
'\"
|
'\"
|
||||||
'\" See the file "license.terms" for information on usage and redistribution
|
'\" See the file "license.terms" for information on usage and redistribution
|
||||||
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
|
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
|
||||||
'\"
|
'\"
|
||||||
.TH Tk_CreateEventHandler 3 "" Tk "Tk Library Procedures"
|
.TH Tk_CreateEventHandler 3 "" Tk "Tk Library Procedures"
|
||||||
.so man.macros
|
.so man.macros
|
||||||
.BS
|
.BS
|
||||||
@@ -38,7 +38,7 @@ by \fImask\fR occurs in the window specified by \fItkwin\fR.
|
|||||||
The callback to \fIproc\fR will be made by \fBTk_HandleEvent\fR;
|
The callback to \fIproc\fR will be made by \fBTk_HandleEvent\fR;
|
||||||
this mechanism only works in programs that dispatch events
|
this mechanism only works in programs that dispatch events
|
||||||
through \fBTk_HandleEvent\fR (or through other Tk procedures that
|
through \fBTk_HandleEvent\fR (or through other Tk procedures that
|
||||||
call \fBTk_HandleEvent\fR, such as \fBTk_DoOneEvent\fR or
|
call \fBTk_HandleEvent\fR, such as \fBTcl_DoOneEvent\fR or
|
||||||
\fBTk_MainLoop\fR).
|
\fBTk_MainLoop\fR).
|
||||||
.PP
|
.PP
|
||||||
\fIProc\fR should have arguments and result that match the
|
\fIProc\fR should have arguments and result that match the
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
'\"
|
'\"
|
||||||
'\" See the file "license.terms" for information on usage and redistribution
|
'\" See the file "license.terms" for information on usage and redistribution
|
||||||
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
|
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
|
||||||
'\"
|
'\"
|
||||||
'\" Author: Paul Mackerras (paulus@cs.anu.edu.au),
|
'\" Author: Paul Mackerras (paulus@cs.anu.edu.au),
|
||||||
'\" Department of Computer Science,
|
'\" Department of Computer Science,
|
||||||
'\" Australian National University.
|
'\" Australian National University.
|
||||||
@@ -99,8 +99,8 @@ being written to the photo image.
|
|||||||
particular photo image to the other procedures. The parameter is the
|
particular photo image to the other procedures. The parameter is the
|
||||||
name of the image, that is, the name specified to the \fBimage create
|
name of the image, that is, the name specified to the \fBimage create
|
||||||
photo\fR command, or assigned by that command if no name was specified.
|
photo\fR command, or assigned by that command if no name was specified.
|
||||||
If \fIimageName\fR does not exist or is not a photo image,
|
If \fIimageName\fR does not exist or is not a photo image,
|
||||||
\fBTk_FindPhoto\fR returns NULL.
|
\fBTk_FindPhoto\fR returns NULL.
|
||||||
.PP
|
.PP
|
||||||
\fBTk_PhotoPutBlock\fR is used to supply blocks of image data to be
|
\fBTk_PhotoPutBlock\fR is used to supply blocks of image data to be
|
||||||
displayed. The call affects an area of the image of size
|
displayed. The call affects an area of the image of size
|
||||||
@@ -130,14 +130,23 @@ The \fIpixelPtr\fR field points to the first pixel, that is, the
|
|||||||
top-left pixel in the block.
|
top-left pixel in the block.
|
||||||
The \fIwidth\fR and \fIheight\fR fields specify the dimensions of the
|
The \fIwidth\fR and \fIheight\fR fields specify the dimensions of the
|
||||||
block of pixels. The \fIpixelSize\fR field specifies the address
|
block of pixels. The \fIpixelSize\fR field specifies the address
|
||||||
difference between two horizontally adjacent pixels. Often it is 3
|
difference between two horizontally adjacent pixels. It should be 4 for
|
||||||
or 4, but it can have any value. The \fIpitch\fR field specifies the
|
RGB and 2 for grayscale image data. Other values are possible, if the
|
||||||
|
offsets in the \fIoffset\fR array are adjusted accordingly (e.g. for
|
||||||
|
red, green and blue data stored in different planes). Using such a
|
||||||
|
layout is strongly discouraged, though. Due to a bug, it might not work
|
||||||
|
correctly if an alpha channel is provided. (see the \fBBUGS\fR section
|
||||||
|
below). The \fIpitch\fR field specifies the
|
||||||
address difference between two vertically adjacent pixels. The
|
address difference between two vertically adjacent pixels. The
|
||||||
\fIoffset\fR array contains the offsets from the address of a pixel
|
\fIoffset\fR array contains the offsets from the address of a pixel
|
||||||
to the addresses of the bytes containing the red, green, blue and alpha
|
to the addresses of the bytes containing the red, green, blue and alpha
|
||||||
(transparency) components. These are normally 0, 1, 2 and 3, but can
|
(transparency) components. If the offsets for red, green and blue are
|
||||||
have other values, e.g., for images that are stored as separate red,
|
equal, the image is interpreted as grayscale. If they differ, RGB data
|
||||||
green and blue planes.
|
is assumed. Normally the offsets will be 0, 1, 2, 3 for RGB data
|
||||||
|
and 0, 0, 0, 1 for grayscale. It is possible to provide image data
|
||||||
|
without an alpha channel by setting the offset for alpha to a negative
|
||||||
|
value and adjusting the \fIpixelSize\fR field accordingly. This use is
|
||||||
|
discouraged, though (see the \fBBUGS\fR section below).
|
||||||
.PP
|
.PP
|
||||||
The \fIcompRule\fR parameter to \fBTk_PhotoPutBlock\fR specifies a
|
The \fIcompRule\fR parameter to \fBTk_PhotoPutBlock\fR specifies a
|
||||||
compositing rule that says what to do with transparent pixels. The
|
compositing rule that says what to do with transparent pixels. The
|
||||||
@@ -184,16 +193,16 @@ that describe the address and layout of the image data that the
|
|||||||
photo image has stored internally. The values are valid
|
photo image has stored internally. The values are valid
|
||||||
until the image is destroyed or its size is changed.
|
until the image is destroyed or its size is changed.
|
||||||
.PP
|
.PP
|
||||||
It is possible to modify an image by writing directly to the data
|
It is possible to modify an image by writing directly to the data
|
||||||
the \fIpixelPtr\fR field points to. The size of the image cannot be
|
the \fIpixelPtr\fR field points to. The size of the image cannot be
|
||||||
changed this way, though.
|
changed this way, though.
|
||||||
Also, changes made by writing directly to \fIpixelPtr\fR will not be
|
Also, changes made by writing directly to \fIpixelPtr\fR will not be
|
||||||
immediately visible, but only after a call to
|
immediately visible, but only after a call to
|
||||||
\fBTk_ImageChanged\fR or after an event that causes the interested
|
\fBTk_ImageChanged\fR or after an event that causes the interested
|
||||||
widgets to redraw themselves.
|
widgets to redraw themselves.
|
||||||
For these reasons usually it is preferable to make changes to
|
For these reasons usually it is preferable to make changes to
|
||||||
a copy of the image data and write it back with
|
a copy of the image data and write it back with
|
||||||
\fBTk_PhotoPutBlock\fR or \fBTk_PhotoPutZoomedBlock\fR.
|
\fBTk_PhotoPutBlock\fR or \fBTk_PhotoPutZoomedBlock\fR.
|
||||||
.PP
|
.PP
|
||||||
\fBTk_PhotoGetImage\fR returns 1 for compatibility with the
|
\fBTk_PhotoGetImage\fR returns 1 for compatibility with the
|
||||||
corresponding procedure in the old photo widget.
|
corresponding procedure in the old photo widget.
|
||||||
@@ -248,6 +257,24 @@ memory was available for an image, Tk would panic. This behaviour is
|
|||||||
still supported if you compile your extension with the additional flag
|
still supported if you compile your extension with the additional flag
|
||||||
-DUSE_PANIC_ON_PHOTO_ALLOC_FAILURE. Code linked using Stubs against
|
-DUSE_PANIC_ON_PHOTO_ALLOC_FAILURE. Code linked using Stubs against
|
||||||
older versions of Tk will continue to work.
|
older versions of Tk will continue to work.
|
||||||
|
.SH BUGS
|
||||||
|
The \fBTk_PhotoImageBlock\fR structure used to provide image data to
|
||||||
|
\fBTk_PhotoPutBlock\fR promises great flexibility in the layout of the
|
||||||
|
data (e.g. separate planes for the red, green, blue and alpha
|
||||||
|
channels). Unfortunately, the implementation fails to hold this
|
||||||
|
promise. The problem is that the \fIpixelSize\fR field is
|
||||||
|
(incorrectly) used to determine whether the image has an alpha channel.
|
||||||
|
Currently, if the offset for the alpha channel is greater or equal than
|
||||||
|
\fIpixelSize\fR, \fBtk_PhotoPutblock\fR assumes no alpha data is
|
||||||
|
present and makes the image fully opaque. This means that for layouts
|
||||||
|
where the channels are separate (or any other exotic layout where
|
||||||
|
\fIpixelSize\fR has to be smaller than the alpha offset), the alpha
|
||||||
|
channel will not be read correctly. In order to be on the safe side
|
||||||
|
if this issue will be corrected in a future release, it is strongly
|
||||||
|
recommended you always provide alpha data - even if the image has no
|
||||||
|
transparency - and only use the "standard" layout with a
|
||||||
|
\fIpixelSize\fR of 2 for grayscale and 4 for RGB data with
|
||||||
|
\fIoffset\fRs of 0, 0, 0, 1 or 0, 1, 2, 3 respectively.
|
||||||
.SH CREDITS
|
.SH CREDITS
|
||||||
.PP
|
.PP
|
||||||
The code for the photo image type was developed by Paul Mackerras,
|
The code for the photo image type was developed by Paul Mackerras,
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
'\"
|
'\"
|
||||||
'\" See the file "license.terms" for information on usage and redistribution
|
'\" See the file "license.terms" for information on usage and redistribution
|
||||||
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
|
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
|
||||||
'\"
|
'\"
|
||||||
.TH Tk_FreeXId 3 4.0 Tk "Tk Library Procedures"
|
.TH Tk_FreeXId 3 4.0 Tk "Tk Library Procedures"
|
||||||
.so man.macros
|
.so man.macros
|
||||||
.BS
|
.BS
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
'\"
|
'\"
|
||||||
'\" See the file "license.terms" for information on usage and redistribution
|
'\" See the file "license.terms" for information on usage and redistribution
|
||||||
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
|
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
|
||||||
'\"
|
'\"
|
||||||
.TH Tk_GeometryRequest 3 "8.4" Tk "Tk Library Procedures"
|
.TH Tk_GeometryRequest 3 "8.4" Tk "Tk Library Procedures"
|
||||||
.so man.macros
|
.so man.macros
|
||||||
.BS
|
.BS
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
'\"
|
'\"
|
||||||
'\" See the file "license.terms" for information on usage and redistribution
|
'\" See the file "license.terms" for information on usage and redistribution
|
||||||
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
|
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
|
||||||
'\"
|
'\"
|
||||||
.TH Tk_GetAnchorFromObj 3 8.1 Tk "Tk Library Procedures"
|
.TH Tk_GetAnchorFromObj 3 8.1 Tk "Tk Library Procedures"
|
||||||
.so man.macros
|
.so man.macros
|
||||||
.BS
|
.BS
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
'\"
|
'\"
|
||||||
'\" See the file "license.terms" for information on usage and redistribution
|
'\" See the file "license.terms" for information on usage and redistribution
|
||||||
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
|
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
|
||||||
'\"
|
'\"
|
||||||
.TH Tk_AllocBitmapFromObj 3 8.1 Tk "Tk Library Procedures"
|
.TH Tk_AllocBitmapFromObj 3 8.1 Tk "Tk Library Procedures"
|
||||||
.so man.macros
|
.so man.macros
|
||||||
.BS
|
.BS
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
'\"
|
'\"
|
||||||
'\" See the file "license.terms" for information on usage and redistribution
|
'\" See the file "license.terms" for information on usage and redistribution
|
||||||
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
|
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
|
||||||
'\"
|
'\"
|
||||||
.TH Tk_GetCapStyle 3 "" Tk "Tk Library Procedures"
|
.TH Tk_GetCapStyle 3 "" Tk "Tk Library Procedures"
|
||||||
.so man.macros
|
.so man.macros
|
||||||
.BS
|
.BS
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
'\"
|
'\"
|
||||||
'\" See the file "license.terms" for information on usage and redistribution
|
'\" See the file "license.terms" for information on usage and redistribution
|
||||||
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
|
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
|
||||||
'\"
|
'\"
|
||||||
.TH Tk_GetColormap 3 4.0 Tk "Tk Library Procedures"
|
.TH Tk_GetColormap 3 4.0 Tk "Tk Library Procedures"
|
||||||
.so man.macros
|
.so man.macros
|
||||||
.BS
|
.BS
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
'\"
|
'\"
|
||||||
'\" See the file "license.terms" for information on usage and redistribution
|
'\" See the file "license.terms" for information on usage and redistribution
|
||||||
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
|
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
|
||||||
'\"
|
'\"
|
||||||
.TH Tk_GetDash 3 8.3 Tk "Tk Library Procedures"
|
.TH Tk_GetDash 3 8.3 Tk "Tk Library Procedures"
|
||||||
.so man.macros
|
.so man.macros
|
||||||
.BS
|
.BS
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
'\"
|
'\"
|
||||||
'\" See the file "license.terms" for information on usage and redistribution
|
'\" See the file "license.terms" for information on usage and redistribution
|
||||||
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
|
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
|
||||||
'\"
|
'\"
|
||||||
.TH Tk_GetGC 3 "" Tk "Tk Library Procedures"
|
.TH Tk_GetGC 3 "" Tk "Tk Library Procedures"
|
||||||
.so man.macros
|
.so man.macros
|
||||||
.BS
|
.BS
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
'\"
|
'\"
|
||||||
'\" Copyright (c) 1998-2000 by Scriptics Corporation.
|
'\" Copyright (c) 1998-2000 by Scriptics Corporation.
|
||||||
'\" All rights reserved.
|
'\" All rights reserved.
|
||||||
'\"
|
'\"
|
||||||
.TH Tk_GetHISTANCE 3 "" Tk "Tk Library Procedures"
|
.TH Tk_GetHISTANCE 3 "" Tk "Tk Library Procedures"
|
||||||
.so man.macros
|
.so man.macros
|
||||||
.BS
|
.BS
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
'\"
|
'\"
|
||||||
'\" Copyright (c) 1998-2000 by Scriptics Corporation.
|
'\" Copyright (c) 1998-2000 by Scriptics Corporation.
|
||||||
'\" All rights reserved.
|
'\" All rights reserved.
|
||||||
'\"
|
'\"
|
||||||
.TH HWND 3 8.0 Tk "Tk Library Procedures"
|
.TH HWND 3 8.0 Tk "Tk Library Procedures"
|
||||||
.so man.macros
|
.so man.macros
|
||||||
.BS
|
.BS
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
'\"
|
'\"
|
||||||
'\" See the file "license.terms" for information on usage and redistribution
|
'\" See the file "license.terms" for information on usage and redistribution
|
||||||
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
|
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
|
||||||
'\"
|
'\"
|
||||||
.TH Tk_GetImage 3 4.0 Tk "Tk Library Procedures"
|
.TH Tk_GetImage 3 4.0 Tk "Tk Library Procedures"
|
||||||
.so man.macros
|
.so man.macros
|
||||||
.BS
|
.BS
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
'\"
|
'\"
|
||||||
'\" See the file "license.terms" for information on usage and redistribution
|
'\" See the file "license.terms" for information on usage and redistribution
|
||||||
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
|
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
|
||||||
'\"
|
'\"
|
||||||
.TH Tk_GetJoinStyle 3 "" Tk "Tk Library Procedures"
|
.TH Tk_GetJoinStyle 3 "" Tk "Tk Library Procedures"
|
||||||
.so man.macros
|
.so man.macros
|
||||||
.BS
|
.BS
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
'\"
|
'\"
|
||||||
'\" See the file "license.terms" for information on usage and redistribution
|
'\" See the file "license.terms" for information on usage and redistribution
|
||||||
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
|
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
|
||||||
'\"
|
'\"
|
||||||
.TH Tk_GetJustifyFromObj 3 8.1 Tk "Tk Library Procedures"
|
.TH Tk_GetJustifyFromObj 3 8.1 Tk "Tk Library Procedures"
|
||||||
.so man.macros
|
.so man.macros
|
||||||
.BS
|
.BS
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
'\"
|
'\"
|
||||||
'\" See the file "license.terms" for information on usage and redistribution
|
'\" See the file "license.terms" for information on usage and redistribution
|
||||||
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
|
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
|
||||||
'\"
|
'\"
|
||||||
.TH Tk_GetOption 3 "" Tk "Tk Library Procedures"
|
.TH Tk_GetOption 3 "" Tk "Tk Library Procedures"
|
||||||
.so man.macros
|
.so man.macros
|
||||||
.BS
|
.BS
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
'\"
|
'\"
|
||||||
'\" See the file "license.terms" for information on usage and redistribution
|
'\" See the file "license.terms" for information on usage and redistribution
|
||||||
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
|
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
|
||||||
'\"
|
'\"
|
||||||
.TH Tk_GetPixelsFromObj 3 8.1 Tk "Tk Library Procedures"
|
.TH Tk_GetPixelsFromObj 3 8.1 Tk "Tk Library Procedures"
|
||||||
.so man.macros
|
.so man.macros
|
||||||
.BS
|
.BS
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
'\"
|
'\"
|
||||||
'\" See the file "license.terms" for information on usage and redistribution
|
'\" See the file "license.terms" for information on usage and redistribution
|
||||||
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
|
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
|
||||||
'\"
|
'\"
|
||||||
.TH Tk_GetPixmap 3 4.0 Tk "Tk Library Procedures"
|
.TH Tk_GetPixmap 3 4.0 Tk "Tk Library Procedures"
|
||||||
.so man.macros
|
.so man.macros
|
||||||
.BS
|
.BS
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
'\"
|
'\"
|
||||||
'\" See the file "license.terms" for information on usage and redistribution
|
'\" See the file "license.terms" for information on usage and redistribution
|
||||||
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
|
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
|
||||||
'\"
|
'\"
|
||||||
.TH Tk_GetReliefFromObj 3 8.1 Tk "Tk Library Procedures"
|
.TH Tk_GetReliefFromObj 3 8.1 Tk "Tk Library Procedures"
|
||||||
.so man.macros
|
.so man.macros
|
||||||
.BS
|
.BS
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
'\"
|
'\"
|
||||||
'\" See the file "license.terms" for information on usage and redistribution
|
'\" See the file "license.terms" for information on usage and redistribution
|
||||||
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
|
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
|
||||||
'\"
|
'\"
|
||||||
.TH Tk_GetRootCoords 3 "" Tk "Tk Library Procedures"
|
.TH Tk_GetRootCoords 3 "" Tk "Tk Library Procedures"
|
||||||
.so man.macros
|
.so man.macros
|
||||||
.BS
|
.BS
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
'\"
|
'\"
|
||||||
'\" See the file "license.terms" for information on usage and redistribution
|
'\" See the file "license.terms" for information on usage and redistribution
|
||||||
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
|
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
|
||||||
'\"
|
'\"
|
||||||
.TH Tk_GetScrollInfo 3 8.0 Tk "Tk Library Procedures"
|
.TH Tk_GetScrollInfo 3 8.0 Tk "Tk Library Procedures"
|
||||||
.so man.macros
|
.so man.macros
|
||||||
.BS
|
.BS
|
||||||
@@ -15,23 +15,23 @@ Tk_GetScrollInfoObj, Tk_GetScrollInfo \- parse arguments for scrolling commands
|
|||||||
\fB#include <tk.h>\fR
|
\fB#include <tk.h>\fR
|
||||||
.sp
|
.sp
|
||||||
int
|
int
|
||||||
\fBTk_GetScrollInfoObj(\fIinterp, objc, objv, dblPtr, intPtr\fB)\fR
|
\fBTk_GetScrollInfoObj(\fIinterp, objc, objv, fractionPtr, stepsPtr\fB)\fR
|
||||||
.sp
|
.sp
|
||||||
int
|
int
|
||||||
\fBTk_GetScrollInfo(\fIinterp, argc, argv, dblPtr, intPtr\fB)\fR
|
\fBTk_GetScrollInfo(\fIinterp, argc, argv, fractionPtr, stepsPtr\fB)\fR
|
||||||
.SH ARGUMENTS
|
.SH ARGUMENTS
|
||||||
.AS "Tcl_Interp" *fractionPtr
|
.AS "Tcl_Interp" *fractionPtr
|
||||||
.AP Tcl_Interp *interp in
|
.AP Tcl_Interp *interp in
|
||||||
Interpreter to use for error reporting.
|
Interpreter to use for error reporting.
|
||||||
.AP int objc in
|
.AP int objc in
|
||||||
Number of Tcl_Obj's in \fIobjv\fR array.
|
Number of Tcl_Obj's in \fIobjv\fR array.
|
||||||
.AP "Tcl_Obj *const" objv[] in
|
.AP "Tcl_Obj *const *" objv in
|
||||||
Argument objects. These represent the entire widget command, of
|
Argument objects. These represent the entire widget command, of
|
||||||
which the first word is typically the widget name and the second
|
which the first word is typically the widget name and the second
|
||||||
word is typically \fBxview\fR or \fByview\fR.
|
word is typically \fBxview\fR or \fByview\fR.
|
||||||
.AP int argc in
|
.AP int argc in
|
||||||
Number of strings in \fIargv\fR array.
|
Number of strings in \fIargv\fR array.
|
||||||
.AP "const char" *argv[] in
|
.AP "const char **" argv in
|
||||||
Argument strings. These represent the entire widget command, of
|
Argument strings. These represent the entire widget command, of
|
||||||
which the first word is typically the widget name and the second
|
which the first word is typically the widget name and the second
|
||||||
word is typically \fBxview\fR or \fByview\fR.
|
word is typically \fBxview\fR or \fByview\fR.
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
'\"
|
'\"
|
||||||
'\" See the file "license.terms" for information on usage and redistribution
|
'\" See the file "license.terms" for information on usage and redistribution
|
||||||
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
|
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
|
||||||
'\"
|
'\"
|
||||||
.TH Tk_GetSelection 3 4.0 Tk "Tk Library Procedures"
|
.TH Tk_GetSelection 3 4.0 Tk "Tk Library Procedures"
|
||||||
.so man.macros
|
.so man.macros
|
||||||
.BS
|
.BS
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
'\"
|
'\"
|
||||||
'\" See the file "license.terms" for information on usage and redistribution
|
'\" See the file "license.terms" for information on usage and redistribution
|
||||||
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
|
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
|
||||||
'\"
|
'\"
|
||||||
.TH Tk_GetUid 3 "" Tk "Tk Library Procedures"
|
.TH Tk_GetUid 3 "" Tk "Tk Library Procedures"
|
||||||
.so man.macros
|
.so man.macros
|
||||||
.BS
|
.BS
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
'\"
|
'\"
|
||||||
'\" See the file "license.terms" for information on usage and redistribution
|
'\" See the file "license.terms" for information on usage and redistribution
|
||||||
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
|
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
|
||||||
'\"
|
'\"
|
||||||
.TH Tk_GetVRootGeometry 3 4.0 Tk "Tk Library Procedures"
|
.TH Tk_GetVRootGeometry 3 4.0 Tk "Tk Library Procedures"
|
||||||
.so man.macros
|
.so man.macros
|
||||||
.BS
|
.BS
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
'\"
|
'\"
|
||||||
'\" See the file "license.terms" for information on usage and redistribution
|
'\" See the file "license.terms" for information on usage and redistribution
|
||||||
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
|
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
|
||||||
'\"
|
'\"
|
||||||
.TH Tk_GetVisual 3 4.0 Tk "Tk Library Procedures"
|
.TH Tk_GetVisual 3 4.0 Tk "Tk Library Procedures"
|
||||||
.so man.macros
|
.so man.macros
|
||||||
.BS
|
.BS
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
'\"
|
'\"
|
||||||
'\" Copyright (c) 1998-2000 by Scriptics Corporation.
|
'\" Copyright (c) 1998-2000 by Scriptics Corporation.
|
||||||
'\" All rights reserved.
|
'\" All rights reserved.
|
||||||
'\"
|
'\"
|
||||||
.TH Tk_Grab 3 "" Tk "Tk Library Procedures"
|
.TH Tk_Grab 3 "" Tk "Tk Library Procedures"
|
||||||
.so man.macros
|
.so man.macros
|
||||||
.BS
|
.BS
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
'\"
|
'\"
|
||||||
'\" Copyright (c) 1998-2000 by Scriptics Corporation.
|
'\" Copyright (c) 1998-2000 by Scriptics Corporation.
|
||||||
'\" All rights reserved.
|
'\" All rights reserved.
|
||||||
'\"
|
'\"
|
||||||
.TH Tk_HWNDToWindow 3 "" Tk "Tk Library Procedures"
|
.TH Tk_HWNDToWindow 3 "" Tk "Tk Library Procedures"
|
||||||
.so man.macros
|
.so man.macros
|
||||||
.BS
|
.BS
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
'\"
|
'\"
|
||||||
'\" See the file "license.terms" for information on usage and redistribution
|
'\" See the file "license.terms" for information on usage and redistribution
|
||||||
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
|
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
|
||||||
'\"
|
'\"
|
||||||
.TH Tk_HandleEvent 3 "" Tk "Tk Library Procedures"
|
.TH Tk_HandleEvent 3 "" Tk "Tk Library Procedures"
|
||||||
.so man.macros
|
.so man.macros
|
||||||
.BS
|
.BS
|
||||||
@@ -25,7 +25,7 @@ that all unused fields of the structure be set to zero.
|
|||||||
.PP
|
.PP
|
||||||
\fBTk_HandleEvent\fR is a lower-level procedure that deals with window
|
\fBTk_HandleEvent\fR is a lower-level procedure that deals with window
|
||||||
events. It is called by \fBTcl_ServiceEvent\fR (and indirectly by
|
events. It is called by \fBTcl_ServiceEvent\fR (and indirectly by
|
||||||
\fBTk_DoOneEvent\fR), and in a few other cases within Tk.
|
\fBTcl_DoOneEvent\fR), and in a few other cases within Tk.
|
||||||
It makes callbacks to any window event
|
It makes callbacks to any window event
|
||||||
handlers (created by calls to \fBTk_CreateEventHandler\fR)
|
handlers (created by calls to \fBTk_CreateEventHandler\fR)
|
||||||
that match \fIeventPtr\fR and then returns. In some cases
|
that match \fIeventPtr\fR and then returns. In some cases
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
'\"
|
'\"
|
||||||
'\" See the file "license.terms" for information on usage and redistribution
|
'\" See the file "license.terms" for information on usage and redistribution
|
||||||
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
|
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
|
||||||
'\"
|
'\"
|
||||||
.TH Tk_IdToWindow 3 4.0 Tk "Tk Library Procedures"
|
.TH Tk_IdToWindow 3 4.0 Tk "Tk Library Procedures"
|
||||||
.so man.macros
|
.so man.macros
|
||||||
.BS
|
.BS
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
'\"
|
'\"
|
||||||
'\" See the file "license.terms" for information on usage and redistribution
|
'\" See the file "license.terms" for information on usage and redistribution
|
||||||
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
|
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
|
||||||
'\"
|
'\"
|
||||||
.TH Tk_ImageChanged 3 4.0 Tk "Tk Library Procedures"
|
.TH Tk_ImageChanged 3 4.0 Tk "Tk Library Procedures"
|
||||||
.so man.macros
|
.so man.macros
|
||||||
.BS
|
.BS
|
||||||
@@ -14,10 +14,10 @@ Tk_ImageChanged \- notify widgets that image needs to be redrawn
|
|||||||
.nf
|
.nf
|
||||||
\fB#include <tk.h>\fR
|
\fB#include <tk.h>\fR
|
||||||
.sp
|
.sp
|
||||||
\fBTk_ImageChanged\fR(\fIimageMaster, x, y, width, height, imageWidth, imageHeight\fR)
|
\fBTk_ImageChanged\fR(\fImodel, x, y, width, height, imageWidth, imageHeight\fR)
|
||||||
.SH ARGUMENTS
|
.SH ARGUMENTS
|
||||||
.AS Tk_ImageMaster imageHeight
|
.AS Tk_ImageMaster imageHeight
|
||||||
.AP Tk_ImageMaster imageMaster in
|
.AP Tk_ImageMaster model in
|
||||||
Token for image, which was passed to image's \fIcreateProc\fR when
|
Token for image, which was passed to image's \fIcreateProc\fR when
|
||||||
the image was created.
|
the image was created.
|
||||||
.AP int x in
|
.AP int x in
|
||||||
@@ -42,12 +42,16 @@ whenever anything happens that requires the image to be redrawn.
|
|||||||
As a result of calling \fBTk_ImageChanged\fR, any widgets using
|
As a result of calling \fBTk_ImageChanged\fR, any widgets using
|
||||||
the image are notified so that they can redisplay themselves
|
the image are notified so that they can redisplay themselves
|
||||||
appropriately.
|
appropriately.
|
||||||
The \fIimageMaster\fR argument identifies the image, and
|
The \fImodel\fR argument identifies the image, and
|
||||||
\fIx\fR, \fIy\fR, \fIwidth\fR, and \fIheight\fR
|
\fIx\fR, \fIy\fR, \fIwidth\fR, and \fIheight\fR
|
||||||
specify a rectangular region within the image that needs to
|
specify a rectangular region within the image that needs to
|
||||||
be redrawn.
|
be redrawn.
|
||||||
\fIimageWidth\fR and \fIimageHeight\fR specify the image's (new) size.
|
\fIimageWidth\fR and \fIimageHeight\fR specify the image's (new) size.
|
||||||
.PP
|
.PP
|
||||||
|
.VS "TIP 581"
|
||||||
|
\fITk_ImageModel\fR is synonym for \fITk_ImageMaster\fR
|
||||||
|
.VE "TIP 581"
|
||||||
|
.PP
|
||||||
An image manager should call \fBTk_ImageChanged\fR during
|
An image manager should call \fBTk_ImageChanged\fR during
|
||||||
its \fIcreateProc\fR to specify the image's initial size and to
|
its \fIcreateProc\fR to specify the image's initial size and to
|
||||||
force redisplay if there are existing instances for the image.
|
force redisplay if there are existing instances for the image.
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
'\"
|
'\"
|
||||||
'\" Copyright (c) 1998-2000 by Scriptics Corporation.
|
'\" Copyright (c) 1998-2000 by Scriptics Corporation.
|
||||||
'\" All rights reserved.
|
'\" All rights reserved.
|
||||||
'\"
|
'\"
|
||||||
.TH Tk_GetUserInactiveTime 3 8.5 Tk "Tk Library Procedures"
|
.TH Tk_GetUserInactiveTime 3 8.5 Tk "Tk Library Procedures"
|
||||||
.so man.macros
|
.so man.macros
|
||||||
.BS
|
.BS
|
||||||
@@ -14,7 +14,7 @@ Tk_GetUserInactiveTime, Tk_ResetUserInactiveTime \- discover user inactivity tim
|
|||||||
long
|
long
|
||||||
\fBTk_GetUserInactiveTime(\fIdisplay\fB)\fR
|
\fBTk_GetUserInactiveTime(\fIdisplay\fB)\fR
|
||||||
.sp
|
.sp
|
||||||
\fBTk_GetUserInactiveTime(\fIdisplay\fB)\fR
|
\fBTk_ResetUserInactiveTime(\fIdisplay\fB)\fR
|
||||||
.SH ARGUMENTS
|
.SH ARGUMENTS
|
||||||
.AS Display *display
|
.AS Display *display
|
||||||
.AP Display *display in
|
.AP Display *display in
|
||||||
@@ -26,8 +26,8 @@ reset.
|
|||||||
\fBTk_GetUserInactiveTime\fR returns the number of milliseconds that
|
\fBTk_GetUserInactiveTime\fR returns the number of milliseconds that
|
||||||
have passed since the last user interaction (usually via keyboard or
|
have passed since the last user interaction (usually via keyboard or
|
||||||
mouse) with the respective display. On systems and displays that do not
|
mouse) with the respective display. On systems and displays that do not
|
||||||
support querying the user inactiviy time, \fB\-1\fR is returned.
|
support querying the user inactivity time, \fB\-1\fR is returned.
|
||||||
\fBTk_GetUserInactiveTime\fR resets the user inactivity timer of the
|
\fBTk_ResetUserInactiveTime\fR resets the user inactivity timer of the
|
||||||
given display to zero. On windowing systems that do not support
|
given display to zero. On windowing systems that do not support
|
||||||
multiple displays \fIdisplay\fR can be passed as \fBNULL\fR.
|
multiple displays \fIdisplay\fR can be passed as \fBNULL\fR.
|
||||||
.SH KEYWORDS
|
.SH KEYWORDS
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
'\"
|
'\"
|
||||||
'\" See the file "license.terms" for information on usage and redistribution
|
'\" See the file "license.terms" for information on usage and redistribution
|
||||||
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
|
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
|
||||||
'\"
|
'\"
|
||||||
.TH Tk_InternAtom 3 "" Tk "Tk Library Procedures"
|
.TH Tk_InternAtom 3 "" Tk "Tk Library Procedures"
|
||||||
.so man.macros
|
.so man.macros
|
||||||
.BS
|
.BS
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
'\"
|
'\"
|
||||||
'\" See the file "license.terms" for information on usage and redistribution
|
'\" See the file "license.terms" for information on usage and redistribution
|
||||||
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
|
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
|
||||||
'\"
|
'\"
|
||||||
.TH Tk_MainLoop 3 "" Tk "Tk Library Procedures"
|
.TH Tk_MainLoop 3 "" Tk "Tk Library Procedures"
|
||||||
.so man.macros
|
.so man.macros
|
||||||
.BS
|
.BS
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
'\"
|
'\"
|
||||||
'\" See the file "license.terms" for information on usage and redistribution
|
'\" See the file "license.terms" for information on usage and redistribution
|
||||||
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
|
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
|
||||||
'\"
|
'\"
|
||||||
.TH Tk_MainWindow 3 7.0 Tk "Tk Library Procedures"
|
.TH Tk_MainWindow 3 7.0 Tk "Tk Library Procedures"
|
||||||
.so man.macros
|
.so man.macros
|
||||||
.BS
|
.BS
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
'\"
|
'\"
|
||||||
'\" See the file "license.terms" for information on usage and redistribution
|
'\" See the file "license.terms" for information on usage and redistribution
|
||||||
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
|
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
|
||||||
'\"
|
'\"
|
||||||
.TH Tk_MaintainGeometry 3 4.0 Tk "Tk Library Procedures"
|
.TH Tk_MaintainGeometry 3 4.0 Tk "Tk Library Procedures"
|
||||||
.so man.macros
|
.so man.macros
|
||||||
.BS
|
.BS
|
||||||
@@ -14,67 +14,67 @@ Tk_MaintainGeometry, Tk_UnmaintainGeometry \- maintain geometry of one window re
|
|||||||
.nf
|
.nf
|
||||||
\fB#include <tk.h>\fR
|
\fB#include <tk.h>\fR
|
||||||
.sp
|
.sp
|
||||||
\fBTk_MaintainGeometry\fR(\fIslave, master, x, y, width, height\fR)
|
\fBTk_MaintainGeometry\fR(\fIwindow, container, x, y, width, height\fR)
|
||||||
.sp
|
.sp
|
||||||
\fBTk_UnmaintainGeometry\fR(\fIslave, master\fR)
|
\fBTk_UnmaintainGeometry\fR(\fIwindow, container\fR)
|
||||||
.SH ARGUMENTS
|
.SH ARGUMENTS
|
||||||
.AS Tk_Window master
|
.AS Tk_Window container
|
||||||
.AP Tk_Window slave in
|
.AP Tk_Window window in
|
||||||
Window whose geometry is to be controlled.
|
Window whose geometry is to be controlled.
|
||||||
.AP Tk_Window master in
|
.AP Tk_Window container in
|
||||||
Window relative to which \fIslave\fR's geometry will be controlled.
|
Window relative to which \fIwindow\fR's geometry will be controlled.
|
||||||
.AP int x in
|
.AP int x in
|
||||||
Desired x-coordinate of \fIslave\fR in \fImaster\fR, measured in pixels
|
Desired x-coordinate of \fIwindow\fR in \fIcontainer\fR, measured in pixels
|
||||||
from the inside of \fImaster\fR's left border to the outside of
|
from the inside of \fIcontainer\fR's left border to the outside of
|
||||||
\fIslave\fR's left border.
|
\fIwindow\fR's left border.
|
||||||
.AP int y in
|
.AP int y in
|
||||||
Desired y-coordinate of \fIslave\fR in \fImaster\fR, measured in pixels
|
Desired y-coordinate of \fIwindow\fR in \fIcontainer\fR, measured in pixels
|
||||||
from the inside of \fImaster\fR's top border to the outside of
|
from the inside of \fIcontainer\fR's top border to the outside of
|
||||||
\fIslave\fR's top border.
|
\fIwindow\fR's top border.
|
||||||
.AP int width in
|
.AP int width in
|
||||||
Desired width for \fIslave\fR, in pixels.
|
Desired width for \fIwindow\fR, in pixels.
|
||||||
.AP int height in
|
.AP int height in
|
||||||
Desired height for \fIslave\fR, in pixels.
|
Desired height for \fIwindow\fR, in pixels.
|
||||||
.BE
|
.BE
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
.PP
|
.PP
|
||||||
\fBTk_MaintainGeometry\fR and \fBTk_UnmaintainGeometry\fR make it
|
\fBTk_MaintainGeometry\fR and \fBTk_UnmaintainGeometry\fR make it
|
||||||
easier for geometry managers to deal with slaves whose masters are not
|
easier for geometry managers to deal with windows whose containers are not
|
||||||
their parents.
|
their parents.
|
||||||
Three problems arise if the master for a slave is not its parent:
|
Three problems arise if the container for a window is not its parent:
|
||||||
.IP [1]
|
.IP [1]
|
||||||
The x- and y-position of the slave must be translated from the
|
The x- and y-position of the window must be translated from the
|
||||||
coordinate system of the master to that of the parent before
|
coordinate system of the container to that of the parent before
|
||||||
positioning the slave.
|
positioning the window.
|
||||||
.IP [2]
|
.IP [2]
|
||||||
If the master window, or any of its ancestors up to the slave's
|
If the container window, or any of its ancestors up to the window's
|
||||||
parent, is moved, then the slave must be repositioned within its
|
parent, is moved, then the window must be repositioned within its
|
||||||
parent in order to maintain the correct position relative to the
|
parent in order to maintain the correct position relative to the
|
||||||
master.
|
container.
|
||||||
.IP [3]
|
.IP [3]
|
||||||
If the master or one of its ancestors is mapped or unmapped, then
|
If the container or one of its ancestors is mapped or unmapped, then
|
||||||
the slave must be mapped or unmapped to correspond.
|
the window must be mapped or unmapped to correspond.
|
||||||
.LP
|
.LP
|
||||||
None of these problems is an issue if the parent and master are
|
None of these problems is an issue if the parent and container are
|
||||||
the same. For example, if the master or one of its ancestors
|
the same. For example, if the container or one of its ancestors
|
||||||
is unmapped, the slave is automatically removed by the screen
|
is unmapped, the window is automatically removed by the screen
|
||||||
by X.
|
by X.
|
||||||
.PP
|
.PP
|
||||||
\fBTk_MaintainGeometry\fR deals with these problems for slaves
|
\fBTk_MaintainGeometry\fR deals with these problems for windows
|
||||||
whose masters are not their parents, as well as handling the simpler
|
whose containers are not their parents, as well as handling the simpler
|
||||||
case of slaves whose masters are their parents.
|
case of windows whose container are their parents.
|
||||||
\fBTk_MaintainGeometry\fR is typically called by a window manager
|
\fBTk_MaintainGeometry\fR is typically called by a window manager
|
||||||
once it has decided where a slave should be positioned relative
|
once it has decided where a window should be positioned relative
|
||||||
to its master.
|
to its container.
|
||||||
\fBTk_MaintainGeometry\fR translates the coordinates to the
|
\fBTk_MaintainGeometry\fR translates the coordinates to the
|
||||||
coordinate system of \fIslave\fR's parent and then moves and
|
coordinate system of \fIwindow\fR's parent and then moves and
|
||||||
resizes the slave appropriately.
|
resizes the window appropriately.
|
||||||
Furthermore, it remembers the desired position and creates event
|
Furthermore, it remembers the desired position and creates event
|
||||||
handlers to monitor the master and all of its ancestors up
|
handlers to monitor the container and all of its ancestors up
|
||||||
to (but not including) the slave's parent.
|
to (but not including) the window's parent.
|
||||||
If any of these windows is moved, mapped, or unmapped,
|
If any of these windows is moved, mapped, or unmapped,
|
||||||
the slave will be adjusted so that it is mapped only when the
|
the window will be adjusted so that it is mapped only when the
|
||||||
master is mapped and its geometry relative to the master
|
container is mapped and its geometry relative to the container
|
||||||
remains as specified by \fIx\fR, \fIy\fR, \fIwidth\fR, and
|
remains as specified by \fIx\fR, \fIy\fR, \fIwidth\fR, and
|
||||||
\fIheight\fR.
|
\fIheight\fR.
|
||||||
.PP
|
.PP
|
||||||
@@ -83,17 +83,17 @@ if it decides that it does not want the window to appear on the
|
|||||||
screen under any conditions, it calls \fBTk_UnmaintainGeometry\fR.
|
screen under any conditions, it calls \fBTk_UnmaintainGeometry\fR.
|
||||||
\fBTk_UnmaintainGeometry\fR unmaps the window and cancels any
|
\fBTk_UnmaintainGeometry\fR unmaps the window and cancels any
|
||||||
previous calls to \fBTk_MaintainGeometry\fR for the
|
previous calls to \fBTk_MaintainGeometry\fR for the
|
||||||
\fImaster\fR\-\fIslave\fR pair, so that the slave's
|
\fIcontainer\fR\-\fIwindow\fR pair, so that the window's
|
||||||
geometry and mapped state are no longer maintained
|
geometry and mapped state are no longer maintained
|
||||||
automatically.
|
automatically.
|
||||||
\fBTk_UnmaintainGeometry\fR need not be called by a geometry
|
\fBTk_UnmaintainGeometry\fR need not be called by a geometry
|
||||||
manager if the slave, the master, or any of the master's ancestors
|
manager if the window, the container, or any of the container's ancestors
|
||||||
is destroyed: Tk will call it automatically.
|
is destroyed: Tk will call it automatically.
|
||||||
.PP
|
.PP
|
||||||
If \fBTk_MaintainGeometry\fR is called repeatedly for the same
|
If \fBTk_MaintainGeometry\fR is called repeatedly for the same
|
||||||
\fImaster\fR\-\fIslave\fR pair, the information from the most
|
\fIcontainer\fR\-\fIwindow\fR pair, the information from the most
|
||||||
recent call supersedes any older information.
|
recent call supersedes any older information.
|
||||||
If \fBTk_UnmaintainGeometry\fR is called for a \fImaster\fR\-\fIslave\fR
|
If \fBTk_UnmaintainGeometry\fR is called for a \fIcontainer\fR\-\fIwindow\fR
|
||||||
pair that is is not currently managed, the call has no effect.
|
pair that is is not currently managed, the call has no effect.
|
||||||
.SH KEYWORDS
|
.SH KEYWORDS
|
||||||
geometry manager, map, master, parent, position, slave, unmap
|
geometry manager, map, container, parent, position, window, unmap
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
'\"
|
'\"
|
||||||
'\" See the file "license.terms" for information on usage and redistribution
|
'\" See the file "license.terms" for information on usage and redistribution
|
||||||
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
|
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
|
||||||
'\"
|
'\"
|
||||||
.TH Tk_ManageGeometry 3 4.0 Tk "Tk Library Procedures"
|
.TH Tk_ManageGeometry 3 4.0 Tk "Tk Library Procedures"
|
||||||
.so man.macros
|
.so man.macros
|
||||||
.BS
|
.BS
|
||||||
@@ -32,7 +32,7 @@ Arbitrary one-word value to pass to geometry manager callbacks.
|
|||||||
.PP
|
.PP
|
||||||
\fBTk_ManageGeometry\fR arranges for a particular geometry manager,
|
\fBTk_ManageGeometry\fR arranges for a particular geometry manager,
|
||||||
described by the \fImgrPtr\fR argument, to control the geometry
|
described by the \fImgrPtr\fR argument, to control the geometry
|
||||||
of a particular slave window, given by \fItkwin\fR.
|
of a particular content window, given by \fItkwin\fR.
|
||||||
If \fItkwin\fR was previously managed by some other geometry manager,
|
If \fItkwin\fR was previously managed by some other geometry manager,
|
||||||
the previous manager loses control in favor of the new one.
|
the previous manager loses control in favor of the new one.
|
||||||
If \fImgrPtr\fR is NULL, geometry management is cancelled for
|
If \fImgrPtr\fR is NULL, geometry management is cancelled for
|
||||||
@@ -53,7 +53,7 @@ by the command \fBwinfo manager\fR.
|
|||||||
.PP
|
.PP
|
||||||
\fIrequestProc\fR is a procedure in the geometry manager that
|
\fIrequestProc\fR is a procedure in the geometry manager that
|
||||||
will be invoked whenever \fBTk_GeometryRequest\fR is called by the
|
will be invoked whenever \fBTk_GeometryRequest\fR is called by the
|
||||||
slave to change its desired geometry.
|
content window to change its desired geometry.
|
||||||
\fIrequestProc\fR should have arguments and results that match the
|
\fIrequestProc\fR should have arguments and results that match the
|
||||||
type \fBTk_GeomRequestProc\fR:
|
type \fBTk_GeomRequestProc\fR:
|
||||||
.CS
|
.CS
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
'\"
|
'\"
|
||||||
'\" See the file "license.terms" for information on usage and redistribution
|
'\" See the file "license.terms" for information on usage and redistribution
|
||||||
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
|
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
|
||||||
'\"
|
'\"
|
||||||
.TH Tk_MoveToplevelWindow 3 "" Tk "Tk Library Procedures"
|
.TH Tk_MoveToplevelWindow 3 "" Tk "Tk Library Procedures"
|
||||||
.so man.macros
|
.so man.macros
|
||||||
.BS
|
.BS
|
||||||
@@ -46,6 +46,6 @@ menus that want to appear at a particular place on the screen.
|
|||||||
When \fBTk_MoveToplevelWindow\fR is called it does not immediately
|
When \fBTk_MoveToplevelWindow\fR is called it does not immediately
|
||||||
pass on the new desired location to the window manager; it defers
|
pass on the new desired location to the window manager; it defers
|
||||||
this action until all other outstanding work has been completed,
|
this action until all other outstanding work has been completed,
|
||||||
using the \fBTk_DoWhenIdle\fR mechanism.
|
using the \fBTcl_DoWhenIdle\fR mechanism.
|
||||||
.SH KEYWORDS
|
.SH KEYWORDS
|
||||||
position, top-level window, window manager
|
position, top-level window, window manager
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
'\"
|
'\"
|
||||||
'\" See the file "license.terms" for information on usage and redistribution
|
'\" See the file "license.terms" for information on usage and redistribution
|
||||||
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
|
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
|
||||||
'\"
|
'\"
|
||||||
.TH Tk_Name 3 "" Tk "Tk Library Procedures"
|
.TH Tk_Name 3 "" Tk "Tk Library Procedures"
|
||||||
.so man.macros
|
.so man.macros
|
||||||
.BS
|
.BS
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
'\"
|
'\"
|
||||||
'\" See the file "license.terms" for information on usage and redistribution
|
'\" See the file "license.terms" for information on usage and redistribution
|
||||||
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
|
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
|
||||||
'\"
|
'\"
|
||||||
.TH Tk_NameOfImage 3 4.0 Tk "Tk Library Procedures"
|
.TH Tk_NameOfImage 3 4.0 Tk "Tk Library Procedures"
|
||||||
.so man.macros
|
.so man.macros
|
||||||
.BS
|
.BS
|
||||||
@@ -14,10 +14,10 @@ Tk_NameOfImage \- Return name of image.
|
|||||||
\fB#include <tk.h>\fR
|
\fB#include <tk.h>\fR
|
||||||
.sp
|
.sp
|
||||||
const char *
|
const char *
|
||||||
\fBTk_NameOfImage\fR(\fItypePtr\fR)
|
\fBTk_NameOfImage\fR(\fIimageMaster\fR)
|
||||||
.SH ARGUMENTS
|
.SH ARGUMENTS
|
||||||
.AS Tk_ImageMaster *masterPtr
|
.AS Tk_ImageMaster imageMaster
|
||||||
.AP Tk_ImageMaster *masterPtr in
|
.AP Tk_ImageMaster imageMaster in
|
||||||
Token for image, which was passed to image manager's \fIcreateProc\fR when
|
Token for image, which was passed to image manager's \fIcreateProc\fR when
|
||||||
the image was created.
|
the image was created.
|
||||||
.BE
|
.BE
|
||||||
@@ -26,5 +26,9 @@ the image was created.
|
|||||||
This procedure is invoked by image managers to find out the name
|
This procedure is invoked by image managers to find out the name
|
||||||
of an image. Given the token for the image, it returns the
|
of an image. Given the token for the image, it returns the
|
||||||
string name for the image.
|
string name for the image.
|
||||||
|
.PP
|
||||||
|
.VS "TIP 581"
|
||||||
|
\fITk_ImageModel\fR is synonym for \fITk_ImageMaster\fR
|
||||||
|
.VE "TIP 581"
|
||||||
.SH KEYWORDS
|
.SH KEYWORDS
|
||||||
image manager, image name
|
image manager, image name
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
'\"
|
'\"
|
||||||
'\" See the file "license.terms" for information on usage and redistribution
|
'\" See the file "license.terms" for information on usage and redistribution
|
||||||
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
|
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
|
||||||
'\"
|
'\"
|
||||||
.TH Tk_OwnSelection 3 4.0 Tk "Tk Library Procedures"
|
.TH Tk_OwnSelection 3 4.0 Tk "Tk Library Procedures"
|
||||||
.so man.macros
|
.so man.macros
|
||||||
.BS
|
.BS
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
'\"
|
'\"
|
||||||
'\" See the file "license.terms" for information on usage and redistribution
|
'\" See the file "license.terms" for information on usage and redistribution
|
||||||
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
|
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
|
||||||
'\"
|
'\"
|
||||||
.TH Tk_ParseArgv 3 "" Tk "Tk Library Procedures"
|
.TH Tk_ParseArgv 3 "" Tk "Tk Library Procedures"
|
||||||
.so man.macros
|
.so man.macros
|
||||||
.BS
|
.BS
|
||||||
@@ -314,14 +314,14 @@ Boolean exec = FALSE;
|
|||||||
Tk_ArgvInfo argTable[] = {
|
Tk_ArgvInfo argTable[] = {
|
||||||
{"\-X", TK_ARGV_CONSTANT, (char *) 1, (char *) &debugFlag,
|
{"\-X", TK_ARGV_CONSTANT, (char *) 1, (char *) &debugFlag,
|
||||||
"Turn on debugging printfs"},
|
"Turn on debugging printfs"},
|
||||||
{"\-N", TK_ARGV_INT, (char *) NULL, (char *) &numReps,
|
{"\-N", TK_ARGV_INT, NULL, (char *) &numReps,
|
||||||
"Number of repetitions"},
|
"Number of repetitions"},
|
||||||
{"\-of", TK_ARGV_STRING, (char *) NULL, (char *) &fileName,
|
{"\-of", TK_ARGV_STRING, NULL, (char *) &fileName,
|
||||||
"Name of file for output"},
|
"Name of file for output"},
|
||||||
{"x", TK_ARGV_REST, (char *) NULL, (char *) &exec,
|
{"x", TK_ARGV_REST, NULL, (char *) &exec,
|
||||||
"File to exec, followed by any arguments (must be last argument)."},
|
"File to exec, followed by any arguments (must be last argument)."},
|
||||||
{(char *) NULL, TK_ARGV_END, (char *) NULL, (char *) NULL,
|
{NULL, TK_ARGV_END, NULL, NULL,
|
||||||
(char *) NULL}
|
NULL}
|
||||||
};
|
};
|
||||||
|
|
||||||
main(argc, argv)
|
main(argc, argv)
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
'\"
|
'\"
|
||||||
'\" See the file "license.terms" for information on usage and redistribution
|
'\" See the file "license.terms" for information on usage and redistribution
|
||||||
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
|
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
|
||||||
'\"
|
'\"
|
||||||
.TH Tk_QueueWindowEvent 3 7.5 Tk "Tk Library Procedures"
|
.TH Tk_QueueWindowEvent 3 7.5 Tk "Tk Library Procedures"
|
||||||
.so man.macros
|
.so man.macros
|
||||||
.BS
|
.BS
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
'\"
|
'\"
|
||||||
'\" See the file "license.terms" for information on usage and redistribution
|
'\" See the file "license.terms" for information on usage and redistribution
|
||||||
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
|
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
|
||||||
'\"
|
'\"
|
||||||
.TH Tk_RestackWindow 3 "" Tk "Tk Library Procedures"
|
.TH Tk_RestackWindow 3 "" Tk "Tk Library Procedures"
|
||||||
.so man.macros
|
.so man.macros
|
||||||
.BS
|
.BS
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
'\"
|
'\"
|
||||||
'\" See the file "license.terms" for information on usage and redistribution
|
'\" See the file "license.terms" for information on usage and redistribution
|
||||||
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
|
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
|
||||||
'\"
|
'\"
|
||||||
.TH Tk_RestrictEvents 3 "" Tk "Tk Library Procedures"
|
.TH Tk_RestrictEvents 3 "" Tk "Tk Library Procedures"
|
||||||
.so man.macros
|
.so man.macros
|
||||||
.BS
|
.BS
|
||||||
@@ -30,7 +30,7 @@ Pointer to place to save argument to previous restrict procedure.
|
|||||||
.PP
|
.PP
|
||||||
This procedure is useful in certain situations where applications
|
This procedure is useful in certain situations where applications
|
||||||
are only prepared to receive certain X events. After
|
are only prepared to receive certain X events. After
|
||||||
\fBTk_RestrictEvents\fR is called, \fBTk_DoOneEvent\fR (and
|
\fBTk_RestrictEvents\fR is called, \fBTcl_DoOneEvent\fR (and
|
||||||
hence \fBTk_MainLoop\fR) will filter X input events through
|
hence \fBTk_MainLoop\fR) will filter X input events through
|
||||||
\fIproc\fR. \fIProc\fR indicates whether a
|
\fIproc\fR. \fIProc\fR indicates whether a
|
||||||
given event is to be processed immediately, deferred until some
|
given event is to be processed immediately, deferred until some
|
||||||
@@ -48,7 +48,7 @@ to \fBTk_RestrictEvents\fR; it may be used to provide \fIproc\fR with
|
|||||||
information it needs to filter events. The \fIeventPtr\fR points to
|
information it needs to filter events. The \fIeventPtr\fR points to
|
||||||
an event under consideration. \fIProc\fR returns a restrict action
|
an event under consideration. \fIProc\fR returns a restrict action
|
||||||
(enumerated type \fBTk_RestrictAction\fR) that indicates what
|
(enumerated type \fBTk_RestrictAction\fR) that indicates what
|
||||||
\fBTk_DoOneEvent\fR should do with the event. If the return value is
|
\fBTcl_DoOneEvent\fR should do with the event. If the return value is
|
||||||
\fBTK_PROCESS_EVENT\fR, then the event will be handled immediately.
|
\fBTK_PROCESS_EVENT\fR, then the event will be handled immediately.
|
||||||
If the return value is \fBTK_DEFER_EVENT\fR, then the event will be
|
If the return value is \fBTK_DEFER_EVENT\fR, then the event will be
|
||||||
left on the event queue for later processing. If the return value is
|
left on the event queue for later processing. If the return value is
|
||||||
@@ -74,6 +74,6 @@ solution in these situations is to call \fBXNextEvent\fR or
|
|||||||
\fBXWindowEvent\fR, but these procedures cannot be used because
|
\fBXWindowEvent\fR, but these procedures cannot be used because
|
||||||
Tk keeps its own event queue that is separate from the X event
|
Tk keeps its own event queue that is separate from the X event
|
||||||
queue. Instead, call \fBTk_RestrictEvents\fR to set up a filter,
|
queue. Instead, call \fBTk_RestrictEvents\fR to set up a filter,
|
||||||
then call \fBTk_DoOneEvent\fR to retrieve the desired event(s).
|
then call \fBTcl_DoOneEvent\fR to retrieve the desired event(s).
|
||||||
.SH KEYWORDS
|
.SH KEYWORDS
|
||||||
delay, event, filter, restriction
|
delay, event, filter, restriction
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
'\"
|
'\"
|
||||||
'\" See the file "license.terms" for information on usage and redistribution
|
'\" See the file "license.terms" for information on usage and redistribution
|
||||||
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
|
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
|
||||||
'\"
|
'\"
|
||||||
.TH Tk_SetAppName 3 4.0 Tk "Tk Library Procedures"
|
.TH Tk_SetAppName 3 4.0 Tk "Tk Library Procedures"
|
||||||
.so man.macros
|
.so man.macros
|
||||||
.BS
|
.BS
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
'\"
|
'\"
|
||||||
'\" See the file "license.terms" for information on usage and redistribution
|
'\" See the file "license.terms" for information on usage and redistribution
|
||||||
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
|
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
|
||||||
'\"
|
'\"
|
||||||
.TH Tk_SetCaretPos 3 8.4 Tk "Tk Library Procedures"
|
.TH Tk_SetCaretPos 3 8.4 Tk "Tk Library Procedures"
|
||||||
.so man.macros
|
.so man.macros
|
||||||
.BS
|
.BS
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
'\"
|
'\"
|
||||||
'\" See the file "license.terms" for information on usage and redistribution
|
'\" See the file "license.terms" for information on usage and redistribution
|
||||||
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
|
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
|
||||||
'\"
|
'\"
|
||||||
.TH Tk_SetClass 3 "" Tk "Tk Library Procedures"
|
.TH Tk_SetClass 3 "" Tk "Tk Library Procedures"
|
||||||
.so man.macros
|
.so man.macros
|
||||||
.BS
|
.BS
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
'\"
|
'\"
|
||||||
'\" See the file "license.terms" for information on usage and redistribution
|
'\" See the file "license.terms" for information on usage and redistribution
|
||||||
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
|
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
|
||||||
'\"
|
'\"
|
||||||
.TH Tk_SetClassProcs 3 8.4 Tk "Tk Library Procedures"
|
.TH Tk_SetClassProcs 3 8.4 Tk "Tk Library Procedures"
|
||||||
.so man.macros
|
.so man.macros
|
||||||
.BS
|
.BS
|
||||||
@@ -56,7 +56,7 @@ The \fIinstanceData\fR parameter passed to the \fIworldChangedProc\fR
|
|||||||
will be identical to the \fIinstanceData\fR parameter passed to
|
will be identical to the \fIinstanceData\fR parameter passed to
|
||||||
\fBTk_SetClassProcs\fR.
|
\fBTk_SetClassProcs\fR.
|
||||||
.PP
|
.PP
|
||||||
\fIcreateProc\fR is used to create platform-dependant windows. It is
|
\fIcreateProc\fR is used to create platform-dependent windows. It is
|
||||||
invoked by \fBTk_MakeWindowExist\fR. \fIcreateProc\fR should have
|
invoked by \fBTk_MakeWindowExist\fR. \fIcreateProc\fR should have
|
||||||
arguments and results that match the type \fBTk_ClassCreateProc\fR:
|
arguments and results that match the type \fBTk_ClassCreateProc\fR:
|
||||||
.CS
|
.CS
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
'\"
|
'\"
|
||||||
'\" See the file "license.terms" for information on usage and redistribution
|
'\" See the file "license.terms" for information on usage and redistribution
|
||||||
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
|
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
|
||||||
'\"
|
'\"
|
||||||
.TH Tk_SetGrid 3 4.0 Tk "Tk Library Procedures"
|
.TH Tk_SetGrid 3 4.0 Tk "Tk Library Procedures"
|
||||||
.so man.macros
|
.so man.macros
|
||||||
.BS
|
.BS
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
'\"
|
'\"
|
||||||
'\" See the file "license.terms" for information on usage and redistribution
|
'\" See the file "license.terms" for information on usage and redistribution
|
||||||
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
|
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
|
||||||
'\"
|
'\"
|
||||||
.TH Tk_SetOptions 3 8.1 Tk "Tk Library Procedures"
|
.TH Tk_SetOptions 3 8.1 Tk "Tk Library Procedures"
|
||||||
.so man.macros
|
.so man.macros
|
||||||
.BS
|
.BS
|
||||||
@@ -63,7 +63,7 @@ no window-dependent options, then a NULL value may be supplied for
|
|||||||
this argument.
|
this argument.
|
||||||
.AP int objc in
|
.AP int objc in
|
||||||
Number of values in \fIobjv\fR.
|
Number of values in \fIobjv\fR.
|
||||||
.AP Tcl_Obj "*const objv[]" in
|
.AP Tcl_Obj "*const *objv" in
|
||||||
Command-line arguments for setting configuring options.
|
Command-line arguments for setting configuring options.
|
||||||
.AP Tk_SavedOptions *savePtr out
|
.AP Tk_SavedOptions *savePtr out
|
||||||
If not NULL, the structure pointed to by this argument is filled
|
If not NULL, the structure pointed to by this argument is filled
|
||||||
@@ -443,7 +443,9 @@ suitable for passing to \fBTcl_GetIndexFromObj\fR. The value must
|
|||||||
be one of the strings in the table, or a unique abbreviation of
|
be one of the strings in the table, or a unique abbreviation of
|
||||||
one of the strings. The internal form is an integer giving the index
|
one of the strings. The internal form is an integer giving the index
|
||||||
into the table of the matching string, like the return value
|
into the table of the matching string, like the return value
|
||||||
from \fBTcl_GetStringFromObj\fR.
|
from \fBTcl_GetStringFromObj\fR. This option type supports the
|
||||||
|
\fBTK_OPTION_NULL_OK\fR flag; if a NULL value is set, the internal
|
||||||
|
representation is set to -1.
|
||||||
.TP
|
.TP
|
||||||
\fBTK_OPTION_SYNONYM\fR
|
\fBTK_OPTION_SYNONYM\fR
|
||||||
This type is used to provide alternative names for an option (for
|
This type is used to provide alternative names for an option (for
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
'\"
|
'\"
|
||||||
'\" See the file "license.terms" for information on usage and redistribution
|
'\" See the file "license.terms" for information on usage and redistribution
|
||||||
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
|
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
|
||||||
'\"
|
'\"
|
||||||
.TH Tk_SetWindowVisual 3 4.0 Tk "Tk Library Procedures"
|
.TH Tk_SetWindowVisual 3 4.0 Tk "Tk Library Procedures"
|
||||||
.so man.macros
|
.so man.macros
|
||||||
.BS
|
.BS
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
'\"
|
'\"
|
||||||
'\" See the file "license.terms" for information on usage and redistribution
|
'\" See the file "license.terms" for information on usage and redistribution
|
||||||
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
|
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
|
||||||
'\"
|
'\"
|
||||||
.TH Tk_StrictMotif 3 4.0 Tk "Tk Library Procedures"
|
.TH Tk_StrictMotif 3 4.0 Tk "Tk Library Procedures"
|
||||||
.so man.macros
|
.so man.macros
|
||||||
.BS
|
.BS
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
'\"
|
'\"
|
||||||
'\" See the file "license.terms" for information on usage and redistribution
|
'\" See the file "license.terms" for information on usage and redistribution
|
||||||
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
|
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
|
||||||
'\"
|
'\"
|
||||||
.TH Tk_InitStubs 3 8.4 Tk "Tk Library Procedures"
|
.TH Tk_InitStubs 3 8.4 Tk "Tk Library Procedures"
|
||||||
.so man.macros
|
.so man.macros
|
||||||
.BS
|
.BS
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
'\"
|
'\"
|
||||||
'\" See the file "license.terms" for information on usage and redistribution
|
'\" See the file "license.terms" for information on usage and redistribution
|
||||||
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
|
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
|
||||||
'\"
|
'\"
|
||||||
.TH Tk_Init 3 8.0 Tk "Tk Library Procedures"
|
.TH Tk_Init 3 8.0 Tk "Tk Library Procedures"
|
||||||
.so man.macros
|
.so man.macros
|
||||||
.BS
|
.BS
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
'\"
|
'\"
|
||||||
'\" See the file "license.terms" for information on usage and redistribution
|
'\" See the file "license.terms" for information on usage and redistribution
|
||||||
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
|
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
|
||||||
'\"
|
'\"
|
||||||
.TH bell n 8.4 Tk "Tk Built-In Commands"
|
.TH bell n 8.4 Tk "Tk Built-In Commands"
|
||||||
.so man.macros
|
.so man.macros
|
||||||
.BS
|
.BS
|
||||||
|
|||||||
66
doc/bind.n
66
doc/bind.n
@@ -5,7 +5,7 @@
|
|||||||
'\"
|
'\"
|
||||||
'\" See the file "license.terms" for information on usage and redistribution
|
'\" See the file "license.terms" for information on usage and redistribution
|
||||||
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
|
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
|
||||||
'\"
|
'\"
|
||||||
.TH bind n 8.0 Tk "Tk Built-In Commands"
|
.TH bind n 8.0 Tk "Tk Built-In Commands"
|
||||||
.so man.macros
|
.so man.macros
|
||||||
.BS
|
.BS
|
||||||
@@ -19,9 +19,10 @@ bind \- Arrange for X events to invoke Tcl scripts
|
|||||||
.PP
|
.PP
|
||||||
The \fBbind\fR command associates Tcl scripts with X events.
|
The \fBbind\fR command associates Tcl scripts with X events.
|
||||||
If all three arguments are specified, \fBbind\fR will
|
If all three arguments are specified, \fBbind\fR will
|
||||||
arrange for \fIscript\fR (a Tcl script) to be evaluated whenever
|
arrange for \fIscript\fR (a Tcl script called the
|
||||||
the event(s) given by \fIsequence\fR occur in the window(s)
|
.QW "binding script")
|
||||||
identified by \fItag\fR.
|
to be evaluated whenever the event(s) given by \fIsequence\fR
|
||||||
|
occur in the window(s) identified by \fItag\fR.
|
||||||
If \fIscript\fR is prefixed with a
|
If \fIscript\fR is prefixed with a
|
||||||
.QW + ,
|
.QW + ,
|
||||||
then it is appended to
|
then it is appended to
|
||||||
@@ -200,14 +201,27 @@ substitutions you would make when binding to these events.
|
|||||||
Many contemporary mice support a mouse wheel, which is used
|
Many contemporary mice support a mouse wheel, which is used
|
||||||
for scrolling documents without using the scrollbars. By rolling the
|
for scrolling documents without using the scrollbars. By rolling the
|
||||||
wheel, the system will generate \fBMouseWheel\fR events that the
|
wheel, the system will generate \fBMouseWheel\fR events that the
|
||||||
application can use to scroll. Like \fBKey\fR events the event is
|
application can use to scroll. The event is routed to the
|
||||||
always routed to the window that currently has focus. When the event
|
window currently under the mouse pointer. When the event
|
||||||
is received you can use the \fB%D\fR substitution to get the
|
is received you can use the \fB%D\fR substitution to get the
|
||||||
\fIdelta\fR field for the event, which is a integer value describing how
|
\fIdelta\fR field for the event, which is an integer value describing how
|
||||||
the mouse wheel has moved. The smallest value for which the
|
the mouse wheel has moved. The smallest value for which the
|
||||||
system will report is defined by the OS. The sign of the
|
system will report is defined by the OS. The sign of the
|
||||||
value determines which direction your widget should scroll. Positive
|
value determines which direction your widget should scroll. Positive
|
||||||
values should scroll up and negative values should scroll down.
|
values should scroll up and negative values should scroll down.
|
||||||
|
.RS
|
||||||
|
.PP
|
||||||
|
Horizontal scrolling uses \fBShift-MouseWheel\fR events, with positive
|
||||||
|
\fB%D\fR \fIdelta\fR substitution indicating left scrolling and negative
|
||||||
|
right scrolling.
|
||||||
|
Only Windows and macOS Aqua typically fire \fBMouseWheel\fR and
|
||||||
|
\fBShift-MouseWheel\fR events. On
|
||||||
|
X11 vertical scrolling is rather supported through \fBButton-4\fR and
|
||||||
|
\fBButton-5\fR events, and horizontal scrolling through \fBShift-Button-4\fR
|
||||||
|
and \fBShift-Button-5\fR events. Horizontal scrolling events may fire from
|
||||||
|
many different hardware units such as tilt wheels or touchpads. Horizontal
|
||||||
|
scrolling can also be emulated by holding Shift and scrolling vertically.
|
||||||
|
.RE
|
||||||
.IP "\fBKeyPress\fR, \fBKeyRelease\fR" 5
|
.IP "\fBKeyPress\fR, \fBKeyRelease\fR" 5
|
||||||
The \fBKeyPress\fR and \fBKeyRelease\fR events are generated
|
The \fBKeyPress\fR and \fBKeyRelease\fR events are generated
|
||||||
whenever a key is pressed or released. \fBKeyPress\fR and \fBKeyRelease\fR
|
whenever a key is pressed or released. \fBKeyPress\fR and \fBKeyRelease\fR
|
||||||
@@ -269,7 +283,8 @@ it is destroyed.
|
|||||||
When the \fBDestroy\fR event is delivered
|
When the \fBDestroy\fR event is delivered
|
||||||
to a widget, it is in a
|
to a widget, it is in a
|
||||||
.QW half-dead
|
.QW half-dead
|
||||||
state: the widget still exists, but most operations on it will fail.
|
state: the widget still exists, but operations that involve it
|
||||||
|
may return invalid results, or return an error.
|
||||||
.RE
|
.RE
|
||||||
.IP "\fBFocusIn\fR, \fBFocusOut\fR" 5
|
.IP "\fBFocusIn\fR, \fBFocusOut\fR" 5
|
||||||
The \fBFocusIn\fR and \fBFocusOut\fR events are generated
|
The \fBFocusIn\fR and \fBFocusOut\fR events are generated
|
||||||
@@ -387,7 +402,8 @@ For example, \fB<Control\-comma>\fR is equivalent to
|
|||||||
\fB<Control\-KeyPress\-comma>\fR.
|
\fB<Control\-KeyPress\-comma>\fR.
|
||||||
.SH "BINDING SCRIPTS AND SUBSTITUTIONS"
|
.SH "BINDING SCRIPTS AND SUBSTITUTIONS"
|
||||||
.PP
|
.PP
|
||||||
The \fIscript\fR argument to \fBbind\fR is a Tcl script,
|
The \fIscript\fR argument to \fBbind\fR is a Tcl script, called the
|
||||||
|
.QW "binding script",
|
||||||
which will be executed whenever the given event sequence occurs.
|
which will be executed whenever the given event sequence occurs.
|
||||||
\fICommand\fR will be executed in the same interpreter that the
|
\fICommand\fR will be executed in the same interpreter that the
|
||||||
\fBbind\fR command was executed in, and it will run at global
|
\fBbind\fR command was executed in, and it will run at global
|
||||||
@@ -508,6 +524,9 @@ For \fBButtonPress\fR, \fBButtonRelease\fR, \fBMotion\fR,
|
|||||||
\fBKeyPress\fR, \fBKeyRelease\fR, and \fBMouseWheel\fR events,
|
\fBKeyPress\fR, \fBKeyRelease\fR, and \fBMouseWheel\fR events,
|
||||||
\fB%x\fR and \fB%y\fR indicate the position of the mouse pointer
|
\fB%x\fR and \fB%y\fR indicate the position of the mouse pointer
|
||||||
relative to the receiving window.
|
relative to the receiving window.
|
||||||
|
For key events on the Macintosh these are the coordinates of the
|
||||||
|
mouse at the moment when an X11 KeyEvent is sent to Tk, which could
|
||||||
|
be slightly later than the time of the physical press or release.
|
||||||
For \fBEnter\fR and \fBLeave\fR events, the position where the
|
For \fBEnter\fR and \fBLeave\fR events, the position where the
|
||||||
mouse pointer crossed the window, relative to the receiving window.
|
mouse pointer crossed the window, relative to the receiving window.
|
||||||
For \fBConfigure\fR and \fBCreate\fR requests, the \fIx\fR and \fIy\fR
|
For \fBConfigure\fR and \fBCreate\fR requests, the \fIx\fR and \fIy\fR
|
||||||
@@ -515,10 +534,11 @@ coordinates of the window relative to its parent window.
|
|||||||
.IP \fB%A\fR 5
|
.IP \fB%A\fR 5
|
||||||
Substitutes the UNICODE character corresponding to the event, or
|
Substitutes the UNICODE character corresponding to the event, or
|
||||||
the empty string if the event does not correspond to a UNICODE character
|
the empty string if the event does not correspond to a UNICODE character
|
||||||
(e.g. the shift key was pressed). \fBXmbLookupString\fR (or
|
(e.g. the shift key was pressed). On X11, \fBXmbLookupString\fR (or
|
||||||
\fBXLookupString\fR when input method support is turned off) does all
|
\fBXLookupString\fR when input method support is turned off) does all
|
||||||
the work of translating from the event to a UNICODE character.
|
the work of translating from the event to a UNICODE character.
|
||||||
Valid only for \fBKeyPress\fR and \fBKeyRelease\fR events.
|
On X11, valid only for \fBKeyPress\fR event. On Windows and macOS/aqua,
|
||||||
|
valid only for \fBKeyPress\fR and \fBKeyRelease\fR events.
|
||||||
.IP \fB%B\fR 5
|
.IP \fB%B\fR 5
|
||||||
The \fIborder_width\fR field from the event. Valid only for
|
The \fIborder_width\fR field from the event. Valid only for
|
||||||
\fBConfigure\fR, \fBConfigureRequest\fR, and \fBCreate\fR events.
|
\fBConfigure\fR, \fBConfigureRequest\fR, and \fBCreate\fR events.
|
||||||
@@ -564,8 +584,8 @@ The \fIx_root\fR and \fIy_root\fR fields from the event.
|
|||||||
If a virtual-root window manager is being used then the substituted
|
If a virtual-root window manager is being used then the substituted
|
||||||
values are the corresponding x-coordinate and y-coordinate in the virtual root.
|
values are the corresponding x-coordinate and y-coordinate in the virtual root.
|
||||||
Valid only for
|
Valid only for
|
||||||
\fBButtonPress\fR, \fBButtonRelease\fR, \fBKeyPress\fR, \fBKeyRelease\fR,
|
\fBButtonPress\fR, \fBButtonRelease\fR, \fBEnter\fR, \fBKeyPress\fR,
|
||||||
and \fBMotion\fR events.
|
\fBKeyRelease\fR, \fBLeave\fR and \fBMotion\fR events.
|
||||||
Same meaning as \fB%x\fR and \fB%y\fR, except relative to the (virtual) root
|
Same meaning as \fB%x\fR and \fB%y\fR, except relative to the (virtual) root
|
||||||
window.
|
window.
|
||||||
.LP
|
.LP
|
||||||
@@ -606,13 +626,21 @@ the window.
|
|||||||
.PP
|
.PP
|
||||||
The \fBcontinue\fR and \fBbreak\fR commands may be used inside a
|
The \fBcontinue\fR and \fBbreak\fR commands may be used inside a
|
||||||
binding script to control the processing of matching scripts.
|
binding script to control the processing of matching scripts.
|
||||||
If \fBcontinue\fR is invoked, then the current binding script
|
If \fBcontinue\fR is invoked within a binding script, then this
|
||||||
is terminated but Tk will continue processing binding scripts
|
binding script, including all other
|
||||||
associated with other \fItag\fR's.
|
.QW +
|
||||||
|
appended scripts, is terminated but Tk will continue processing
|
||||||
|
binding scripts associated with other \fItag\fR's.
|
||||||
If the \fBbreak\fR command is invoked within a binding script,
|
If the \fBbreak\fR command is invoked within a binding script,
|
||||||
then that script terminates and no other scripts will be invoked
|
then that script terminates and no other scripts will be invoked
|
||||||
for the event.
|
for the event.
|
||||||
.PP
|
.PP
|
||||||
|
Within a script called from the binding script, \fBreturn\fR
|
||||||
|
\fB-code ok\fR may be used to continue processing (including
|
||||||
|
.QW +
|
||||||
|
appended scripts), or \fBreturn\fR \fB-code break\fR may be used to
|
||||||
|
stop processing all other binding scripts.
|
||||||
|
.PP
|
||||||
If more than one binding matches a particular event and they
|
If more than one binding matches a particular event and they
|
||||||
have the same \fItag\fR, then the most specific binding
|
have the same \fItag\fR, then the most specific binding
|
||||||
is chosen and its script is evaluated.
|
is chosen and its script is evaluated.
|
||||||
@@ -628,11 +656,11 @@ of events matched) is more specific than a shorter sequence;
|
|||||||
.IP (c)
|
.IP (c)
|
||||||
if the modifiers specified in one pattern are a subset of the
|
if the modifiers specified in one pattern are a subset of the
|
||||||
modifiers in another pattern, then the pattern with more modifiers
|
modifiers in another pattern, then the pattern with more modifiers
|
||||||
is more specific.
|
is more specific;
|
||||||
.IP (d)
|
.IP (d)
|
||||||
a virtual event whose physical pattern matches the sequence is less
|
a virtual event whose physical pattern matches the sequence is less
|
||||||
specific than the same physical pattern that is not associated with a
|
specific than the same physical pattern that is not associated with a
|
||||||
virtual event.
|
virtual event;
|
||||||
.IP (e)
|
.IP (e)
|
||||||
given a sequence that matches two or more virtual events, one
|
given a sequence that matches two or more virtual events, one
|
||||||
of the virtual events will be chosen, but the order is undefined.
|
of the virtual events will be chosen, but the order is undefined.
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
'\"
|
'\"
|
||||||
'\" See the file "license.terms" for information on usage and redistribution
|
'\" See the file "license.terms" for information on usage and redistribution
|
||||||
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
|
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
|
||||||
'\"
|
'\"
|
||||||
.TH bindtags n 4.0 Tk "Tk Built-In Commands"
|
.TH bindtags n 4.0 Tk "Tk Built-In Commands"
|
||||||
.so man.macros
|
.so man.macros
|
||||||
.BS
|
.BS
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
'\"
|
'\"
|
||||||
'\" See the file "license.terms" for information on usage and redistribution
|
'\" See the file "license.terms" for information on usage and redistribution
|
||||||
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
|
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
|
||||||
'\"
|
'\"
|
||||||
.TH bitmap n 4.0 Tk "Tk Built-In Commands"
|
.TH bitmap n 4.0 Tk "Tk Built-In Commands"
|
||||||
.so man.macros
|
.so man.macros
|
||||||
.BS
|
.BS
|
||||||
|
|||||||
32
doc/busy.n
32
doc/busy.n
@@ -28,7 +28,7 @@
|
|||||||
.BS
|
.BS
|
||||||
'\" Note: do not modify the .SH NAME line immediately below!
|
'\" Note: do not modify the .SH NAME line immediately below!
|
||||||
.SH NAME
|
.SH NAME
|
||||||
busy \- confine pointer and keyboard events to a window sub-tree
|
busy \- confine pointer events to a window sub-tree
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
\fBtk busy\fR \fIwindow \fR?\fIoptions\fR?
|
\fBtk busy\fR \fIwindow \fR?\fIoptions\fR?
|
||||||
.sp
|
.sp
|
||||||
@@ -44,9 +44,10 @@ busy \- confine pointer and keyboard events to a window sub-tree
|
|||||||
.BE
|
.BE
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
.PP
|
.PP
|
||||||
The \fBtk busy\fR command provides a simple means to block keyboard, button,
|
The \fBtk busy\fR command provides a simple means to block pointer events from
|
||||||
and pointer events from Tk widgets, while overriding the widget's cursor with
|
Tk widgets, while overriding the widget's cursor with a configurable busy
|
||||||
a configurable busy cursor.
|
cursor. Note this command does not prevent keyboard events from being sent to
|
||||||
|
the widgets made busy.
|
||||||
.SH INTRODUCTION
|
.SH INTRODUCTION
|
||||||
.PP
|
.PP
|
||||||
There are many times in applications where you want to temporarily restrict
|
There are many times in applications where you want to temporarily restrict
|
||||||
@@ -68,8 +69,8 @@ that overrides the widget's normal cursor, providing feedback that the
|
|||||||
application (widget) is temporarily busy.
|
application (widget) is temporarily busy.
|
||||||
.PP
|
.PP
|
||||||
When a widget is made busy, the widget and all of its descendants will ignore
|
When a widget is made busy, the widget and all of its descendants will ignore
|
||||||
events. It's easy to make an entire panel of widgets busy. You can simply make
|
pointer events. It's easy to make an entire panel of widgets busy. You can
|
||||||
the toplevel widget (such as
|
simply make the toplevel widget (such as
|
||||||
.QW . )
|
.QW . )
|
||||||
busy. This is easier and far much more efficient than recursively traversing
|
busy. This is easier and far much more efficient than recursively traversing
|
||||||
the widget hierarchy, disabling each widget and re-configuring its cursor.
|
the widget hierarchy, disabling each widget and re-configuring its cursor.
|
||||||
@@ -240,20 +241,27 @@ widgets.
|
|||||||
.SS "KEYBOARD EVENTS"
|
.SS "KEYBOARD EVENTS"
|
||||||
.PP
|
.PP
|
||||||
When a widget is made busy, the widget is prevented from gaining the keyboard
|
When a widget is made busy, the widget is prevented from gaining the keyboard
|
||||||
focus by the busy window. But if the widget already had focus, it still may
|
focus by a user clicking on it by the busy window. But if the widget already had
|
||||||
received keyboard events. To prevent this, you must move focus to another
|
focus, it still may receive keyboard events. The widget can also still receive
|
||||||
window.
|
focus through keyboard traversal. To prevent this, you must move
|
||||||
|
focus to another window and make sure the focus can not go back to the widgets
|
||||||
|
made busy (e.g. but restricting focus to a cancel button).
|
||||||
.PP
|
.PP
|
||||||
.CS
|
.CS
|
||||||
|
pack [frame .frame]
|
||||||
|
pack [text .frame.text]
|
||||||
\fBtk busy\fR hold .frame
|
\fBtk busy\fR hold .frame
|
||||||
label .dummy
|
pack [button .cancel -text "Cancel" -command exit]
|
||||||
focus .dummy
|
focus .cancel
|
||||||
|
bind .cancel <Tab> {break}
|
||||||
|
bind .cancel <Shift-Tab> {break}
|
||||||
update
|
update
|
||||||
.CE
|
.CE
|
||||||
.PP
|
.PP
|
||||||
The above example moves the focus from .frame immediately after invoking the
|
The above example moves the focus from .frame immediately after invoking the
|
||||||
\fBhold\fR so that no keyboard events will be sent to \fB.frame\fR or any of
|
\fBhold\fR so that no keyboard events will be sent to \fB.frame\fR or any of
|
||||||
its descendants.
|
its descendants. It also makes sure it's not possible to leave button
|
||||||
|
\fB.cancel\fR using the keyboard.
|
||||||
.SH PORTABILITY
|
.SH PORTABILITY
|
||||||
.PP
|
.PP
|
||||||
Note that the \fBtk busy\fR command does not currently have any effect on OSX
|
Note that the \fBtk busy\fR command does not currently have any effect on OSX
|
||||||
|
|||||||
31
doc/canvas.n
31
doc/canvas.n
@@ -547,6 +547,15 @@ If coordinates are specified, then they replace the current
|
|||||||
coordinates for the named item.
|
coordinates for the named item.
|
||||||
If \fItagOrId\fR refers to multiple items, then
|
If \fItagOrId\fR refers to multiple items, then
|
||||||
the first one in the display list is used.
|
the first one in the display list is used.
|
||||||
|
.RS
|
||||||
|
.PP
|
||||||
|
Note that for rectangles, ovals and arcs the returned list of coordinates
|
||||||
|
has a fixed order, namely the left, top, right and bottom coordinates,
|
||||||
|
which may not be the order originally given. Also the coordinates are always
|
||||||
|
returned in screen units with no units (that is, in pixels). So if the
|
||||||
|
original coordinates were specified for instance in centimeters or inches,
|
||||||
|
the returned values will nevertheless be in pixels.
|
||||||
|
.RE
|
||||||
.TP
|
.TP
|
||||||
\fIpathName \fBcreate \fItype x y \fR?\fIx y ...\fR? ?\fIoption value ...\fR?
|
\fIpathName \fBcreate \fItype x y \fR?\fIx y ...\fR? ?\fIoption value ...\fR?
|
||||||
.TP
|
.TP
|
||||||
@@ -744,7 +753,8 @@ This command returns an empty string.
|
|||||||
\fIpathName \fBmoveto \fItagOrId xPos yPos\fR
|
\fIpathName \fBmoveto \fItagOrId xPos yPos\fR
|
||||||
.VS 8.6
|
.VS 8.6
|
||||||
Move the items given by \fItagOrId\fR in the canvas coordinate
|
Move the items given by \fItagOrId\fR in the canvas coordinate
|
||||||
space so that the first coordinate pair of the bottommost item with
|
space so that the first coordinate pair (the upper-left corner of the
|
||||||
|
bounding box) of the first item (the lowest in the display list) with
|
||||||
tag \fItagOrId\fR is located at
|
tag \fItagOrId\fR is located at
|
||||||
position (\fIxPos\fR,\fIyPos\fR). \fIxPos\fR and \fIyPos\fR may be
|
position (\fIxPos\fR,\fIyPos\fR). \fIxPos\fR and \fIyPos\fR may be
|
||||||
the empty string, in which case the corresponding coordinate
|
the empty string, in which case the corresponding coordinate
|
||||||
@@ -1113,7 +1123,7 @@ becomes visible; if it is positive then information farther to the right
|
|||||||
becomes visible.
|
becomes visible.
|
||||||
.RE
|
.RE
|
||||||
.TP
|
.TP
|
||||||
\fIpathName \fByview \fI?args\fR?
|
\fIpathName \fByview ?\fIargs\fR?
|
||||||
.
|
.
|
||||||
This command is used to query and change the vertical position of the
|
This command is used to query and change the vertical position of the
|
||||||
information displayed in the canvas's window.
|
information displayed in the canvas's window.
|
||||||
@@ -1210,10 +1220,10 @@ in the \fBCOORDINATES\fR section above.
|
|||||||
Specifies the color to be used to fill item's area.
|
Specifies the color to be used to fill item's area.
|
||||||
in its normal, active, and disabled states,
|
in its normal, active, and disabled states,
|
||||||
\fIColor\fR may have any of the forms accepted by \fBTk_GetColor\fR.
|
\fIColor\fR may have any of the forms accepted by \fBTk_GetColor\fR.
|
||||||
If \fIcolor\fR is an empty string (the default),
|
|
||||||
then the item will not be filled.
|
|
||||||
For the line item, it specifies the color of the line drawn.
|
For the line item, it specifies the color of the line drawn.
|
||||||
For the text item, it specifies the foreground color of the text.
|
For the text item, it specifies the foreground color of the text.
|
||||||
|
If \fIcolor\fR is an empty string (the default for all canvas items
|
||||||
|
except line and text), then the item will not be filled.
|
||||||
.TP
|
.TP
|
||||||
\fB\-outline \fIcolor\fR
|
\fB\-outline \fIcolor\fR
|
||||||
.TP
|
.TP
|
||||||
@@ -1224,8 +1234,8 @@ For the text item, it specifies the foreground color of the text.
|
|||||||
This option specifies the color that should be used to draw the
|
This option specifies the color that should be used to draw the
|
||||||
outline of the item in its normal, active and disabled states.
|
outline of the item in its normal, active and disabled states.
|
||||||
\fIColor\fR may have any of the forms accepted by \fBTk_GetColor\fR.
|
\fIColor\fR may have any of the forms accepted by \fBTk_GetColor\fR.
|
||||||
This option defaults to \fBblack\fR. If \fIcolor\fR is specified
|
If \fIcolor\fR is specified as an empty string then no outline is drawn
|
||||||
as an empty string then no outline is drawn for the item.
|
for the item.
|
||||||
.TP
|
.TP
|
||||||
\fB\-offset \fIoffset\fR
|
\fB\-offset \fIoffset\fR
|
||||||
.
|
.
|
||||||
@@ -1433,8 +1443,7 @@ disabled states.
|
|||||||
Specifies the color to use for each of the bitmap's
|
Specifies the color to use for each of the bitmap's
|
||||||
.QW 1
|
.QW 1
|
||||||
valued pixels in its normal, active and disabled states.
|
valued pixels in its normal, active and disabled states.
|
||||||
\fIColor\fR may have any of the forms accepted by \fBTk_GetColor\fR and
|
\fIColor\fR may have any of the forms accepted by \fBTk_GetColor\fR.
|
||||||
defaults to \fBblack\fR.
|
|
||||||
.SS "IMAGE ITEMS"
|
.SS "IMAGE ITEMS"
|
||||||
.PP
|
.PP
|
||||||
Items of type \fBimage\fR are used to display images on a
|
Items of type \fBimage\fR are used to display images on a
|
||||||
@@ -1515,6 +1524,12 @@ ends of the line.
|
|||||||
\fBlast\fR (for an arrowhead at the last point of the line), or
|
\fBlast\fR (for an arrowhead at the last point of the line), or
|
||||||
\fBboth\fR (for arrowheads at both ends).
|
\fBboth\fR (for arrowheads at both ends).
|
||||||
This option defaults to \fBnone\fR.
|
This option defaults to \fBnone\fR.
|
||||||
|
When requested to draw an arrowhead, Tk internally adjusts the corresponding
|
||||||
|
line end point so that the rendered line ends at the neck of the arrowhead
|
||||||
|
rather than at its tip so that the line doesn't extend past the edge of the
|
||||||
|
arrowhead. This may trigger a \fBLeave\fR event if the mouse is hovering this
|
||||||
|
line end. Conversely, when removing an arrowhead Tk adjusts the corresponding
|
||||||
|
line point the other way round, which may trigger an \fBEnter\fR event.
|
||||||
.TP
|
.TP
|
||||||
\fB\-arrowshape \fIshape\fR
|
\fB\-arrowshape \fIshape\fR
|
||||||
This option indicates how to draw arrowheads.
|
This option indicates how to draw arrowheads.
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
'\"
|
'\"
|
||||||
'\" See the file "license.terms" for information on usage and redistribution
|
'\" See the file "license.terms" for information on usage and redistribution
|
||||||
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
|
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
|
||||||
'\"
|
'\"
|
||||||
.TH tk_chooseColor n 4.2 Tk "Tk Built-In Commands"
|
.TH tk_chooseColor n 4.2 Tk "Tk Built-In Commands"
|
||||||
.so man.macros
|
.so man.macros
|
||||||
.BS
|
.BS
|
||||||
|
|||||||
@@ -17,6 +17,13 @@ The procedure \fBtk_chooseDirectory\fR pops up a dialog box for the
|
|||||||
user to select a directory. The following \fIoption\-value\fR pairs are
|
user to select a directory. The following \fIoption\-value\fR pairs are
|
||||||
possible as command line arguments:
|
possible as command line arguments:
|
||||||
.TP
|
.TP
|
||||||
|
\fB\-command\fR \fIstring\fR
|
||||||
|
Specifies the prefix of a Tcl command to invoke when the user closes the
|
||||||
|
dialog after having selected an item. This callback is not called if the
|
||||||
|
user cancelled the dialog. The actual command consists of \fIstring\fR
|
||||||
|
followed by a space and the value selected by the user in the dialog. This
|
||||||
|
is only available on Mac OS X.
|
||||||
|
.TP
|
||||||
\fB\-initialdir\fR \fIdirname\fR
|
\fB\-initialdir\fR \fIdirname\fR
|
||||||
Specifies that the directories in \fIdirectory\fR should be displayed
|
Specifies that the directories in \fIdirectory\fR should be displayed
|
||||||
when the dialog pops up. If this parameter is not specified,
|
when the dialog pops up. If this parameter is not specified,
|
||||||
@@ -27,6 +34,10 @@ user-selected directory for the application. If the
|
|||||||
parameter specifies a relative path, the return value will convert the
|
parameter specifies a relative path, the return value will convert the
|
||||||
relative path to an absolute path.
|
relative path to an absolute path.
|
||||||
.TP
|
.TP
|
||||||
|
\fB\-message\fR \fIstring\fR
|
||||||
|
Specifies a message to include in the client area of the dialog.
|
||||||
|
This is only available on Mac OS X.
|
||||||
|
.TP
|
||||||
\fB\-mustexist\fR \fIboolean\fR
|
\fB\-mustexist\fR \fIboolean\fR
|
||||||
Specifies whether the user may specify non-existent directories. If
|
Specifies whether the user may specify non-existent directories. If
|
||||||
this parameter is true, then the user may only select directories that
|
this parameter is true, then the user may only select directories that
|
||||||
|
|||||||
114
doc/colors.n
114
doc/colors.n
@@ -784,29 +784,23 @@ YellowGreen 154 205 50
|
|||||||
.TP
|
.TP
|
||||||
\fBMac OS X\fR
|
\fBMac OS X\fR
|
||||||
.
|
.
|
||||||
On Mac OS X, the following additional system colors are available
|
On macOS, the following additional system colors are available. This
|
||||||
(note that the actual color values depend on the currently active OS theme,
|
first group contains all of the HIBrush colors available in the
|
||||||
and typically many of these will in fact be patterns rather than pure colors):
|
HIToolbox library. Note that on macOS 10.14 (Mojave) and later these
|
||||||
|
colors are unlikely to match the color actually used for the purpose
|
||||||
|
suggested by the color name.
|
||||||
.RS
|
.RS
|
||||||
.DS
|
.DS
|
||||||
systemActiveAreaFill
|
systemActiveAreaFill
|
||||||
systemAlertActiveText
|
|
||||||
systemAlertBackgroundActive
|
systemAlertBackgroundActive
|
||||||
systemAlertBackgroundInactive
|
systemAlertBackgroundInactive
|
||||||
systemAlertInactiveText
|
|
||||||
systemAlternatePrimaryHighlightColor
|
systemAlternatePrimaryHighlightColor
|
||||||
systemAppleGuideCoachmark
|
systemAppleGuideCoachmark
|
||||||
systemBevelActiveDark
|
systemBevelActiveDark
|
||||||
systemBevelActiveLight
|
systemBevelActiveLight
|
||||||
systemBevelButtonActiveText
|
|
||||||
systemBevelButtonInactiveText
|
|
||||||
systemBevelButtonPressedText
|
|
||||||
systemBevelButtonStickyActiveText
|
|
||||||
systemBevelButtonStickyInactiveText
|
|
||||||
systemBevelInactiveDark
|
systemBevelInactiveDark
|
||||||
systemBevelInactiveLight
|
systemBevelInactiveLight
|
||||||
systemBlack
|
systemBlack
|
||||||
systemBlackText
|
|
||||||
systemButtonActiveDarkHighlight
|
systemButtonActiveDarkHighlight
|
||||||
systemButtonActiveDarkShadow
|
systemButtonActiveDarkShadow
|
||||||
systemButtonActiveLightHighlight
|
systemButtonActiveLightHighlight
|
||||||
@@ -826,15 +820,10 @@ systemButtonPressedDarkHighlight
|
|||||||
systemButtonPressedDarkShadow
|
systemButtonPressedDarkShadow
|
||||||
systemButtonPressedLightHighlight
|
systemButtonPressedLightHighlight
|
||||||
systemButtonPressedLightShadow
|
systemButtonPressedLightShadow
|
||||||
systemButtonText
|
|
||||||
systemChasingArrows
|
systemChasingArrows
|
||||||
systemDialogActiveText
|
|
||||||
systemDialogBackgroundActive
|
systemDialogBackgroundActive
|
||||||
systemDialogBackgroundInactive
|
systemDialogBackgroundInactive
|
||||||
systemDialogInactiveText
|
|
||||||
systemDocumentWindowBackground
|
systemDocumentWindowBackground
|
||||||
systemDocumentWindowTitleActiveText
|
|
||||||
systemDocumentWindowTitleInactiveText
|
|
||||||
systemDragHilite
|
systemDragHilite
|
||||||
systemDrawerBackground
|
systemDrawerBackground
|
||||||
systemFinderWindowBackground
|
systemFinderWindowBackground
|
||||||
@@ -842,90 +831,87 @@ systemFocusHighlight
|
|||||||
systemHighlight
|
systemHighlight
|
||||||
systemHighlightAlternate
|
systemHighlightAlternate
|
||||||
systemHighlightSecondary
|
systemHighlightSecondary
|
||||||
systemHighlightText
|
|
||||||
systemIconLabelBackground
|
systemIconLabelBackground
|
||||||
systemIconLabelBackgroundSelected
|
systemIconLabelBackgroundSelected
|
||||||
systemIconLabelSelectedText
|
|
||||||
systemIconLabelText
|
|
||||||
systemListViewBackground
|
systemListViewBackground
|
||||||
systemListViewColumnDivider
|
systemListViewColumnDivider
|
||||||
systemListViewEvenRowBackground
|
systemListViewEvenRowBackground
|
||||||
systemListViewOddRowBackground
|
systemListViewOddRowBackground
|
||||||
systemListViewSeparator
|
systemListViewSeparator
|
||||||
systemListViewSortColumnBackground
|
systemListViewSortColumnBackground
|
||||||
systemListViewText
|
|
||||||
systemListViewWindowHeaderBackground
|
|
||||||
systemMenu
|
systemMenu
|
||||||
systemMenuActive
|
systemMenuActive
|
||||||
systemMenuActiveText
|
|
||||||
systemMenuBackground
|
systemMenuBackground
|
||||||
systemMenuBackgroundSelected
|
systemMenuBackgroundSelected
|
||||||
systemMenuDisabled
|
|
||||||
systemMenuItemActiveText
|
|
||||||
systemMenuItemDisabledText
|
|
||||||
systemMenuItemSelectedText
|
|
||||||
systemMenuText
|
|
||||||
systemMetalBackground
|
|
||||||
systemModelessDialogActiveText
|
|
||||||
systemModelessDialogBackgroundActive
|
systemModelessDialogBackgroundActive
|
||||||
systemModelessDialogBackgroundInactive
|
systemModelessDialogBackgroundInactive
|
||||||
systemModelessDialogInactiveText
|
|
||||||
systemMovableModalBackground
|
systemMovableModalBackground
|
||||||
systemMovableModalWindowTitleActiveText
|
|
||||||
systemMovableModalWindowTitleInactiveText
|
|
||||||
systemNotificationText
|
|
||||||
systemNotificationWindowBackground
|
systemNotificationWindowBackground
|
||||||
systemPlacardActiveText
|
|
||||||
systemPlacardBackground
|
|
||||||
systemPlacardInactiveText
|
|
||||||
systemPlacardPressedText
|
|
||||||
systemPopupArrowActive
|
systemPopupArrowActive
|
||||||
systemPopupArrowInactive
|
systemPopupArrowInactive
|
||||||
systemPopupArrowPressed
|
systemPopupArrowPressed
|
||||||
systemPopupButtonActiveText
|
|
||||||
systemPopupButtonInactiveText
|
|
||||||
systemPopupButtonPressedText
|
|
||||||
systemPopupLabelActiveText
|
|
||||||
systemPopupLabelInactiveText
|
|
||||||
systemPopupWindowTitleActiveText
|
|
||||||
systemPopupWindowTitleInactiveText
|
|
||||||
systemPrimaryHighlightColor
|
systemPrimaryHighlightColor
|
||||||
systemPushButtonActiveText
|
|
||||||
systemPushButtonInactiveText
|
|
||||||
systemPushButtonPressedText
|
|
||||||
systemRootMenuActiveText
|
|
||||||
systemRootMenuDisabledText
|
|
||||||
systemRootMenuSelectedText
|
|
||||||
systemScrollBarDelimiterActive
|
systemScrollBarDelimiterActive
|
||||||
systemScrollBarDelimiterInactive
|
systemScrollBarDelimiterInactive
|
||||||
systemSecondaryGroupBoxBackground
|
|
||||||
systemSecondaryHighlightColor
|
systemSecondaryHighlightColor
|
||||||
|
systemSelectedTabTextColor
|
||||||
systemSheetBackground
|
systemSheetBackground
|
||||||
systemSheetBackgroundOpaque
|
systemSheetBackgroundOpaque
|
||||||
systemSheetBackgroundTransparent
|
systemSheetBackgroundTransparent
|
||||||
systemStaticAreaFill
|
systemStaticAreaFill
|
||||||
systemSystemDetailText
|
|
||||||
systemTabFrontActiveText
|
|
||||||
systemTabFrontInactiveText
|
|
||||||
systemTabNonFrontActiveText
|
|
||||||
systemTabNonFrontInactiveText
|
|
||||||
systemTabNonFrontPressedText
|
|
||||||
systemTabPaneBackground
|
|
||||||
systemToolbarBackground
|
systemToolbarBackground
|
||||||
systemTransparent
|
systemTransparent
|
||||||
systemUtilityWindowBackgroundActive
|
systemUtilityWindowBackgroundActive
|
||||||
systemUtilityWindowBackgroundInactive
|
systemUtilityWindowBackgroundInactive
|
||||||
systemUtilityWindowTitleActiveText
|
|
||||||
systemUtilityWindowTitleInactiveText
|
|
||||||
systemWhite
|
systemWhite
|
||||||
systemWhiteText
|
|
||||||
systemWindowBody
|
systemWindowBody
|
||||||
systemWindowHeaderActiveText
|
.DE
|
||||||
systemWindowHeaderBackground
|
.RE
|
||||||
systemWindowHeaderInactiveText
|
.
|
||||||
|
Tk supports all of the NSColors in the macOS System ColorList. The
|
||||||
|
convention for naming these colors is that the Tk name is generated by
|
||||||
|
capitalizing the macOS name and adding the prefix "system". On OSX
|
||||||
|
10.14 (Mojave) and later many of these "semantic" colors will appear
|
||||||
|
differently depending on whether the NSWindow in which they are used has
|
||||||
|
the Aqua or DarkAqua appearance. The System ColorList differs between
|
||||||
|
releases of macOS and some colors, such as systemLinkColor and
|
||||||
|
systemControlAccentColor, are simulated on older systems which did not
|
||||||
|
provide them. All of the colors below are available on all supported
|
||||||
|
macOS releases, but newer systems will support additional colors.
|
||||||
|
.RS
|
||||||
|
.DS
|
||||||
|
systemControlAccentColor
|
||||||
|
systemControlTextColor
|
||||||
|
systemDisabledControlTextColor
|
||||||
|
systemLabelColor
|
||||||
|
systemLinkColor
|
||||||
|
systemPlaceholderTextColor
|
||||||
|
systemSelectedTextBackgroundColor
|
||||||
|
systemSelectedTextColor
|
||||||
|
systemSeparatorColor
|
||||||
|
systemTextBackgroundColor
|
||||||
|
systemTextColor
|
||||||
|
.DE
|
||||||
|
.RE
|
||||||
|
.
|
||||||
|
The numbered systemWindowBackgroundColors below
|
||||||
|
are used in the \fBttk::notebook\fR and \fBttk::labelframe\fR widgets
|
||||||
|
to provide a contrasting background. Each numbered color constrasts
|
||||||
|
with its predecessor.
|
||||||
|
.RS
|
||||||
|
.DS
|
||||||
|
systemWindowBackgroundColor
|
||||||
|
systemWindowBackgroundColor1
|
||||||
|
systemWindowBackgroundColor2
|
||||||
|
systemWindowBackgroundColor3
|
||||||
|
systemWindowBackgroundColor4
|
||||||
|
systemWindowBackgroundColor5
|
||||||
|
systemWindowBackgroundColor6
|
||||||
|
systemWindowBackgroundColor7
|
||||||
.DE
|
.DE
|
||||||
.RE
|
.RE
|
||||||
.TP
|
.TP
|
||||||
|
|
||||||
\fBWindows\fR
|
\fBWindows\fR
|
||||||
.
|
.
|
||||||
On Windows, the following additional system colors are available
|
On Windows, the following additional system colors are available
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
'\"
|
'\"
|
||||||
'\" See the file "license.terms" for information on usage and redistribution
|
'\" See the file "license.terms" for information on usage and redistribution
|
||||||
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
|
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
|
||||||
'\"
|
'\"
|
||||||
.TH console n 8.4 Tk "Tk Built-In Commands"
|
.TH console n 8.4 Tk "Tk Built-In Commands"
|
||||||
.so man.macros
|
.so man.macros
|
||||||
.BS
|
.BS
|
||||||
@@ -25,9 +25,12 @@ the Tk library. Except for TkAqua, this command is not available when
|
|||||||
Tk is loaded into a tclsh interpreter with
|
Tk is loaded into a tclsh interpreter with
|
||||||
.QW "\fBpackage require Tk\fR" ,
|
.QW "\fBpackage require Tk\fR" ,
|
||||||
as a conventional terminal is expected to be present in that case.
|
as a conventional terminal is expected to be present in that case.
|
||||||
In TkAqua, this command is only available when stdin is \fB/dev/null\fR
|
In TkAqua, this command is disabled when there is a startup script
|
||||||
(as is the case e.g. when the application embedding Tk is started
|
and stdin is \fB/dev/null\fR (as is the case e.g. when a bundled application
|
||||||
from the Mac OS X Finder).
|
embedding Tk is started by the macOS Launcher). To enable the command
|
||||||
|
in that case, define the environment variable \fBTK_CONSOLE\fR. This can be
|
||||||
|
done by modifying the Info.plist file by adding the LSEnvironment key
|
||||||
|
to the main dict and setting its value to be a dict with the key \fBTK_CONSOLE\fR.
|
||||||
.PP
|
.PP
|
||||||
.TP
|
.TP
|
||||||
\fBconsole eval \fIscript\fR
|
\fBconsole eval \fIscript\fR
|
||||||
|
|||||||
@@ -1,9 +1,9 @@
|
|||||||
'\"
|
'\"
|
||||||
'\" Copyright (c) 1998-2000 by Scriptics Corporation.
|
'\" Copyright (c) 1998-2000 by Scriptics Corporation.
|
||||||
'\" All rights reserved.
|
'\" All rights reserved.
|
||||||
'\"
|
'\"
|
||||||
'\" Copyright (c) 2006-2007 Daniel A. Steffen <das@users.sourceforge.net>
|
'\" Copyright (c) 2006-2007 Daniel A. Steffen <das@users.sourceforge.net>
|
||||||
'\"
|
'\"
|
||||||
.TH cursors n 8.3 Tk "Tk Built-In Commands"
|
.TH cursors n 8.3 Tk "Tk Built-In Commands"
|
||||||
.so man.macros
|
.so man.macros
|
||||||
.BS
|
.BS
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
'\"
|
'\"
|
||||||
'\" See the file "license.terms" for information on usage and redistribution
|
'\" See the file "license.terms" for information on usage and redistribution
|
||||||
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
|
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
|
||||||
'\"
|
'\"
|
||||||
.TH destroy n "" Tk "Tk Built-In Commands"
|
.TH destroy n "" Tk "Tk Built-In Commands"
|
||||||
.so man.macros
|
.so man.macros
|
||||||
.BS
|
.BS
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
'\"
|
'\"
|
||||||
'\" See the file "license.terms" for information on usage and redistribution
|
'\" See the file "license.terms" for information on usage and redistribution
|
||||||
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
|
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
|
||||||
'\"
|
'\"
|
||||||
.TH tk_dialog n 4.1 Tk "Tk Built-In Commands"
|
.TH tk_dialog n 4.1 Tk "Tk Built-In Commands"
|
||||||
.so man.macros
|
.so man.macros
|
||||||
.BS
|
.BS
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
'\"
|
'\"
|
||||||
'\" See the file "license.terms" for information on usage and redistribution
|
'\" See the file "license.terms" for information on usage and redistribution
|
||||||
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
|
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
|
||||||
'\"
|
'\"
|
||||||
.TH entry n 8.3 Tk "Tk Built-In Commands"
|
.TH entry n 8.3 Tk "Tk Built-In Commands"
|
||||||
.so man.macros
|
.so man.macros
|
||||||
.BS
|
.BS
|
||||||
@@ -448,9 +448,10 @@ insertion cursor in the entry without affecting the selection.
|
|||||||
If any normal printing characters are typed in an entry, they are
|
If any normal printing characters are typed in an entry, they are
|
||||||
inserted at the point of the insertion cursor.
|
inserted at the point of the insertion cursor.
|
||||||
.IP [7]
|
.IP [7]
|
||||||
The view in the entry can be adjusted by dragging with mouse button 2.
|
The view in the entry can be adjusted by dragging with the middle
|
||||||
If mouse button 2 is clicked without moving the mouse, the selection
|
mouse button (button 2, or button 3 in TkAqua). If the middle mouse
|
||||||
is copied into the entry at the position of the mouse cursor.
|
button is clicked without moving the mouse, the selection is copied
|
||||||
|
into the entry at the position of the mouse cursor.
|
||||||
.IP [8]
|
.IP [8]
|
||||||
If the mouse is dragged out of the entry on the left or right sides
|
If the mouse is dragged out of the entry on the left or right sides
|
||||||
while button 1 is pressed, the entry will automatically scroll to
|
while button 1 is pressed, the entry will automatically scroll to
|
||||||
|
|||||||
16
doc/event.n
16
doc/event.n
@@ -239,7 +239,8 @@ Similar to \fB%S\fR substitution for binding scripts.
|
|||||||
.TP
|
.TP
|
||||||
\fB\-time\fI integer\fR
|
\fB\-time\fI integer\fR
|
||||||
\fIInteger\fR must be an integer value; it specifies the \fItime\fR field
|
\fIInteger\fR must be an integer value; it specifies the \fItime\fR field
|
||||||
for the event.
|
for the event. Additonally the special value \fBcurrent\fR is allowed,
|
||||||
|
this value will be substituted by the current event time.
|
||||||
Valid for \fBKeyPress\fR, \fBKeyRelease\fR, \fBButtonPress\fR,
|
Valid for \fBKeyPress\fR, \fBKeyRelease\fR, \fBButtonPress\fR,
|
||||||
\fBButtonRelease\fR, \fBEnter\fR, \fBLeave\fR, \fBMotion\fR,
|
\fBButtonRelease\fR, \fBEnter\fR, \fBLeave\fR, \fBMotion\fR,
|
||||||
and \fBProperty\fR events.
|
and \fBProperty\fR events.
|
||||||
@@ -338,7 +339,18 @@ This is sent to a text widget when the selection in the widget is
|
|||||||
changed.
|
changed.
|
||||||
.TP
|
.TP
|
||||||
\fB<<ThemeChanged>>\fR
|
\fB<<ThemeChanged>>\fR
|
||||||
This is sent to a text widget when the ttk (Tile) theme changed.
|
This is sent to all widgets when the ttk theme changed. The ttk
|
||||||
|
widgets listen to this event and redisplay themselves when it fires.
|
||||||
|
The legacy widgets ignore this event.
|
||||||
|
.TP
|
||||||
|
\fB<<TkWorldChanged>>\fR
|
||||||
|
.
|
||||||
|
This event is sent to all widgets when a font is changed, for example,
|
||||||
|
by the use of [font configure]. The user_data field (%d) will have the
|
||||||
|
value "FontChanged". For other system wide changes, this event will
|
||||||
|
be sent to all widgets, and the user_data field will indicate the
|
||||||
|
cause of the change. NOTE: all tk and ttk widgets already handle this
|
||||||
|
event internally.
|
||||||
.TP
|
.TP
|
||||||
\fB<<TraverseIn>>\fR
|
\fB<<TraverseIn>>\fR
|
||||||
This is sent to a widget when the focus enters the widget because of a
|
This is sent to a widget when the focus enters the widget because of a
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
'\"
|
'\"
|
||||||
'\" See the file "license.terms" for information on usage and redistribution
|
'\" See the file "license.terms" for information on usage and redistribution
|
||||||
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
|
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
|
||||||
'\"
|
'\"
|
||||||
.TH focus n 4.0 Tk "Tk Built-In Commands"
|
.TH focus n 4.0 Tk "Tk Built-In Commands"
|
||||||
.so man.macros
|
.so man.macros
|
||||||
.BS
|
.BS
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
'\"
|
'\"
|
||||||
'\" See the file "license.terms" for information on usage and redistribution
|
'\" See the file "license.terms" for information on usage and redistribution
|
||||||
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
|
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
|
||||||
'\"
|
'\"
|
||||||
.TH tk_focusNext n 4.0 Tk "Tk Built-In Commands"
|
.TH tk_focusNext n 4.0 Tk "Tk Built-In Commands"
|
||||||
.so man.macros
|
.so man.macros
|
||||||
.BS
|
.BS
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
'\"
|
'\"
|
||||||
'\" See the file "license.terms" for information on usage and redistribution
|
'\" See the file "license.terms" for information on usage and redistribution
|
||||||
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
|
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
|
||||||
'\"
|
'\"
|
||||||
.TH fontchooser n "" Tk "Tk Built-In Commands"
|
.TH fontchooser n "" Tk "Tk Built-In Commands"
|
||||||
.so man.macros
|
.so man.macros
|
||||||
.BS
|
.BS
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
'\"
|
'\"
|
||||||
'\" See the file "license.terms" for information on usage and redistribution
|
'\" See the file "license.terms" for information on usage and redistribution
|
||||||
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
|
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
|
||||||
'\"
|
'\"
|
||||||
.TH frame n 8.4 Tk "Tk Built-In Commands"
|
.TH frame n 8.4 Tk "Tk Built-In Commands"
|
||||||
.so man.macros
|
.so man.macros
|
||||||
.BS
|
.BS
|
||||||
@@ -99,21 +99,25 @@ The \fBframe\fR command creates a new Tcl command whose
|
|||||||
name is the same as the path name of the frame's window. This
|
name is the same as the path name of the frame's window. This
|
||||||
command may be used to invoke various
|
command may be used to invoke various
|
||||||
operations on the widget. It has the following general form:
|
operations on the widget. It has the following general form:
|
||||||
|
.PP
|
||||||
.CS
|
.CS
|
||||||
\fIpathName option \fR?\fIarg arg ...\fR?
|
\fIpathName option \fR?\fIarg arg ...\fR?
|
||||||
.CE
|
.CE
|
||||||
|
.PP
|
||||||
\fIPathName\fR is the name of the command, which is the same as
|
\fIPathName\fR is the name of the command, which is the same as
|
||||||
the frame widget's path name. \fIOption\fR and the \fIarg\fRs
|
the frame widget's path name. \fIOption\fR and the \fIarg\fRs
|
||||||
determine the exact behavior of the command. The following
|
determine the exact behavior of the command. The following
|
||||||
commands are possible for frame widgets:
|
commands are possible for frame widgets:
|
||||||
.TP
|
.TP
|
||||||
\fIpathName \fBcget\fR \fIoption\fR
|
\fIpathName \fBcget\fR \fIoption\fR
|
||||||
|
.
|
||||||
Returns the current value of the configuration option given
|
Returns the current value of the configuration option given
|
||||||
by \fIoption\fR.
|
by \fIoption\fR.
|
||||||
\fIOption\fR may have any of the values accepted by the \fBframe\fR
|
\fIOption\fR may have any of the values accepted by the \fBframe\fR
|
||||||
command.
|
command.
|
||||||
.TP
|
.TP
|
||||||
\fIpathName \fBconfigure\fR ?\fIoption\fR? \fI?value option value ...\fR?
|
\fIpathName \fBconfigure\fR ?\fIoption\fR? ?\fIvalue option value ...\fR?
|
||||||
|
.
|
||||||
Query or modify the configuration options of the widget.
|
Query or modify the configuration options of the widget.
|
||||||
If no \fIoption\fR is specified, returns a list describing all of
|
If no \fIoption\fR is specified, returns a list describing all of
|
||||||
the available options for \fIpathName\fR (see \fBTk_ConfigureInfo\fR for
|
the available options for \fIpathName\fR (see \fBTk_ConfigureInfo\fR for
|
||||||
|
|||||||
@@ -35,6 +35,13 @@ whether the existing file should be overwritten or not.
|
|||||||
The following \fIoption\-value\fR pairs are possible as command line
|
The following \fIoption\-value\fR pairs are possible as command line
|
||||||
arguments to these two commands:
|
arguments to these two commands:
|
||||||
.TP
|
.TP
|
||||||
|
\fB\-command\fR \fIstring\fR
|
||||||
|
Specifies the prefix of a Tcl command to invoke when the user closes the
|
||||||
|
dialog after having selected an item. This callback is not called if the
|
||||||
|
user cancelled the dialog. The actual command consists of \fIstring\fR
|
||||||
|
followed by a space and the value selected by the user in the dialog. This
|
||||||
|
is only available on Mac OS X.
|
||||||
|
.TP
|
||||||
\fB\-confirmoverwrite\fR \fIboolean\fR
|
\fB\-confirmoverwrite\fR \fIboolean\fR
|
||||||
Configures how the Save dialog reacts when the selected file already
|
Configures how the Save dialog reacts when the selected file already
|
||||||
exists, and saving would overwrite it. A true value requests a
|
exists, and saving would overwrite it. A true value requests a
|
||||||
|
|||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user