change
- PW_DIRSELECT_SET
-
Set the current directory for the directory select object. The parameter is
of type "char *". By default the directory is the the null string. If the
directory is changed to the null string, the data default will be used
as directory.
- PW_DIRSELECT_TITLE_TEXT
-
Set the text which has to appear in the title bar of the directory select
window. The parameter is of type "char *". By default the title is "dir
select".
- PW_DIRSELECT_ACTIVATE
-
Activate the directory select window. This tag has no parameters. The
directory select object is a keypress object. A keypress can be given to
it and the window is displayed when that key is pressed. However, the
window can also explicitely be asked for by passing this tag to the object.
- PW_DIRSELECT_ACTION
-
Set a function which should be called when the directory select window is
closed. The parameter is of type "Error (*)(PWObject obj, char *directory)".
This routine is called with the name of the selected directory passed to it.
- PW_DIRSELECT_GET
-
Get the current directory for the directory select object. Two parameters
are needed, the length of the buffer (an "int"), and the pointer to the
buffer ("char *"). If the text in the object is larger than the buffer, the
buffer will be filled as much as possible.
PROGS, Professional & Graphical Software
last edited February 9, 1996