GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
XmFileSelectionBox(3) LessTif Manuals XmFileSelectionBox(3)

XmFileSelectionBox - Motif-compatible file-selection dialogue

#include <Xm/FileSB.h>

XmFileSelectionBox

XmCreateFileSelectionBox

XmFileSelectionBox

Name Class Type Default Access
XmNdirectory XmCDirectory XmString NULL CSG
XmNpattern XmCPattern XmString NULL CSG
XmNdirListLabelString XmCDirListLabelString XmString NULL CSG
XmNdirListItems XmCDirListItems XmStringTable NULL CSG
XmNdirListItemCount XmCDirListItemCount Int -1 CSG
XmNfilterLabelString XmCFilterLabelString XmString NULL CSG
XmNdirMask XmCDirMask XmString NULL CSG
XmNnoMatchString XmCNoMatchString XmString NULL CSG
XmNqualifySearchDataProc XmCQualifySearchDataProc Proc NULL CSG
XmNdirSearchProc XmCDirSearchProc Proc NULL CSG
XmNfileSearchProc XmCFileSearchProc Proc NULL CSG
XmNfileTypeMask XmCFileTypeMask FileTypeMask NULL CSG
XmNlistUpdated XmCListUpdated Boolean NULL CSG
XmNdirectoryValid XmCDirectoryValid Boolean NULL CSG
XmNdirSpec XmCDirSpec XmString NULL CSG
XmNautoUnmanage XmCAutoUnmanage Boolean NULL CSG
XmNfileListLabelString XmCFileListLabelString XmString NULL CSG
XmNapplyLabelString XmCApplyLabelString XmString NULL CSG
XmNdialogType XmCDialogType SelectionType NULL CSG
XmNfileListItems XmCItems XmStringTable NULL CSG
XmNfileListItemCount XmCItemCount Int -1 CSG

XmNdirectory

XmNpattern

XmNdirListLabelString

XmNdirListItems

XmNdirListItemCount

XmNfilterLabelString

XmNdirMask

XmNnoMatchString

XmNqualifySearchDataProc

XmNdirSearchProc

XmNfileSearchProc

XmNfileTypeMask

XmNlistUpdated

XmNdirectoryValid

XmNdirSpec

XmNautoUnmanage

XmNfileListLabelString

XmNapplyLabelString

XmNdialogType

XmNfileListItems

XmNfileListItemCount

Object(3) Rect(3) UnNamedObj(3) Core(3) Composite(3) Constraint(3) XmManager(3) XmBulletinBoard(3) XmSelectionBox(3) XmFileSelectionBox(3)

XmFileSelectionBox has several callback lists, all of which are inherited from the superclass XmSelectionBox : XmNokCallback, XmNcancelCallback, XmNhelpCallback, XmNfilterCallback. In all these cases, the call_data parameter passed is of type XmFileSelectionBoxCallbackStruct :
typedef struct { int reason; XEvent *event; XmString value; int length; XmString mask; int mask_length; XmString dir; int dir_length; XmString pattern; int pattern_length; } XmFileSelectionBoxCallbackStruct;

The reason field can have the values XmCR_OK, XmCR_NO_MATCH, XmCR_CANCEL, XmCR_HELP. The event field contains a pointer to the information from Xlib from the event that triggered this callback.

The other fields ...

XmFileSelectionBox also has a number of resources which allow you to specify a (usually) system dependent function that helps it in traversing the filesystem. These are not callback lists as implemented in the Intrinsics; they can call one function with specific behaviour. They are : XmNqualifySearchDataProc, XmNdirSearchProc, XmNfileSearchProc.

XmNqualifySearchDataProc is called when ...

XmNdirSearchProc is called when ...

XmNfileSearchProc is called when ...

<Xm/Xm.h>
April 1998 LessTif Project

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.