Tk::FBox man page on HP-UX

Man page or keyword search:  
man Server   10987 pages
apropos Keyword Search (all sections)
Output format
HP-UX logo
[printable version]

FBox(3)		      User Contributed Perl Documentation	       FBox(3)

NAME
       Tk::FBox - a file dialog

SYNOPSIS
	   use Tk::FBox;
	   $file = $mw->FBox(...)->Show;

DESCRIPTION
       "Tk::FBox" is the dialog implementation behind the "getOpenFile" and
       "getSaveFile" method calls in the Unix/X11 world. As such, it supports
       all options for these methods and additionally:

       -sortcmd => sub { $_[0] cmp $_[1] }
	   Specified a callback for changing the sorting of the icons in the
	   "IconList" widget. By default, perl's "cmp" operator will be used.

	   From the source code:

	     # Using -sortcmd is really strange :-(
	     # $top->getOpenFile(-sortcmd => sub { package Tk::FBox; uc $b cmp uc $a});
	     # or, un-perlish, but useable (now activated in code):
	     # $top->getOpenFile(-sortcmd => sub { uc $_[1] cmp uc $_[0]});

	   This is an experimental option!

       -type => $type
	   Type should be "open" (default) or "save".

       -filter => $glob
	   To be documented...

       -force => $bool
	   If true, then there will be no dialog if a file already exists.

COPYRIGHT
       The original tkfbox.tcl from Tcl/Tk is:

       Copyright (c) 1994-1996 Sun Microsystems, Inc.

       See the file "license.terms" for information on usage and redistribuā€
       tion of this file, and for a DISCLAIMER OF ALL WARRANTIES.

       Translated to Perl/Tk by Slaven Rezic <slaven.rezic@berlin.de>.

SEE ALSO
       Tk::getOpenFile, Tk::IconList.

perl v5.8.8			  2004-02-28			       FBox(3)
[top]

List of man pages available for HP-UX

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net