panel.save_delegate

Module for [SaveDelegate] class

Types 3

Methods
GType _getGType() static nothrow
GType _gType() @property nothrow
SaveDelegate self() nothrowReturns `this`, for use in `with` statements.
SaveDelegateGidBuilder builder() static nothrowGet builder for [panel.save_delegate.SaveDelegate] Returns: New builder object
gio.icon.Icon icon() @property nothrowGet `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) @property nothrowSet `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() @property nothrowGet `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) @property nothrowSet `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() @property nothrowGet `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) @property nothrowSet `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() @property nothrowGet `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) @property nothrowSet `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() @property nothrowGet `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) @property nothrowSet `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() @property nothrowGet `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) @property nothrowSet `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() nothrow
void discard() nothrow
gio.icon.Icon getIcon() nothrowGets the #GIcon for the save delegate, or null if unset. Returns: a #GIcon or null
string getIconName() nothrowGets the icon name for the save delegate. Returns: the icon name or null
bool getIsDraft() nothrow
double getProgress() nothrow
string getSubtitle() nothrowGets the subtitle for the save delegate. Returns: the subtitle or null
string getTitle() nothrowGets the title for the save delegate. Returns: the title or null
void saveAsync(gio.cancellable.Cancellable cancellable = null, gio.types.AsyncReadyCallback callback = null) nothrow
void setIcon(gio.icon.Icon icon = null) nothrowSets the #GIcon for the save delegate. Pass null to unset.
void setIconName(string icon = null) nothrowSets the icon name for the save delegate. Pass null to unset.
void setIsDraft(bool isDraft) nothrow
void setProgress(double progress) nothrow
void setSubtitle(string subtitle = null) nothrowSets the subtitle for the save delegate. Pass null to unset.
void setTitle(string title = null) nothrowSets 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) nothrowConnect 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) nothrowConnect 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) nothrowConnect to `Save` signal.
Constructors
this(void * ptr, Flag!"Take" take)
this()Create a new #PanelSaveDelegate. Returns: a newly created #PanelSaveDelegate

Fluent builder implementation template for panel.save_delegate.SaveDelegate

Methods
T icon(gio.icon.Icon propval) nothrowSet `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) nothrowSet `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) nothrowSet `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) nothrowSet `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) nothrowSet `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) nothrowSet `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...
Methods
SaveDelegate build() nothrowCreate object from builder. Returns: New object