Object_Id : 242 Title : Reusable X selection dialog implementation Node_Type : Production Format : File Directory or Folder Address : file:/projects/necatm/380/src/pnni Keywords : Motif Abstract : This mail reports a reusable X selection dialog implementation. Selection in X involves passing an array of pointers to strings, and a selected string is returned. This implementation cuts out various refinements, such as allowing the user to edit the selected string. To select the user can double click or click and hit OK. To cancel the user can hit Cancel or the close button. Hitting OK with no selection is ignored. There are 2 versions, xSelectStr returns the selected string, xSelectInt returns its index. The files involved are in ${PROJECT}/src/pnni/. They are as follows: The selection itself: x/xselect.[hc] X initialization: x/x.[hc] Execution tracing: util/tracing.[hc] (${PROJECT}/man/man1/tracing.1) x/Makefile compiles into ${PROJECT}/lib/libpnnix.a Date_Entry_Created : 20/11/97 Entry_Created_By : pkp Date_Entry_Last_Modified: Entry_Last_Modified_By : Asset_Qualification : useful / does the job Other_Opinions : Contact_Person : mailto:pkp@citr.com.au IP_or_Copyright_Owner : CiTR/NEC Support_re_Ownership : Date_Item_Created : 15/10/1997 Usage_Conditions : Support_re_Usage_Condns : Authors_and_Contributors: pkp, symons, horton Projects_Used_In : NC380.6 Obtained_From : Derived_From : Related_Items : Code_Type : library Programming_Language : C Portations : SunOS Source_Location : Binaries_Location : Issues_Bug_etc_List_Locn: Additional_Info :