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()

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.

setStruct
void setStruct(GObject* obj)
Undocumented in source. Be warned that the author may not have intended to support it.

Static functions

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

This is a convenience function for launching the default application to show the uri. The uri must be of a form understood by GIO (i.e. you need to install gvfs to get support for uri schemes such as http:// or ftp://, as only local files are handled by GIO itself). Typical examples are - file:///home/gnome/pict.jpg - http://www.gnome.org - mailto:me@gnome.org

Variables

gtkMountOperation
GtkMountOperation* gtkMountOperation;

the main Gtk struct

Meta