GObject.Object
Gio.Cancellable
Import line: | Gio = imports.gi.Gio; |
GIR File: | Gio-2.0.gir |
C documentation: | GCancellable |
Class : | Cancellable |
Extends: | GObject.Object |
Properties | Defined By | |
---|---|---|
parent_instance : GObject.Object
read only
|
Gio.Cancellable | |
priv : Gio.CancellablePrivate
read only
|
Gio.Cancellable |
Method / Constructor | Defined By | |
---|---|---|
new Gio.Cancellable
(Object properties)
Create a new Gio.Cancellable
Create a new Gio.Cancellable
|
||
Gio.Cancellable.get_current
()
:
Gio.Cancellable
Gets the top cancellable from the stack.
Gets the top cancellable from the stack.
if the stack is empty.
|
Gio.Cancellable | |
cancel
()
:
none
Will set cancellable to cancelled, and will emit the
GCancellable::cancelled signal.
Will set cancellable to cancelled, and will emit the
GCancellable::cancelled signal. (However, see the warning about race conditions in the documentation for that signal if you are planning to connect to it.) This function is thread-safe. In other words, you can safely call it from a thread other than the one running the operation that was passed the cancellable. The convention within gio is that cancelling an asynchronous operation causes it to complete asynchronously. That is, if you cancel the operation from the same thread in which it is running, then the operation's GAsyncReadyCallback will not be invoked until the application returns to the main loop.
|
Gio.Cancellable | |
Convenience function to connect to the GCancellable::cancelled
signal.
Convenience function to connect to the GCancellable::cancelled
signal. Also handles the race condition that may happen if the cancellable is cancelled right before connecting. time of the connect if cancellable is already cancelled, or when cancellable is cancelled in some thread. disconnected, or immediately if the cancellable is already cancelled. See GCancellable::cancelled for details on how to use this. been cancelled.
|
Gio.Cancellable | |
disconnect
(guint32 handler_id)
:
none
Disconnects a handler from a cancellable instance similar to
g_signal_handler_disconnect().
Disconnects a handler from a cancellable instance similar to
g_signal_handler_disconnect(). Additionally, in the event that a signal handler is currently running, this call will block until the handler has finished. Calling this function from a GCancellable::cancelled signal handler will therefore result in a deadlock. This avoids a race condition where a thread cancels at the same time as the cancellable operation is finished and the signal handler is removed. See GCancellable::cancelled for details on how to use this. If cancellable is NULL or handler_id is %0 this function does nothing.
|
Gio.Cancellable | |
get_fd
()
:
gint32
Gets the file descriptor for a cancellable job.
Gets the file descriptor for a cancellable job. This can be used to
implement cancellable operations on Unix systems. The returned fd will turn readable when cancellable is cancelled. You are not supposed to read from the fd yourself, just check for readable status. Reading to unset the readable status is done with g_cancellable_reset(). After a successful return from this function, you should use g_cancellable_release_fd() to free up resources allocated for the returned file descriptor. See also g_cancellable_make_pollfd(). is not supported, or on errors.
|
Gio.Cancellable | |
is_cancelled
()
:
gboolean
Checks if a cancellable job has been cancelled.
Checks if a cancellable job has been cancelled.
FALSE if called with NULL or if item is not cancelled.
|
Gio.Cancellable | |
Creates a GPollFD corresponding to cancellable; this can be passed
to g_poll() and used to poll for cancellation.
Creates a GPollFD corresponding to cancellable; this can be passed
to g_poll() and used to poll for cancellation. This is useful both for unix systems without a native poll and for portability to windows. When this function returns TRUE, you should use g_cancellable_release_fd() to free up resources allocated for the If this function returns FALSE, either no cancellable was given or resource limits prevent this function from allocating the necessary structures for polling. (On Linux, you will likely have reached the maximum number of file descriptors.) The suggested way to handle these cases is to ignore the cancellable. You are not supposed to read from the fd yourself, just check for readable status. Reading to unset the readable status is done with g_cancellable_reset(). failure to prepare the cancellable.
|
Gio.Cancellable | |
pop_current
()
:
none
Pops cancellable off the cancellable stack (verifying that cancellable
is on the top of the stack).
Pops cancellable off the cancellable stack (verifying that cancellable
is on the top of the stack).
|
Gio.Cancellable | |
push_current
()
:
none
Pushes cancellable onto the cancellable stack.
Pushes cancellable onto the cancellable stack. The current
cancellable can then be recieved using g_cancellable_get_current(). This is useful when implementing cancellable operations in code that does not allow you to pass down the cancellable object. This is typically called automatically by e.g. GFile operations, so you rarely have to call this yourself.
|
Gio.Cancellable | |
release_fd
()
:
none
Releases a resources previously allocated by g_cancellable_get_fd()
or g_cancellable_make_pollfd().
Releases a resources previously allocated by g_cancellable_get_fd()
or g_cancellable_make_pollfd(). For compatibility reasons with older releases, calling this function is not strictly required, the resources will be automatically freed when the cancellable is finalized. However, the cancellable will block scarce file descriptors until it is finalized if this function is not called. This can cause the application to run out of file descriptors when many GCancellables are used at the same time.
|
Gio.Cancellable | |
reset
()
:
none
Resets cancellable to its uncancelled state.
Resets cancellable to its uncancelled state.
|
Gio.Cancellable | |
set_error_if_cancelled
()
:
gboolean
If the cancellable is cancelled, sets the error to notify
that the operation was cancelled.
If the cancellable is cancelled, sets the error to notify
that the operation was cancelled.
|
Gio.Cancellable |
Event | Defined By | |
---|---|---|
cancelled (Cancellable self)
:
none
Emitted when the operation has been cancelled.
Emitted when the operation has been cancelled.
Can be used by implementations of cancellable operations. If the operation is cancelled from another thread, the signal will be emitted in the thread that cancelled the operation, not the thread that is running the operation. Note that disconnecting from this signal (or any signal) in a multi-threaded program is prone to race conditions. For instance it is possible that a signal handler may be invoked even g_signal_handler_disconnect() for that handler has already returned. There is also a problem when cancellation happen right before connecting to the signal. If this happens the signal will unexpectedly not be emitted, and checking before connecting to the signal leaves a race condition where this is still happening. In order to make it safe and easy to connect handlers there g_cancellable_disconnect() which protect against problems like this. An example of how to us this: |[ /* Make sure we don't do any unnecessary work if already cancelled */ if (g_cancellable_set_error_if_cancelled (cancellable)) return; /* Set up all the data needed to be able to * handle cancellation of the operation */ my_data = my_data_new (...); id = 0; if (cancellable) id = g_cancellable_connect (cancellable, G_CALLBACK (cancelled_handler) data, NULL); /* cancellable operation here... */ g_cancellable_disconnect (cancellable, id); /* cancelled_handler is never called after this, it * is now safe to free the data */ my_data_free (my_data); ]| Note that the cancelled signal is emitted in the thread that the user cancelled from, which may be the main thread. So, the cancellable signal should not do something that can block.
|
Gio.Cancellable |
Class / Namespace | Method / Signal / Properties |
---|---|
GdkPixbuf.Pixbuf
Method |
Create a new GdkPixbuf.Pixbuf
|
GdkPixbuf.Pixbuf
Method |
new GdkPixbuf.Pixbuf.from_stream_at_scale
(InputStream stream, gint32 width, gint32 height, gboolean preserve_aspect_ratio, Cancellable cancellable)
:
GdkPixbuf.Pixbuf
Create a new GdkPixbuf.Pixbuf
|
GdkPixbuf.Pixbuf
Method |
GdkPixbuf.Pixbuf.new_from_stream_async
(InputStream stream, Cancellable cancellable, Function callback, void* user_data)
:
none
Creates a new pixbuf by asynchronously loading an image from an input stream.
|
GdkPixbuf.Pixbuf
Method |
GdkPixbuf.Pixbuf.new_from_stream_at_scale_async
(InputStream stream, gint32 width, gint32 height, gboolean preserve_aspect_ratio, Cancellable cancellable, Function callback, void* user_data)
:
none
Creates a new pixbuf by asynchronously loading an image from an input stream.
|
Gio
Method |
Gio.async_initable_newv_async
(Number object_type, guint32 n_parameters, Parameter parameters, gint32 io_priority, Cancellable cancellable, Function callback, void* user_data)
:
none
Helper function for constructing GAsyncInitiable object.
|
Gio
Method |
Asynchronously connects to the message bus specified by bus_type.
|
Gio
Method |
Synchronously connects to the message bus specified by bus_type.
|
Gio
Method |
Synchronously looks up the D-Bus address for the well-known message
bus instance specified by bus_type. |
Gio
Method |
Gio.dbus_address_get_stream
(String address, Cancellable cancellable, Function callback, void* user_data)
:
none
Asynchronously connects to an endpoint specified by address and
sets up the connection so it is in a state to run the client-side of the D-Bus authentication conversation. |
Gio
Method |
Gio.dbus_address_get_stream_sync
(String address, String out_guid, Cancellable cancellable)
:
Gio.IOStream
Synchronously connects to an endpoint specified by address and
sets up the connection so it is in a state to run the client-side of the D-Bus authentication conversation. |
Gio
Method |
Gio.initable_newv
(Number object_type, guint32 n_parameters, Parameter parameters, Cancellable cancellable)
:
void*
Helper function for constructing GInitiable object.
|
Gio
Method |
Gio.io_scheduler_push_job
(Function job_func, void* user_data, Function notify, gint32 io_priority, Cancellable cancellable)
:
none
Schedules the I/O job to run.
|
Gio.Application
Method |
register
(Cancellable cancellable)
:
gboolean
Attempts registration of the application.
|
Gio.AsyncInitable
Method |
Starts asynchronous initialization of the object implementing the
interface. |
Gio.BufferedInputStream
Method |
Tries to read count bytes from the stream into the buffer.
|
Gio.BufferedInputStream
Method |
fill_async
(gint32 count, gint32 io_priority, Cancellable cancellable, Function callback, void* user_data)
:
none
Reads data into stream's buffer asynchronously, up to count size.
|
Gio.BufferedInputStream
Method |
read_byte
(Cancellable cancellable)
:
gint32
Tries to read a single byte from the stream or the buffer.
|
Gio.DBusConnection
Method |
new Gio.DBusConnection.for_address_sync
(String address, DBusConnectionFlags flags, DBusAuthObserver observer, Cancellable cancellable)
:
Gio.DBusConnection
Create a new Gio.DBusConnection
|
Gio.DBusConnection
Method |
new Gio.DBusConnection.sync
(IOStream stream, String guid, DBusConnectionFlags flags, DBusAuthObserver observer, Cancellable cancellable)
:
Gio.DBusConnection
Create a new Gio.DBusConnection
|
Gio.DBusConnection
Method |
Gio.DBusConnection.c_new
(IOStream stream, String guid, DBusConnectionFlags flags, DBusAuthObserver observer, Cancellable cancellable, Function callback, void* user_data)
:
none
Asynchronously sets up a D-Bus connection for exchanging D-Bus messages
with the end represented by stream. |
Gio.DBusConnection
Method |
Gio.DBusConnection.new_for_address
(String address, DBusConnectionFlags flags, DBusAuthObserver observer, Cancellable cancellable, Function callback, void* user_data)
:
none
Asynchronously connects and sets up a D-Bus client connection for
exchanging D-Bus messages with an endpoint specified by address which must be in the D-Bus address format. |
Gio.DBusConnection
Method |
call
(String bus_name, String object_path, String interface_name, String method_name, Variant parameters, VariantType reply_type, DBusCallFlags flags, gint32 timeout_msec, Cancellable cancellable, Function callback, void* user_data)
:
none
Asynchronously invokes the method_name method on the
If connection is closed then the operation will fail with G_IO_ERROR_CLOSED. |
Gio.DBusConnection
Method |
call_sync
(String bus_name, String object_path, String interface_name, String method_name, Variant parameters, VariantType reply_type, DBusCallFlags flags, gint32 timeout_msec, Cancellable cancellable)
:
GLib.Variant
Synchronously invokes the method_name method on the
If connection is closed then the operation will fail with G_IO_ERROR_CLOSED. |
Gio.DBusConnection
Method |
Closes connection.
|
Gio.DBusConnection
Method |
close_sync
(Cancellable cancellable)
:
gboolean
Synchronously closees connection.
|
Gio.DBusConnection
Method |
Asynchronously flushes connection, that is, writes all queued
outgoing message to the transport and then flushes the transport (using g_output_stream_flush_async()). |
Gio.DBusConnection
Method |
flush_sync
(Cancellable cancellable)
:
gboolean
Synchronously flushes connection.
|
Gio.DBusConnection
Method |
send_message_with_reply
(DBusMessage message, DBusSendMessageFlags flags, gint32 timeout_msec, guint32 out_serial, Cancellable cancellable, Function callback, void* user_data)
:
none
Asynchronously sends message to the peer represented by connection.
|
Gio.DBusConnection
Method |
send_message_with_reply_sync
(DBusMessage message, DBusSendMessageFlags flags, gint32 timeout_msec, guint32 out_serial, Cancellable cancellable)
:
Gio.DBusMessage
Synchronously sends message to the peer represented by connection
and blocks the calling thread until a reply is received or the timeout is reached. |
Gio.DBusProxy
Method |
new Gio.DBusProxy.for_bus_sync
(BusType bus_type, DBusProxyFlags flags, DBusInterfaceInfo info, String name, String object_path, String interface_name, Cancellable cancellable)
:
Gio.DBusProxy
Create a new Gio.DBusProxy
|
Gio.DBusProxy
Method |
new Gio.DBusProxy.sync
(DBusConnection connection, DBusProxyFlags flags, DBusInterfaceInfo info, String name, String object_path, String interface_name, Cancellable cancellable)
:
Gio.DBusProxy
Create a new Gio.DBusProxy
|
Gio.DBusProxy
Method |
Gio.DBusProxy.c_new
(DBusConnection connection, DBusProxyFlags flags, DBusInterfaceInfo info, String name, String object_path, String interface_name, Cancellable cancellable, Function callback, void* user_data)
:
none
Creates a proxy for accessing interface_name on the remote object
at object_path owned by name at connection and asynchronously loads D-Bus properties unless the G_DBUS_PROXY_FLAGS_DO_NOT_LOAD_PROPERTIES flag is used. |
Gio.DBusProxy
Method |
Gio.DBusProxy.new_for_bus
(BusType bus_type, DBusProxyFlags flags, DBusInterfaceInfo info, String name, String object_path, String interface_name, Cancellable cancellable, Function callback, void* user_data)
:
none
Like g_dbus_proxy_new() but takes a GBusType instead of a GDBusConnection.
|
Gio.DBusProxy
Method |
call
(String method_name, Variant parameters, DBusCallFlags flags, gint32 timeout_msec, Cancellable cancellable, Function callback, void* user_data)
:
none
Asynchronously invokes the method_name method on proxy.
|
Gio.DBusProxy
Method |
call_sync
(String method_name, Variant parameters, DBusCallFlags flags, gint32 timeout_msec, Cancellable cancellable)
:
GLib.Variant
Synchronously invokes the method_name method on proxy.
|
Gio.DBusServer
Method |
new Gio.DBusServer.sync
(String address, DBusServerFlags flags, String guid, DBusAuthObserver observer, Cancellable cancellable)
:
Gio.DBusServer
Create a new Gio.DBusServer
|
Gio.DataInputStream
Method |
read_byte
(Cancellable cancellable)
:
guint8
Reads an unsigned 8-bit/1-byte value from stream.
|
Gio.DataInputStream
Method |
read_int16
(Cancellable cancellable)
:
gint16
Reads a 16-bit/2-byte value from stream.
|
Gio.DataInputStream
Method |
read_int32
(Cancellable cancellable)
:
gint32
Reads a signed 32-bit/4-byte value from stream.
|
Gio.DataInputStream
Method |
read_int64
(Cancellable cancellable)
:
gint64
Reads a 64-bit/8-byte value from stream.
|
Gio.DataInputStream
Method |
Reads a line from the data input stream.
|
Gio.DataInputStream
Method |
read_line_async
(gint32 io_priority, Cancellable cancellable, Function callback, void* user_data)
:
none
The asynchronous version of g_data_input_stream_read_line().
|
Gio.DataInputStream
Method |
read_uint16
(Cancellable cancellable)
:
guint16
Reads an unsigned 16-bit/2-byte value from stream.
|
Gio.DataInputStream
Method |
read_uint32
(Cancellable cancellable)
:
guint32
Reads an unsigned 32-bit/4-byte value from stream.
|
Gio.DataInputStream
Method |
read_uint64
(Cancellable cancellable)
:
guint64
Reads an unsigned 64-bit/8-byte value from stream.
|
Gio.DataInputStream
Method |
Reads a string from the data input stream, up to the first
occurrence of any of the stop characters. |
Gio.DataInputStream
Method |
read_until_async
(String stop_chars, gint32 io_priority, Cancellable cancellable, Function callback, void* user_data)
:
none
The asynchronous version of g_data_input_stream_read_until().
|
Gio.DataInputStream
Method |
read_upto
(String stop_chars, gint32 stop_chars_len, Object out_values, Cancellable cancellable)
:
String
Reads a string from the data input stream, up to the first
occurrence of any of the stop characters. |
Gio.DataInputStream
Method |
read_upto_async
(String stop_chars, gint32 stop_chars_len, gint32 io_priority, Cancellable cancellable, Function callback, void* user_data)
:
none
The asynchronous version of g_data_input_stream_read_upto().
|
Gio.DataOutputStream
Method |
Puts a byte into the output stream.
|
Gio.DataOutputStream
Method |
Puts a signed 16-bit integer into the output stream.
|
Gio.DataOutputStream
Method |
Puts a signed 32-bit integer into the output stream.
|
Gio.DataOutputStream
Method |
Puts a signed 64-bit integer into the stream.
|
Gio.DataOutputStream
Method |
Puts a string into the output stream.
|
Gio.DataOutputStream
Method |
Puts an unsigned 16-bit integer into the output stream.
|
Gio.DataOutputStream
Method |
Puts an unsigned 32-bit integer into the stream.
|
Gio.DataOutputStream
Method |
Puts an unsigned 64-bit integer into the stream.
|
Gio.Drive
Method |
Asynchronously ejects a drive.
|
Gio.Drive
Method |
eject_with_operation
(MountUnmountFlags flags, MountOperation mount_operation, Cancellable cancellable, Function callback, void* user_data)
:
none
Ejects a drive.
|
Gio.Drive
Method |
Asynchronously polls drive to see if media has been inserted or removed.
|
Gio.Drive
Method |
start
(DriveStartFlags flags, MountOperation mount_operation, Cancellable cancellable, Function callback, void* user_data)
:
none
Asynchronously starts a drive.
|
Gio.Drive
Method |
stop
(MountUnmountFlags flags, MountOperation mount_operation, Cancellable cancellable, Function callback, void* user_data)
:
none
Asynchronously stops a drive.
|
Gio.File
Method |
Gets an output stream for appending data to the file.
|
Gio.File
Method |
append_to_async
(FileCreateFlags flags, gint32 io_priority, Cancellable cancellable, Function callback, void* user_data)
:
none
Asynchronously opens file for appending.
|
Gio.File
Method |
copy
(File destination, FileCopyFlags flags, Cancellable cancellable, Function progress_callback, void* progress_callback_data)
:
gboolean
Copies the file source to the location specified by destination.
|
Gio.File
Method |
Copies the file attributes from source to destination.
|
Gio.File
Method |
Creates a new file and returns an output stream for writing to it.
|
Gio.File
Method |
create_async
(FileCreateFlags flags, gint32 io_priority, Cancellable cancellable, Function callback, void* user_data)
:
none
Asynchronously creates a new file and returns an output stream for writing to it.
|
Gio.File
Method |
Creates a new file and returns a stream for reading and writing to it.
|
Gio.File
Method |
create_readwrite_async
(FileCreateFlags flags, gint32 io_priority, Cancellable cancellable, Function callback, void* user_data)
:
none
Asynchronously creates a new file and returns a stream for reading and
writing to it. |
Gio.File
Method |
delete
(Cancellable cancellable)
:
gboolean
Deletes a file.
|
Gio.File
Method |
eject_mountable
(MountUnmountFlags flags, Cancellable cancellable, Function callback, void* user_data)
:
none
Starts an asynchronous eject on a mountable.
|
Gio.File
Method |
eject_mountable_with_operation
(MountUnmountFlags flags, MountOperation mount_operation, Cancellable cancellable, Function callback, void* user_data)
:
none
Starts an asynchronous eject on a mountable.
|
Gio.File
Method |
enumerate_children
(String attributes, FileQueryInfoFlags flags, Cancellable cancellable)
:
Gio.FileEnumerator
Gets the requested information about the files in a directory.
|
Gio.File
Method |
enumerate_children_async
(String attributes, FileQueryInfoFlags flags, gint32 io_priority, Cancellable cancellable, Function callback, void* user_data)
:
none
Asynchronously gets the requested information about the files in a directory.
|
Gio.File
Method |
find_enclosing_mount
(Cancellable cancellable)
:
Gio.Mount
Gets a GMount for the GFile.
|
Gio.File
Method |
find_enclosing_mount_async
(gint32 io_priority, Cancellable cancellable, Function callback, void* user_data)
:
none
Asynchronously gets the mount for the file.
|
Gio.File
Method |
Loads the content of the file into memory.
|
Gio.File
Method |
Starts an asynchronous load of the file's contents.
|
Gio.File
Method |
make_directory
(Cancellable cancellable)
:
gboolean
Creates a directory.
|
Gio.File
Method |
make_directory_with_parents
(Cancellable cancellable)
:
gboolean
Creates a directory and any parent directories that may not exist similar to
'mkdir -p'. |
Gio.File
Method |
Creates a symbolic link named file which contains the string
If cancellable is not NULL, then the operation can be cancelled by triggering the cancellable object from another thread. |
Gio.File
Method |
Obtains a file or directory monitor for the given file, depending
on the type of the file. |
Gio.File
Method |
Obtains a directory monitor for the given file.
|
Gio.File
Method |
Obtains a file monitor for the given file.
|
Gio.File
Method |
mount_enclosing_volume
(MountMountFlags flags, MountOperation mount_operation, Cancellable cancellable, Function callback, void* user_data)
:
none
Starts a mount_operation, mounting the volume that contains the file location.
|
Gio.File
Method |
mount_mountable
(MountMountFlags flags, MountOperation mount_operation, Cancellable cancellable, Function callback, void* user_data)
:
none
Mounts a file of type G_FILE_TYPE_MOUNTABLE.
|
Gio.File
Method |
move
(File destination, FileCopyFlags flags, Cancellable cancellable, Function progress_callback, void* progress_callback_data)
:
gboolean
Tries to move the file or directory source to the location specified by destination.
|
Gio.File
Method |
open_readwrite
(Cancellable cancellable)
:
Gio.FileIOStream
Opens an existing file for reading and writing.
|
Gio.File
Method |
open_readwrite_async
(gint32 io_priority, Cancellable cancellable, Function callback, void* user_data)
:
none
Asynchronously opens file for reading and writing.
|
Gio.File
Method |
Polls a file of type G_FILE_TYPE_MOUNTABLE.
|
Gio.File
Method |
query_default_handler
(Cancellable cancellable)
:
Gio.AppInfo
Returns the GAppInfo that is registered as the default
application to handle the file specified by file. |
Gio.File
Method |
query_exists
(Cancellable cancellable)
:
gboolean
Utility function to check if a particular file exists.
|
Gio.File
Method |
Utility function to inspect the GFileType of a file.
|
Gio.File
Method |
Similar to g_file_query_info(), but obtains information
about the filesystem the file is on, rather than the file itself. |
Gio.File
Method |
query_filesystem_info_async
(String attributes, gint32 io_priority, Cancellable cancellable, Function callback, void* user_data)
:
none
Asynchronously gets the requested information about the filesystem
that the specified file is on. |
Gio.File
Method |
Gets the requested information about specified file.
|
Gio.File
Method |
query_info_async
(String attributes, FileQueryInfoFlags flags, gint32 io_priority, Cancellable cancellable, Function callback, void* user_data)
:
none
Asynchronously gets the requested information about specified file.
|
Gio.File
Method |
query_settable_attributes
(Cancellable cancellable)
:
Gio.FileAttributeInfoList
Obtain the list of settable attributes for the file.
|
Gio.File
Method |
query_writable_namespaces
(Cancellable cancellable)
:
Gio.FileAttributeInfoList
Obtain the list of attribute namespaces where new attributes
can be created by a user. |
Gio.File
Method |
read
(Cancellable cancellable)
:
Gio.FileInputStream
Opens a file for reading.
|
Gio.File
Method |
Asynchronously opens file for reading.
|
Gio.File
Method |
replace
(String etag, gboolean make_backup, FileCreateFlags flags, Cancellable cancellable)
:
Gio.FileOutputStream
Returns an output stream for overwriting the file, possibly
creating a backup copy of the file first. |
Gio.File
Method |
replace_async
(String etag, gboolean make_backup, FileCreateFlags flags, gint32 io_priority, Cancellable cancellable, Function callback, void* user_data)
:
none
Asynchronously overwrites the file, replacing the contents, possibly
creating a backup copy of the file first. |
Gio.File
Method |
replace_contents
(String contents, guint32 length, String etag, gboolean make_backup, FileCreateFlags flags, Object out_values, Cancellable cancellable)
:
gboolean
Replaces the contents of file with contents of length bytes.
|
Gio.File
Method |
replace_contents_async
(String contents, guint32 length, String etag, gboolean make_backup, FileCreateFlags flags, Cancellable cancellable, Function callback, void* user_data)
:
none
Starts an asynchronous replacement of file with the given
current entity tag. |
Gio.File
Method |
replace_readwrite
(String etag, gboolean make_backup, FileCreateFlags flags, Cancellable cancellable)
:
Gio.FileIOStream
Returns an output stream for overwriting the file in readwrite mode,
possibly creating a backup copy of the file first. |
Gio.File
Method |
replace_readwrite_async
(String etag, gboolean make_backup, FileCreateFlags flags, gint32 io_priority, Cancellable cancellable, Function callback, void* user_data)
:
none
Asynchronously overwrites the file in read-write mode, replacing the
contents, possibly creating a backup copy of the file first. |
Gio.File
Method |
set_attribute
(String attribute, FileAttributeType type, void* value_p, FileQueryInfoFlags flags, Cancellable cancellable)
:
gboolean
Sets an attribute in the file with attribute name attribute to value.
|
Gio.File
Method |
set_attribute_byte_string
(String attribute, String value, FileQueryInfoFlags flags, Cancellable cancellable)
:
gboolean
Sets attribute of type G_FILE_ATTRIBUTE_TYPE_BYTE_STRING to value.
|
Gio.File
Method |
set_attribute_int32
(String attribute, gint32 value, FileQueryInfoFlags flags, Cancellable cancellable)
:
gboolean
Sets attribute of type G_FILE_ATTRIBUTE_TYPE_INT32 to value.
|
Gio.File
Method |
set_attribute_int64
(String attribute, gint64 value, FileQueryInfoFlags flags, Cancellable cancellable)
:
gboolean
Sets attribute of type G_FILE_ATTRIBUTE_TYPE_INT64 to value.
|
Gio.File
Method |
set_attribute_string
(String attribute, String value, FileQueryInfoFlags flags, Cancellable cancellable)
:
gboolean
Sets attribute of type G_FILE_ATTRIBUTE_TYPE_STRING to value.
|
Gio.File
Method |
set_attribute_uint32
(String attribute, guint32 value, FileQueryInfoFlags flags, Cancellable cancellable)
:
gboolean
Sets attribute of type G_FILE_ATTRIBUTE_TYPE_UINT32 to value.
|
Gio.File
Method |
set_attribute_uint64
(String attribute, guint64 value, FileQueryInfoFlags flags, Cancellable cancellable)
:
gboolean
Sets attribute of type G_FILE_ATTRIBUTE_TYPE_UINT64 to value.
|
Gio.File
Method |
set_attributes_async
(FileInfo info, FileQueryInfoFlags flags, gint32 io_priority, Cancellable cancellable, Function callback, void* user_data)
:
none
Asynchronously sets the attributes of file with info.
|
Gio.File
Method |
set_attributes_from_info
(FileInfo info, FileQueryInfoFlags flags, Cancellable cancellable)
:
gboolean
Tries to set all attributes in the GFileInfo on the target values,
not stopping on the first error. |
Gio.File
Method |
Renames file to the specified display name.
|
Gio.File
Method |
set_display_name_async
(String display_name, gint32 io_priority, Cancellable cancellable, Function callback, void* user_data)
:
none
Asynchronously sets the display name for a given GFile.
|
Gio.File
Method |
start_mountable
(DriveStartFlags flags, MountOperation start_operation, Cancellable cancellable, Function callback, void* user_data)
:
none
Starts a file of type G_FILE_TYPE_MOUNTABLE.
|
Gio.File
Method |
stop_mountable
(MountUnmountFlags flags, MountOperation mount_operation, Cancellable cancellable, Function callback, void* user_data)
:
none
Stops a file of type G_FILE_TYPE_MOUNTABLE.
|
Gio.File
Method |
trash
(Cancellable cancellable)
:
gboolean
Sends file to the "Trashcan", if possible.
|
Gio.File
Method |
unmount_mountable
(MountUnmountFlags flags, Cancellable cancellable, Function callback, void* user_data)
:
none
Unmounts a file of type G_FILE_TYPE_MOUNTABLE.
|
Gio.File
Method |
unmount_mountable_with_operation
(MountUnmountFlags flags, MountOperation mount_operation, Cancellable cancellable, Function callback, void* user_data)
:
none
Unmounts a file of type G_FILE_TYPE_MOUNTABLE.
|
Gio.FileEnumerator
Method |
close
(Cancellable cancellable)
:
gboolean
Releases all resources used by this enumerator, making the
enumerator return G_IO_ERROR_CLOSED on all calls. |
Gio.FileEnumerator
Method |
close_async
(gint32 io_priority, Cancellable cancellable, Function callback, void* user_data)
:
none
Asynchronously closes the file enumerator.
|
Gio.FileEnumerator
Method |
next_file
(Cancellable cancellable)
:
Gio.FileInfo
Returns information for the next file in the enumerated object.
|
Gio.FileEnumerator
Method |
next_files_async
(gint32 num_files, gint32 io_priority, Cancellable cancellable, Function callback, void* user_data)
:
none
Request information for a number of files from the enumerator asynchronously.
|
Gio.FileIOStream
Method |
Queries a file io stream for the given attributes.
|
Gio.FileIOStream
Method |
query_info_async
(String attributes, gint32 io_priority, Cancellable cancellable, Function callback, void* user_data)
:
none
Asynchronously queries the stream for a GFileInfo.
|
Gio.FileInputStream
Method |
Queries a file input stream the given attributes.
|
Gio.FileInputStream
Method |
query_info_async
(String attributes, gint32 io_priority, Cancellable cancellable, Function callback, void* user_data)
:
none
Queries the stream information asynchronously.
|
Gio.FileOutputStream
Method |
Queries a file output stream for the given attributes.
|
Gio.FileOutputStream
Method |
query_info_async
(String attributes, gint32 io_priority, Cancellable cancellable, Function callback, void* user_data)
:
none
Asynchronously queries the stream for a GFileInfo.
|
Gio.IOStream
Method |
close
(Cancellable cancellable)
:
gboolean
Closes the stream, releasing resources related to it.
|
Gio.IOStream
Method |
close_async
(gint32 io_priority, Cancellable cancellable, Function callback, void* user_data)
:
none
Requests an asynchronous close of the stream, releasing resources
related to it. |
Gio.IOStream
Method |
splice_async
(IOStream stream2, IOStreamSpliceFlags flags, gint32 io_priority, Cancellable cancellable, Function callback, void* user_data)
:
none
Asyncronously splice the output stream of stream1 to the input stream of
When the operation is finished callback will be called. |
Gio.Initable
Method |
init
(Cancellable cancellable)
:
gboolean
Initializes the object implementing the interface.
|
Gio.InputStream
Method |
close
(Cancellable cancellable)
:
gboolean
Closes the stream, releasing resources related to it.
|
Gio.InputStream
Method |
close_async
(gint32 io_priority, Cancellable cancellable, Function callback, void* user_data)
:
none
Requests an asynchronous closes of the stream, releasing resources related to it.
|
Gio.InputStream
Method |
Tries to read count bytes from the stream into the buffer starting at
If count is zero returns zero and does nothing. |
Gio.InputStream
Method |
Tries to read count bytes from the stream into the buffer starting at
This function is similar to g_input_stream_read(), except it tries to read as many bytes as requested, only stopping on an error or end of stream. |
Gio.InputStream
Method |
read_async
(void* buffer, guint32 count, gint32 io_priority, Cancellable cancellable, Function callback, void* user_data)
:
none
Request an asynchronous read of count bytes from the stream into the buffer
starting at buffer. |
Gio.InputStream
Method |
Tries to skip count bytes from the stream.
|
Gio.InputStream
Method |
skip_async
(guint32 count, gint32 io_priority, Cancellable cancellable, Function callback, void* user_data)
:
none
Request an asynchronous skip of count bytes from the stream.
|
Gio.LoadableIcon
Method |
Loads a loadable icon.
|
Gio.LoadableIcon
Method |
Loads an icon asynchronously.
|
Gio.Mount
Method |
Ejects a mount.
|
Gio.Mount
Method |
eject_with_operation
(MountUnmountFlags flags, MountOperation mount_operation, Cancellable cancellable, Function callback, void* user_data)
:
none
Ejects a mount.
|
Gio.Mount
Method |
guess_content_type
(gboolean force_rescan, Cancellable cancellable, Function callback, void* user_data)
:
none
Tries to guess the type of content stored on mount.
|
Gio.Mount
Method |
Tries to guess the type of content stored on mount.
|
Gio.Mount
Method |
remount
(MountMountFlags flags, MountOperation mount_operation, Cancellable cancellable, Function callback, void* user_data)
:
none
Remounts a mount.
|
Gio.Mount
Method |
unmount
(MountUnmountFlags flags, Cancellable cancellable, Function callback, void* user_data)
:
none
Unmounts a mount.
|
Gio.Mount
Method |
unmount_with_operation
(MountUnmountFlags flags, MountOperation mount_operation, Cancellable cancellable, Function callback, void* user_data)
:
none
Unmounts a mount.
|
Gio.OutputStream
Method |
close
(Cancellable cancellable)
:
gboolean
Closes the stream, releasing resources related to it.
|
Gio.OutputStream
Method |
close_async
(gint32 io_priority, Cancellable cancellable, Function callback, void* user_data)
:
none
Requests an asynchronous close of the stream, releasing resources
related to it. |
Gio.OutputStream
Method |
flush
(Cancellable cancellable)
:
gboolean
Flushed any outstanding buffers in the stream.
|
Gio.OutputStream
Method |
flush_async
(gint32 io_priority, Cancellable cancellable, Function callback, void* user_data)
:
none
Flushes a stream asynchronously.
|
Gio.OutputStream
Method |
Splices an input stream into an output stream.
|
Gio.OutputStream
Method |
splice_async
(InputStream source, OutputStreamSpliceFlags flags, gint32 io_priority, Cancellable cancellable, Function callback, void* user_data)
:
none
Splices a stream asynchronously.
|
Gio.OutputStream
Method |
Tries to write count bytes from buffer into the stream.
|
Gio.OutputStream
Method |
Tries to write count bytes from buffer into the stream.
|
Gio.OutputStream
Method |
write_async
(String buffer, guint32 count, gint32 io_priority, Cancellable cancellable, Function callback, void* user_data)
:
none
Request an asynchronous write of count bytes from buffer into
the stream. |
Gio.Permission
Method |
acquire
(Cancellable cancellable)
:
gboolean
Attempts to acquire the permission represented by permission.
|
Gio.Permission
Method |
Attempts to acquire the permission represented by permission.
|
Gio.Permission
Method |
release
(Cancellable cancellable)
:
gboolean
Attempts to release the permission represented by permission.
|
Gio.Permission
Method |
Attempts to release the permission represented by permission.
|
Gio.PollableInputStream
Method |
Attempts to read up to size bytes from stream into buffer, as
with g_input_stream_read(). |
Gio.PollableOutputStream
Method |
Attempts to write up to size bytes from buffer to stream, as
with g_output_stream_write(). |
Gio.Proxy
Method |
Given connection to communicate with a proxy (eg, a
GSocketConnection that is connected to the proxy server), this does the necessary handshake to connect to proxy_address, and if required, wraps the GIOStream to handle proxy payload. |
Gio.Proxy
Method |
connect_async
(IOStream connection, ProxyAddress proxy_address, Cancellable cancellable, Function callback, void* user_data)
:
none
Asynchronous version of g_proxy_connect().
|
Gio.ProxyResolver
Method |
Looks into the system proxy configuration to determine what proxy,
if any, to use to connect to uri. |
Gio.ProxyResolver
Method |
Asynchronous lookup of proxy.
|
Gio.Resolver
Method |
Synchronously reverse-resolves address to determine its
associated hostname. |
Gio.Resolver
Method |
lookup_by_address_async
(InetAddress address, Cancellable cancellable, Function callback, void* user_data)
:
none
Begins asynchronously reverse-resolving address to determine its
associated hostname, and eventually calls callback, which must call g_resolver_lookup_by_address_finish() to get the final result. |
Gio.Resolver
Method |
Synchronously resolves hostname to determine its associated IP
address(es). |
Gio.Resolver
Method |
lookup_by_name_async
(String hostname, Cancellable cancellable, Function callback, void* user_data)
:
none
Begins asynchronously resolving hostname to determine its
associated IP address(es), and eventually calls callback, which must call g_resolver_lookup_by_name_finish() to get the result. |
Gio.Resolver
Method |
Synchronously performs a DNS SRV lookup for the given service and
include the leading underscore that appears in the actual DNS entry. |
Gio.Resolver
Method |
lookup_service_async
(String service, String protocol, String domain, Cancellable cancellable, Function callback, void* user_data)
:
none
Begins asynchronously performing a DNS SRV lookup for the given
get the final result. |
Gio.Seekable
Method |
Seeks in the stream by the given offset, modified by type.
|
Gio.Seekable
Method |
Truncates a stream with a given offset.
|
Gio.Socket
Method |
accept
(Cancellable cancellable)
:
Gio.Socket
Accept incoming connections on a connection-based socket.
|
Gio.Socket
Method |
Waits for condition to become true on socket.
|
Gio.Socket
Method |
Connect the socket to the specified remote address.
|
Gio.Socket
Method |
Receive data (up to size bytes) from a socket.
|
Gio.Socket
Method |
Receive data (up to size bytes) from a socket.
|
Gio.Socket
Method |
receive_message
(SocketAddress address, Array vectors, gint32 num_vectors, Array messages, gint32 num_messages, gint32 flags, Cancellable cancellable)
:
gint32
Receive data from a socket.
|
Gio.Socket
Method |
receive_with_blocking
(String buffer, guint32 size, gboolean blocking, Cancellable cancellable)
:
gint32
This behaves exactly the same as g_socket_receive(), except that
the choice of blocking or non-blocking behavior is determined by the blocking argument rather than by socket's properties. |
Gio.Socket
Method |
Tries to send size bytes from buffer on the socket.
|
Gio.Socket
Method |
send_message
(SocketAddress address, Array vectors, gint32 num_vectors, Array messages, gint32 num_messages, gint32 flags, Cancellable cancellable)
:
gint32
Send data to address on socket.
|
Gio.Socket
Method |
Tries to send size bytes from buffer to address.
|
Gio.Socket
Method |
send_with_blocking
(Array buffer, guint32 size, gboolean blocking, Cancellable cancellable)
:
gint32
This behaves exactly the same as g_socket_send(), except that
the choice of blocking or non-blocking behavior is determined by the blocking argument rather than by socket's properties. |
Gio.SocketAddressEnumerator
Method |
next
(Cancellable cancellable)
:
Gio.SocketAddress
Retrieves the next GSocketAddress from enumerator.
|
Gio.SocketAddressEnumerator
Method |
Asynchronously retrieves the next GSocketAddress from enumerator
and then calls callback, which must call g_socket_address_enumerator_next_finish() to get the result. |
Gio.SocketClient
Method |
Tries to resolve the connectable and make a network connection to it.
|
Gio.SocketClient
Method |
connect_async
(SocketConnectable connectable, Cancellable cancellable, Function callback, void* user_data)
:
none
This is the asynchronous version of g_socket_client_connect().
|
Gio.SocketClient
Method |
connect_to_host
(String host_and_port, guint16 default_port, Cancellable cancellable)
:
Gio.SocketConnection
This is a helper function for g_socket_client_connect().
|
Gio.SocketClient
Method |
connect_to_host_async
(String host_and_port, guint16 default_port, Cancellable cancellable, Function callback, void* user_data)
:
none
This is the asynchronous version of g_socket_client_connect_to_host().
|
Gio.SocketClient
Method |
Attempts to create a TCP connection to a service.
|
Gio.SocketClient
Method |
connect_to_service_async
(String domain, String service, Cancellable cancellable, Function callback, void* user_data)
:
none
This is the asynchronous version of
g_socket_client_connect_to_service(). |
Gio.SocketClient
Method |
This is a helper function for g_socket_client_connect().
|
Gio.SocketClient
Method |
connect_to_uri_async
(String uri, guint16 default_port, Cancellable cancellable, Function callback, void* user_data)
:
none
This is the asynchronous version of g_socket_client_connect_to_uri().
|
Gio.SocketListener
Method |
Blocks waiting for a client to connect to any of the sockets added
to the listener. |
Gio.SocketListener
Method |
This is the asynchronous version of g_socket_listener_accept().
|
Gio.SocketListener
Method |
Blocks waiting for a client to connect to any of the sockets added
to the listener. |
Gio.SocketListener
Method |
This is the asynchronous version of g_socket_listener_accept_socket().
|
Gio.TlsConnection
Method |
handshake
(Cancellable cancellable)
:
gboolean
Attempts a TLS handshake on conn.
|
Gio.TlsConnection
Method |
handshake_async
(gint32 io_priority, Cancellable cancellable, Function callback, void* user_data)
:
none
Asynchronously performs a TLS handshake on conn.
|
Gio.UnixConnection
Method |
receive_credentials
(Cancellable cancellable)
:
Gio.Credentials
Receives credentials from the sending end of the connection.
|
Gio.UnixConnection
Method |
receive_fd
(Cancellable cancellable)
:
gint32
Receives a file descriptor from the sending end of the connection.
|
Gio.UnixConnection
Method |
send_credentials
(Cancellable cancellable)
:
gboolean
Passes the credentials of the current user the receiving side
of the connection. |
Gio.UnixConnection
Method |
Passes a file descriptor to the recieving side of the
connection. |
Gio.Volume
Method |
Ejects a volume.
|
Gio.Volume
Method |
eject_with_operation
(MountUnmountFlags flags, MountOperation mount_operation, Cancellable cancellable, Function callback, void* user_data)
:
none
Ejects a volume.
|
Gio.Volume
Method |
mount
(MountMountFlags flags, MountOperation mount_operation, Cancellable cancellable, Function callback, void* user_data)
:
none
Mounts a volume.
|
Json.Generator
Method |
|
Json.Parser
Method |
|
Json.Parser
Method |
load_from_stream_async
(InputStream stream, Cancellable cancellable, Function callback, void* user_data)
:
none
|
Polkit.Authority
Method |
|
Polkit.Authority
Method |
|
Polkit.Authority
Method |
authentication_agent_response
(String cookie, Identity identity, Cancellable cancellable, Function callback, void* user_data)
:
none
|
Polkit.Authority
Method |
authentication_agent_response_sync
(String cookie, Identity identity, Cancellable cancellable)
:
gboolean
|
Polkit.Authority
Method |
check_authorization
(Subject subject, String action_id, Details details, CheckAuthorizationFlags flags, Cancellable cancellable, Function callback, void* user_data)
:
none
|
Polkit.Authority
Method |
check_authorization_sync
(Subject subject, String action_id, Details details, CheckAuthorizationFlags flags, Cancellable cancellable)
:
Polkit.AuthorizationResult
|
Polkit.Authority
Method |
|
Polkit.Authority
Method |
enumerate_actions_sync
(Cancellable cancellable)
:
Array
|
Polkit.Authority
Method |
enumerate_temporary_authorizations
(Subject subject, Cancellable cancellable, Function callback, void* user_data)
:
none
|
Polkit.Authority
Method |
|
Polkit.Authority
Method |
register_authentication_agent
(Subject subject, String locale, String object_path, Cancellable cancellable, Function callback, void* user_data)
:
none
|
Polkit.Authority
Method |
register_authentication_agent_sync
(Subject subject, String locale, String object_path, Cancellable cancellable)
:
gboolean
|
Polkit.Authority
Method |
revoke_temporary_authorization_by_id
(String id, Cancellable cancellable, Function callback, void* user_data)
:
none
|
Polkit.Authority
Method |
|
Polkit.Authority
Method |
revoke_temporary_authorizations
(Subject subject, Cancellable cancellable, Function callback, void* user_data)
:
none
|
Polkit.Authority
Method |
|
Polkit.Authority
Method |
unregister_authentication_agent
(Subject subject, String object_path, Cancellable cancellable, Function callback, void* user_data)
:
none
|
Polkit.Authority
Method |
unregister_authentication_agent_sync
(Subject subject, String object_path, Cancellable cancellable)
:
gboolean
|
Polkit.Permission
Method |
new Polkit.Permission.sync
(String action_id, Subject subject, Cancellable cancellable)
:
Gio.Permission
Create a new Polkit.Permission
|
Polkit.Permission
Method |
Polkit.Permission.c_new
(String action_id, Subject subject, Cancellable cancellable, Function callback, void* user_data)
:
none
|
Polkit.Subject
Method |
|
Polkit.Subject
Method |
exists_sync
(Cancellable cancellable)
:
gboolean
|
Polkit.SystemBusName
Method |
get_process_sync
(Cancellable cancellable)
:
Polkit.Subject
|
Polkit.UnixSession
Method |
Polkit.UnixSession.new_for_process
(gint32 pid, Cancellable cancellable, Function callback, void* user_data)
:
none
|
Polkit.UnixSession
Method |
|
PolkitAgent.Listener
Method |
initiate_authentication
(String action_id, String message, String icon_name, Details details, String cookie, Array identities, Cancellable cancellable, Function callback, void* user_data)
:
none
|
PolkitAgent.Listener
Method |
register
(RegisterFlags flags, Subject subject, String object_path, Cancellable cancellable)
:
void*
|
PolkitAgent.TextListener
Method |
Create a new PolkitAgent.TextListener
|
Soup.Address
Method |
resolve_async
(MainContext async_context, Cancellable cancellable, Function callback, void* user_data)
:
none
Asynchronously resolves the missing half of addr (its IP address
if it was created with soup_address_new(), or its hostname if it was created with soup_address_new_from_sockaddr() or soup_address_new_any(). |
Soup.Address
Method |
resolve_sync
(Cancellable cancellable)
:
guint32
Synchronously resolves the missing half of addr, as with
soup_address_resolve_async(). |
Soup.ProxyResolver
Method |
|
Soup.ProxyURIResolver
Method |
get_proxy_uri_async
(URI uri, MainContext async_context, Cancellable cancellable, Function callback, void* user_data)
:
none
Asynchronously determines a proxy URI to use for msg and calls
|
Soup.ProxyURIResolver
Method |
Synchronously determines a proxy URI to use for uri.
|
Soup.Socket
Method |
Begins asynchronously connecting to sock's remote address.
|
Soup.Socket
Method |
connect_sync
(Cancellable cancellable)
:
guint32
Attempt to synchronously connect sock to its remote address.
|
Soup.Socket
Method |
Attempts to read up to len bytes from sock into buffer.
|
Soup.Socket
Method |
read_until
(void* buffer, guint32 len, void* boundary, guint32 boundary_len, guint32 nread, gboolean got_boundary, Cancellable cancellable)
:
Soup.SocketIOStatus
Like soup_socket_read(), but reads no further than the first
occurrence of boundary. |
Soup.Socket
Method |
Starts using SSL on socket, expecting to find a host named
|
Soup.Socket
Method |
start_ssl
(Cancellable cancellable)
:
gboolean
Starts using SSL on socket.
|
Soup.Socket
Method |
Attempts to write len bytes from buffer to sock.
|
TelepathyGLib.AccountChannelRequest
Method |
create_and_handle_channel_async
(Cancellable cancellable, Function callback, void* user_data)
:
none
|
TelepathyGLib.AccountChannelRequest
Method |
create_and_observe_channel_async
(String preferred_handler, Cancellable cancellable, Function callback, void* user_data)
:
none
|
TelepathyGLib.AccountChannelRequest
Method |
create_channel_async
(String preferred_handler, Cancellable cancellable, Function callback, void* user_data)
:
none
|
TelepathyGLib.AccountChannelRequest
Method |
ensure_and_handle_channel_async
(Cancellable cancellable, Function callback, void* user_data)
:
none
|
TelepathyGLib.AccountChannelRequest
Method |
ensure_and_observe_channel_async
(String preferred_handler, Cancellable cancellable, Function callback, void* user_data)
:
none
|
TelepathyGLib.AccountChannelRequest
Method |
ensure_channel_async
(String preferred_handler, Cancellable cancellable, Function callback, void* user_data)
:
none
|
TelepathyGLib.Contact
Method |
|
UPowerGlib.Client
Method |
about_to_sleep_sync
(Cancellable cancellable)
:
gboolean
|
UPowerGlib.Client
Method |
enumerate_devices_sync
(Cancellable cancellable)
:
gboolean
|
UPowerGlib.Client
Method |
get_properties_sync
(Cancellable cancellable)
:
gboolean
|
UPowerGlib.Client
Method |
hibernate_sync
(Cancellable cancellable)
:
gboolean
|
UPowerGlib.Client
Method |
suspend_sync
(Cancellable cancellable)
:
gboolean
|
UPowerGlib.Device
Method |
get_history_sync
(String type, guint32 timespec, guint32 resolution, Cancellable cancellable)
:
Array
|
UPowerGlib.Device
Method |
|
UPowerGlib.Device
Method |
refresh_sync
(Cancellable cancellable)
:
gboolean
|
UPowerGlib.Device
Method |
|
UPowerGlib.Wakeups
Method |
get_data_sync
(Cancellable cancellable)
:
Array
|
UPowerGlib.Wakeups
Method |
get_properties_sync
(Cancellable cancellable)
:
gboolean
|
UPowerGlib.Wakeups
Method |
get_total_sync
(Cancellable cancellable)
:
guint32
|
Vte.Terminal
Method |
|