SaveDelegate
Object Hierarchy:
Description:
[
CCode ( type_id =
"panel_save_delegate_get_type ()" ) ]
public class SaveDelegate :
Object
Content:
Properties:
- public Icon icon { get; set; }
The "icon" property contains a
Icon that describes the save operation.
- public string icon_name { get; set; }
The "icon-name" property contains the name of an icon to use when
showing information about the save operation in UI such as a save dialog.
- public bool is_draft { get; set; }
The "is-draft" property indicates that the document represented by the
delegate is a draft and might be lost of not saved.
- public double progress { get; set; }
The "progress" property contains progress between 0.0 and 1.0 and
should be updated by the delegate implementation as saving progresses.
- public string subtitle { get; set; }
The "subtitle" property contains additional information that may not
make sense to put in the title.
- public string title { get; set; }
The "title" property contains the title of the document being saved.
Creation methods:
Methods:
Signals:
- public virtual signal void close ()
This signal is emitted when the save delegate should close the widget
it is related to.
- public virtual signal void discard ()
This signal is emitted when the user has requested that the delegate
discard the changes instead of saving them.
- public virtual signal bool save (Task task)
This signal can be used when subclassing
SaveDelegate is not possible or cumbersome.
Inherited Members:
All known members inherited from class GLib.Object