SYNPOSIS

       package require fullscreen

       ::fullscreen::fullscreen $w


DESCRIPTION

       This package adds native a "fullscreen" button to Tk windows on Mac  OS
       X 10.7 and later.

       The   ::fullscreen::fullscreen   command   implements   a  Cocoa-native
       fullscreen  button  that,  when  pressed,  will  move  the  window   to
       fullscreen  status. The window can be restored to its previous state by
       clicking the "resize" icon in the application menu.


LIMITATIONS

       This command is implemented internally by overriding the  native  Cocoa
       fullscreen  API to generate a <<ToggleFullScreen>> virtual event, which
       is then passed to Tcl to map the fullscreen status to  the  window  via
       the "wm attributes $w -fullscreen" command. This ensures smoother inte-
       gration between Tk and Cocoa by working with a standard  Tk  mechanism,
       but  does  not work identically to fully-native Cocoa fullscreen imple-
       mentations. Earlier implementations of the fullscreen attempted to pro-
       vide a fully-native Cocoa implementation, but it was highly-complex and
       prone to crashing.


KEYWORDS

       fullscreen, Mac, Cocoa



                                                       untitled(02 March 2015)

Man(1) output converted with man2html