selectfile man page on Inferno

Man page or keyword search:  
man Server   579 pages
apropos Keyword Search (all sections)
Output format
Inferno logo
[printable version]

SELECTFILE(2)							 SELECTFILE(2)

NAME
       selectfile - file browser

SYNOPSIS
       include "selectfile.m";
       selectfile := load Selectfile Selectfile->PATH;

       init:	    fn();
       filename: fn(ctxt: ref Draw->Context, parent: ref Draw->Image,
		      title: string,
		      pat: list of string,
		      dir: string): string;

DESCRIPTION
       Selectfile  provides  an	 interactive  file  browser for use by a wm(1)
       application.  It allows a user to browse the file system	 to  select  a
       file of a give type.

       Init should be called once to initialise the module's internal state.

       Filename	 makes	a dialog panel for selecting a file.  It is created in
       the graphics context ctxt, near the northeast corner of a given	parent
       window,	parent,	 represented  by  that window's Image.	(If the parent
       window is a Tk Toplevel t,  for	instance,  the	appropriate  value  is
       t.image.)   If  parent is nil, the panel is centred on the screen.  Dir
       gives the directory where the file search  should  begin.   Only	 files
       that  match  pat are displayed.	The returned string is the name of the
       selected file, or the empty string if no file was selected.

SOURCE
       /appl/lib/selectfile.b

SEE ALSO
       dialog(2), dividers(2), draw-context(2), tabs(2), tk(2), wmlib(2)

								 SELECTFILE(2)
[top]

List of man pages available for Inferno

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