panel.save_delegate

Module for [SaveDelegate] class

Types 3

Methods
GType _gType() @property
SaveDelegate self()Returns `this`, for use in `with` statements.
SaveDelegateGidBuilder builder()Get builder for [panel.save_delegate.SaveDelegate] Returns: New builder object
gio.icon.Icon icon() @propertyGet `icon` property. Returns: The "icon" property contains a #GIcon that describes the save operation. Generally, this should be the symbolic icon of the document class you are saving.
void icon(gio.icon.Icon propval) @propertySet `icon` property. Params: propval = The "icon" property contains a #GIcon that describes the save operation. Generally, this should be the symbolic icon of the document class you are saving.
string iconName() @propertyGet `iconName` property. Returns: 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.
void iconName(string propval) @propertySet `iconName` property. Params: propval = 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.
bool isDraft() @propertyGet `isDraft` property. Returns: The "is-draft" property indicates that the document represented by the delegate is a draft and might be lost of not saved.
void isDraft(bool propval) @propertySet `isDraft` property. Params: propval = The "is-draft" property indicates that the document represented by the delegate is a draft and might be lost of not saved.
double progress() @propertyGet `progress` property. Returns: The "progress" property contains progress between 0.0 and 1.0 and should be updated by the delegate implementation as saving progresses.
void progress(double propval) @propertySet `progress` property. Params: propval = The "progress" property contains progress between 0.0 and 1.0 and should be updated by the delegate implementation as saving progresses.
string subtitle() @propertyGet `subtitle` property. Returns: The "subtitle" property contains additional information that may not make sense to put in the title. This might include the directory that the file will be saved w...
void subtitle(string propval) @propertySet `subtitle` property. Params: propval = The "subtitle" property contains additional information that may not make sense to put in the title. This might include the directory that the file will b...
string title() @propertyGet `title` property. Returns: The "title" property contains the title of the document being saved. Generally, this should be the base name of the document such as `file.txt`.
void title(string propval) @propertySet `title` property. Params: propval = The "title" property contains the title of the document being saved. Generally, this should be the base name of the document such as `file.txt`.
void close()
void discard()
gio.icon.Icon getIcon()Gets the #GIcon for the save delegate, or null if unset. Returns: a #GIcon or null
string getIconName()Gets the icon name for the save delegate. Returns: the icon name or null
bool getIsDraft()
double getProgress()
string getSubtitle()Gets the subtitle for the save delegate. Returns: the subtitle or null
string getTitle()Gets the title for the save delegate. Returns: the title or null
void saveAsync(gio.cancellable.Cancellable cancellable = null, gio.types.AsyncReadyCallback callback = null)
void setIcon(gio.icon.Icon icon = null)Sets the #GIcon for the save delegate. Pass null to unset.
void setIconName(string icon = null)Sets the icon name for the save delegate. Pass null to unset.
void setIsDraft(bool isDraft)
void setProgress(double progress)
void setSubtitle(string subtitle = null)Sets the subtitle for the save delegate. Pass null to unset.
void setTitle(string title = null)Sets the title for the save delegate. Pass null to unset.
gulong connectClose(T)(T callback, Flag!"After" after = No.After) if (isCallable!T && is(ReturnType!T == void) && (Parameters!T.length < 1 || (ParameterStorageClassTuple!T[0] == ParameterStorageClass.none && is(Parameters!T[0] : panel.save_delegate.SaveDelegate))) && Parameters!T.length < 2)Connect to `Close` signal.
gulong connectDiscard(T)(T callback, Flag!"After" after = No.After) if (isCallable!T && is(ReturnType!T == void) && (Parameters!T.length < 1 || (ParameterStorageClassTuple!T[0] == ParameterStorageClass.none && is(Parameters!T[0] : panel.save_delegate.SaveDelegate))) && Parameters!T.length < 2)Connect to `Discard` signal.
gulong connectSave(T)(T callback, Flag!"After" after = No.After) if (isCallable!T && is(ReturnType!T == bool) && (Parameters!T.length < 1 || (ParameterStorageClassTuple!T[0] == ParameterStorageClass.none && is(Parameters!T[0] : gio.task.Task))) && (Parameters!T.length < 2 || (ParameterStorageClassTuple!T[1] == ParameterStorageClass.none && is(Parameters!T[1] : panel.save_delegate.SaveDelegate))) && Parameters!T.length < 3)Connect to `Save` signal.
Constructors
this(void * ptr, Flag!"Take" take)
this()Create a new #PanelSaveDelegate. Returns: a newly created #PanelSaveDelegate
Methods
T icon(gio.icon.Icon propval)Set `icon` property. Params: propval = The "icon" property contains a #GIcon that describes the save operation. Generally, this should be the symbolic icon of the document class you are saving.
T iconName(string propval)Set `iconName` property. Params: propval = 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.
T isDraft(bool propval)Set `isDraft` property. Params: propval = The "is-draft" property indicates that the document represented by the delegate is a draft and might be lost of not saved. Returns: Builder instance for fl...
T progress(double propval)Set `progress` property. Params: propval = The "progress" property contains progress between 0.0 and 1.0 and should be updated by the delegate implementation as saving progresses. Returns: Builder ...
T subtitle(string propval)Set `subtitle` property. Params: propval = The "subtitle" property contains additional information that may not make sense to put in the title. This might include the directory that the file will b...
T title(string propval)Set `title` property. Params: propval = The "title" property contains the title of the document being saved. Generally, this should be the base name of the document such as `file.txt`. Returns: Bui...

Fluent builder for [panel.save_delegate.SaveDelegate]