GObject.Object
Gio.MountOperation
Gtk.MountOperation
Import line: | Gtk = imports.gi.Gtk; |
GIR File: | Gtk-3.0.gir |
C documentation: | GtkMountOperation |
Class : | MountOperation |
Extends: | Gio.MountOperation |
Properties | Defined By | |
---|---|---|
anonymous : gboolean
Whether to use an anonymous user when authenticating.
Whether to use an anonymous user when authenticating.
|
Gio.MountOperation | |
choice : gint32
The index of the user's choice when a question is asked during the
mount operation. The index of the user's choice when a question is asked during the
mount operation. See the GMountOperation::ask-question signal. |
Gio.MountOperation | |
domain : String
The domain to use for the mount operation.
The domain to use for the mount operation.
|
Gio.MountOperation | |
is_showing : gboolean
read only
|
Gtk.MountOperation | |
parent : Gtk.Window
|
Gtk.MountOperation | |
parent_instance : Gio.MountOperation
read only
|
Gtk.MountOperation | |
password : String
The password that is used for authentication when carrying out
the mount operation. The password that is used for authentication when carrying out
the mount operation. |
Gio.MountOperation | |
password_save : Gio.PasswordSave
Determines if and how the password information should be saved.
Determines if and how the password information should be saved.
|
Gio.MountOperation | |
priv : Gtk.MountOperationPrivate
read only
|
Gtk.MountOperation | |
screen : Gdk.Screen
|
Gtk.MountOperation | |
username : String
The user name that is used for authentication when carrying out
the mount operation. The user name that is used for authentication when carrying out
the mount operation. |
Gio.MountOperation |
Method / Constructor | Defined By | |
---|---|---|
new Gtk.MountOperation
(Object properties)
Create a new Gtk.MountOperation
Create a new Gtk.MountOperation
|
||
Create a new Gtk.MountOperation
Create a new Gtk.MountOperation
|
||
get_anonymous
()
:
gboolean
Check to see whether the mount operation is being used
for an anonymous user.
Check to see whether the mount operation is being used
for an anonymous user.
|
Gio.MountOperation | |
get_choice
()
:
gint32
Gets a choice from the mount operation.
Gets a choice from the mount operation.
the choice's list, or %0.
|
Gio.MountOperation | |
get_domain
()
:
String
Gets the domain of the mount operation.
Gets the domain of the mount operation.
|
Gio.MountOperation | |
get_parent
()
:
Gtk.Window
Gets the transient parent used by the GtkMountOperation
Gets the transient parent used by the GtkMountOperation
|
Gtk.MountOperation | |
get_password
()
:
String
Gets a password from the mount operation.
Gets a password from the mount operation.
|
Gio.MountOperation | |
get_password_save
()
:
Gio.PasswordSave
Gets the state of saving passwords for the mount operation.
Gets the state of saving passwords for the mount operation.
|
Gio.MountOperation | |
get_screen
()
:
Gdk.Screen
Gets the screen on which windows of the GtkMountOperation
will be shown.
Gets the screen on which windows of the GtkMountOperation
will be shown.
|
Gtk.MountOperation | |
get_username
()
:
String
Get the user name from the mount operation.
Get the user name from the mount operation.
|
Gio.MountOperation | |
is_showing
()
:
gboolean
Returns whether the GtkMountOperation is currently displaying
a window.
Returns whether the GtkMountOperation is currently displaying
a window.
|
Gtk.MountOperation | |
reply
(MountOperationResult result)
:
none
Emits the GMountOperation::reply signal.
Emits the GMountOperation::reply signal.
|
Gio.MountOperation | |
set_anonymous
(gboolean anonymous)
:
none
Sets the mount operation to use an anonymous user if anonymous is TRUE.
Sets the mount operation to use an anonymous user if anonymous is TRUE.
|
Gio.MountOperation | |
set_choice
(gint32 choice)
:
none
Sets a default choice for the mount operation.
Sets a default choice for the mount operation.
|
Gio.MountOperation | |
set_domain
(String domain)
:
none
Sets the mount operation's domain.
Sets the mount operation's domain.
|
Gio.MountOperation | |
set_parent
(Window parent)
:
none
Sets the transient parent for windows shown by the
GtkMountOperation.
Sets the transient parent for windows shown by the
GtkMountOperation.
|
Gtk.MountOperation | |
set_password
(String password)
:
none
Sets the mount operation's password to password.
Sets the mount operation's password to password.
|
Gio.MountOperation | |
set_password_save
(PasswordSave save)
:
none
Sets the state of saving passwords for the mount operation.
Sets the state of saving passwords for the mount operation.
|
Gio.MountOperation | |
set_screen
(Screen screen)
:
none
Sets the screen to show windows of the GtkMountOperation on.
Sets the screen to show windows of the GtkMountOperation on.
|
Gtk.MountOperation | |
set_username
(String username)
:
none
Sets the user name within op to username.
Sets the user name within op to username.
|
Gio.MountOperation |
Event | Defined By | |
---|---|---|
aborted (MountOperation self)
:
none
Emitted by the backend when e.g.
Emitted by the backend when e.g. a device becomes unavailable
while a mount operation is in progress. Implementations of GMountOperation should handle this signal by dismissing open password dialogs.
|
Gio.MountOperation | |
ask_password (MountOperation self, String message, String default_user, String default_domain, AskPasswordFlags flags)
:
none
Emitted when a mount operation asks the user for a password.
Emitted when a mount operation asks the user for a password.
If the message contains a line break, the first line should be presented as a heading. For example, it may be used as the primary text in a GtkMessageDialog.
|
Gio.MountOperation | |
Emitted when asking the user a question and gives a list of
choices for the user to choose from.
Emitted when asking the user a question and gives a list of
choices for the user to choose from. If the message contains a line break, the first line should be presented as a heading. For example, it may be used as the primary text in a GtkMessageDialog.
|
Gio.MountOperation | |
reply (MountOperation self, MountOperationResult result)
:
none
Emitted when the user has replied to the mount operation.
Emitted when the user has replied to the mount operation.
|
Gio.MountOperation | |
Emitted when one or more processes are blocking an operation
e.g.
Emitted when one or more processes are blocking an operation
e.g. unmounting/ejecting a GMount or stopping a GDrive. Note that this signal may be emitted several times to update the list of blocking processes as processes close files. The application should only respond with g_mount_operation_reply() to the latest signal (setting GMountOperation:choice to the choice the user made). If the message contains a line break, the first line should be presented as a heading. For example, it may be used as the primary text in a GtkMessageDialog.
|
Gio.MountOperation |