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 gtk.MountOperation

Members

Functions

getGtkMountOperationStruct
GtkMountOperation* getGtkMountOperationStruct(bool transferOwnership)

Get the main Gtk struct

getParent
Window getParent()

Gets the transient parent used by the gtk.MountOperation

getScreen
Screen getScreen()

Gets the screen on which windows of the gtk.MountOperation will be shown.

getStruct
void* getStruct()

the main Gtk struct as a void*

isShowing
bool isShowing()

Returns whether the gtk.MountOperation is currently displaying a window.

setParent
void setParent(Window parent)

Sets the transient parent for windows shown by the gtk.MountOperation

setScreen
void setScreen(Screen screen)

Sets the screen to show windows of the gtk.MountOperation 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