Re: Native print dialog - particularly OSX

[email protected] (Jeff Hobbs)
Newsgroups perl.tcltk
Message-ID <[email protected]>
On 26/02/2010 3:32 PM, jeff wrote:
> Beginner here with TKx&  OSX. Can anyone tell me how to access a native
> print dialog popup from TKx and OSX ( for that matter, windows would be
> nice too ) ?  Some example code would be much appreciated. Thanks.

Native print dialogs are not part of the Tk core, but rather are 
relegated to individual extensions for each platform.

On OS X, this would be MacCarbonPrint:

http://tclbitprint.sourceforge.net/maccarbonprint/maccarbonprint.html

With sources at the root there.  You can extend the tkkit with these 
libraries in the same manner as tkdnd in the previous thread.

For Windows, you can review the extensions at http://wiki.tcl.tk/2497.

Jeff
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.