MountOperation

This should not be accessed directly. Use the accessor functions below.

Constructors

this
this(GtkMountOperation* gtkMountOperation, bool ownedRef)

Sets our main struct and passes it to the parent class.

this
this(Window parent)

Creates a new #GtkMountOperation

Members

Functions

getGtkMountOperationStruct
GtkMountOperation* getGtkMountOperationStruct(bool transferOwnership)

Get the main Gtk struct

getParent
Window getParent()

Gets the transient parent used by the #GtkMountOperation

getScreen
Screen getScreen()

Gets the screen on which windows of the #GtkMountOperation will be shown.

getStruct
void* getStruct()

the main Gtk struct as a void*

isShowing
bool isShowing()

Returns whether the #GtkMountOperation is currently displaying a window.

setParent
void setParent(Window parent)

Sets the transient parent for windows shown by the #GtkMountOperation.

setScreen
void setScreen(Screen screen)

Sets the screen to show windows of the #GtkMountOperation on.

Static functions

getType
GType getType()
showUri
bool showUri(Screen screen, string uri, uint timestamp)

A convenience function for launching the default application to show the uri. Like gtk_show_uri_on_window(), but takes a screen as transient parent instead of a window.

Variables

gtkMountOperation
GtkMountOperation* gtkMountOperation;

the main Gtk struct

Meta