You may return to the Cvo Object Documenation Index from this document. This document contains the following sections describing the Cvo__SaveFile object:
Cvo__SaveFile
Cvo__OpenFile
#include
<Cvo/OpenFile.h++>
void
Cvo_SaveFile ( Cvo_Object *parent,
XEvent *event,
Cvo_SaveFileInfo *info )
This object operates identically to its parent object,
Cvo__OpenFile. The overview for that object applies to the
Cvo__SaveFile object as well. Simply use the Cvo_SaveFile()
function in place of the Cvo_OpenFile()
function to create the
Cvo__SaveFile object. Also refer to the Cvo_SaveFileInfo object,
which serves a function identical to that of the Cvo_OpenFileInfo
object in relation to the Cvo__OpenFile object.
This object defines the following Cvo Events in addition to those defined by its parent and ancestor objects.
CvoSaveFileEvent
struct
Cvo_SaveFileEvent
char *filename,
void *data
This Cvo event is sent when a filename selection is made, or when the
Cvo__SaveFile object is closed. If a selection has been made, then
the filename element will point to the selected filename.
Otherwise, it will be a NULL
value. The data element is the
value set by the SetData()
function of Cvo_SaveFileInfo.
This object is composed of the following Cvo objects. Each object has the shown resource name. This link displays the composition of the parent object.
Cvo_Frame
:
*CvoSaveFile.title_frame
Cvo_Pin
:
*CvoSaveFile.title_frame.pin
Cvo_Label
:
*CvoSaveFile.title_frame.filter_label
Cvo_Label
:
*CvoSaveFile.dirfile_label
Cvo_Input
:
*CvoSaveFile.file
Cvo_Frame
:
*CvoSaveFile.lists
Cvo_Frame
:
*CvoSaveFile.lists.dirframe
Cvo_Label
:
*CvoSaveFile.lists.dirframe.dir_label
Cvo_List
:
*CvoSaveFile.lists.dirframe.directories
Cvo_Frame
:
*CvoSaveFile.lists.fileframe
Cvo_Label
:
*CvoSaveFile.lists.fileframe.file_label
Cvo_List
:
*CvoSaveFile.lists.fileframe.files
Cvo_Frame
:
*CvoSaveFile.buttons
Cvo_Button
:
*CvoSaveFile.buttons.save
Cvo_Button
:
*CvoSaveFile.buttons.dismiss
This object uses the following X resources in addition to those used by its parent and ancestor objects.
*CvoSaveFile.title
(class:
Title
) (default value:
Save
)
This resource is used to set the title of the Cvo__SaveFile object's
window. The value of the resource will be passed to the
ExpandName()
member function of the Cvo_Object object for
expansion of macros. See that function for available macros.
See the example source code for an example of how to use this object.
See the legend for information about the conventions used in this documentation.