panel.save_delegate
Module for [SaveDelegate] class
Types 3
Methods
SaveDelegateGidBuilder builder() static nothrowGet builder for [panel.save_delegate.SaveDelegate] Returns: New builder objectgio.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() nothrowvoid discard() nothrowgio.icon.Icon getIcon() nothrowGets the #GIcon for the save delegate, or null if unset. Returns: a #GIcon or nullstring getIconName() nothrowGets the icon name for the save delegate. Returns: the icon name or nullbool getIsDraft() nothrowdouble getProgress() nothrowvoid saveAsync(gio.cancellable.Cancellable cancellable = null, gio.types.AsyncReadyCallback callback = null) nothrowbool saveFinish(gio.async_result.AsyncResult result)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) nothrowvoid setProgress(double progress) nothrowvoid setSubtitle(string subtitle = null) nothrowSets the subtitle 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.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...Fluent builder for panel.save_delegate.SaveDelegate
Methods