diff options
author | Kevin Walzer <kw@codebykevin.com> | 2019-02-28 03:51:04 (GMT) |
---|---|---|
committer | Kevin Walzer <kw@codebykevin.com> | 2019-02-28 03:51:04 (GMT) |
commit | c0f932d459554bd8176b87c10cae2a3b1788027b (patch) | |
tree | fb54f87bb8a54015ac3f216e7b6b0ec29047d5ba /doc/tk_mac.n | |
parent | 51183fa34e5f5f2554a87084acf36cc8e14d1b21 (diff) | |
download | tk-c0f932d459554bd8176b87c10cae2a3b1788027b.zip tk-c0f932d459554bd8176b87c10cae2a3b1788027b.tar.gz tk-c0f932d459554bd8176b87c10cae2a3b1788027b.tar.bz2 |
Add launcher code, update docs
Diffstat (limited to 'doc/tk_mac.n')
-rw-r--r-- | doc/tk_mac.n | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/doc/tk_mac.n b/doc/tk_mac.n index d6e821c..2a35b95 100644 --- a/doc/tk_mac.n +++ b/doc/tk_mac.n @@ -24,6 +24,12 @@ tk::mac \- Access Mac-Specific Functionality on OS X from Tk \fB::tk::mac::ShowHelp\fR \fB::tk::mac::PerformService\fR +\fB::tk::mac::LaunchURL \fIURL...\fR +\fB::tk::mac::LaunchFile \fIfile...\fR +\fB::tk::mac::GetAppPath\fR +\fB::tk::mac::GetDefaultApp \fIURL...\fR +\fB::tk::mac::SetDefaultApp \fIURL \fIfile...\fR + \fB::tk::mac::standardAboutPanel\fR \fB::tk::mac::useCompatibilityMetrics \fIboolean\fR @@ -172,6 +178,32 @@ process is not desired, the NSServices keys can be deleted from the application's Info.plist file. The underlying code supporting this command also allows the text, entry and ttk::entry widgets to access services from other applications via the Services menu. +.TP +\fB::tk::mac::LaunchURL \fIURL...\fR +. +If defined, launches a URL within Tk. This would be used if a Tk +application wants to handle a URL itself, such as displaying data from +an RSS feed, rather than launching a default application to handle the +URL, although it can defined as such. +.TP +\fB::tk::mac::LaunchFile \fIfile...\fR +. +If defined, launches a file with the system's default application for +that file format. +.TP +\fB::tk::mac::GetAppPath\fR +. +Returns the current applications's file path. +\fB::tk::mac::GetDefaultApp \fIURL...\fR +. +Returns the current default application for a URL format. +.TP +\fB::tk::mac::SetDefaultApp \fIURL \fIfile...\fR +. +Sets a specific application as the system default handler for a +specific URL format. +.TP + .SH "ADDITIONAL DIALOGS" .PP The Aqua/Mac OS X defines additional dialogs that applications should |