panel.save_delegate
Module for [SaveDelegate] class
Types 3
Methods
SaveDelegate self()Returns `this`, for use in `with` statements.SaveDelegateGidBuilder builder()Get builder for [panel.save_delegate.SaveDelegate] Returns: New builder objectgio.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 nullstring getIconName()Gets the icon name for the save delegate. Returns: the icon name or nullbool getIsDraft()double getProgress()string getSubtitle()Gets the subtitle for the save delegate. Returns: the subtitle or nullstring getTitle()Gets the title for the save delegate. Returns: the title or nullvoid saveAsync(gio.cancellable.Cancellable cancellable = null, gio.types.AsyncReadyCallback callback = null)bool saveFinish(gio.async_result.AsyncResult result)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.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]
Methods