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
DtSessionSavePath(library call) DtSessionSavePath(library call)

DtSessionSavePath — get a pathname for saving application state information

#include &<Dt/Session.h>
Boolean DtSessionSavePath(
Widget widget,
char **savePath,
char **saveFile);

The DtSessionSavePath function returns the pathname to be used by an application for saving its state information. The information is later used by the application to restore its state.

The widget argument is the application's top level widget. The savePath argument is the address of the character string to receive the pathname of the state information file to be used by the application for storing its state. The saveFile argument is the address of the character string to receive the filename of the file to be used by the application for storing its state.

Upon successful completion, the DtSessionSavePath function returns True; otherwise, it returns False.

The application should add -session saveFile when it updates its WM_COMMAND property.

The application must use XtFree(3) to free data returned in *savePath and *saveFile.

Dt/Session.h - DtSession(5), DtSessionRestorePath(3); XtFree(3).


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

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