glibmm  2.41.0
New API in glibmm 2.26
Member Gio::Credentials::get_native (CredentialsType native_type)
Parameters
native_typeThe type of native credentials to get.
Returns
The pointer to native credentials or 0 if the operation there is no Credentials support for the OS or if native_type isn't supported by the OS. Do not free the returned data, it is owned by credentials.
Member Gio::Credentials::get_unix_user ()
Returns
The UNIX user identifier or -1 if error is set.
Member Gio::Credentials::is_same_user (const Glib::RefPtr< const Credentials >& other_credentials)
Parameters
other_credentialsA Credentials.
Returns
true if credentials and other_credentials has the same user, false otherwise or if error is set.
Member Gio::Credentials::set_native (CredentialsType native_type, gpointer native)
Parameters
native_typeThe type of native credentials to set.
nativeA pointer to native credentials.
Member Gio::Credentials::set_unix_user (uid_t uid)
Parameters
uidThe UNIX user identifier to set.
Returns
true if uid was set, false if error is set.
Member Gio::Credentials::to_string () const
Returns
A string that should be freed with Glib::free().
Member Gio::DBus::AnnotationInfo::info_lookup (const Glib::ArrayHandle< Glib::RefPtr< AnnotationInfo > >& annotations, const Glib::ustring& name)
Parameters
annotationsA 0-terminated array of annotations or 0.
nameThe name of the annotation to look up.
Returns
The value or 0 if not found. Do not free, it is owned by annotations.
Member Gio::DBus::AuthObserver::authorize_authenticated_peer (const Glib::RefPtr< const IOStream >& stream, const Glib::RefPtr< const Credentials >& credentials)
Parameters
streamA IOStream for the DBusConnection.
credentialsCredentials received from the peer or 0.
Returns
true if the peer is authorized, false if not.
Member Gio::DBus::AuthObserver::signal_authorize_authenticated_peer ()
Parameters
streamA IOStream for the DBusConnection.
credentialsCredentials received from the peer or 0.
Returns
true if the peer is authorized, false if not.
Member Gio::DBus::Connection::close_finish (const Glib::RefPtr< AsyncResult >& res)
Parameters
resA AsyncResult obtained from the SlotAsyncReady passed to g_dbus_connection_close().
Returns
true if the operation succeeded, false if error is set.
Member Gio::DBus::Connection::close_sync (const Glib::RefPtr< Cancellable >& cancellable)
Parameters
cancellableA Cancellable or 0.
Returns
true if the operation succeeded, false if error is set.
Member Gio::DBus::Connection::create (const Glib::RefPtr< IOStream >& stream, const std::string& guid, const Glib::RefPtr< AuthObserver >& observer, const SlotAsyncReady& slot, const Glib::RefPtr< Cancellable >& cancellable, ConnectionFlags flags=Gio::DBus::CONNECTION_FLAGS_NONE)
Parameters
streamA IOStream.
guidThe GUID to use if a authenticating as a server or 0.
flagsFlags describing how to make the connection.
observerA DBusAuthObserver or 0.
cancellableA Cancellable or 0.
slotA SlotAsyncReady to call when the request is satisfied.
user_dataThe data to pass to callback.
Member Gio::DBus::Connection::create (const Glib::RefPtr< IOStream >& stream, const std::string& guid, const SlotAsyncReady& slot, const Glib::RefPtr< Cancellable >& cancellable, ConnectionFlags flags=Gio::DBus::CONNECTION_FLAGS_NONE)
Parameters
streamA IOStream.
guidThe GUID to use if a authenticating as a server or 0.
flagsFlags describing how to make the connection.
observerA DBusAuthObserver or 0.
cancellableA Cancellable or 0.
slotA SlotAsyncReady to call when the request is satisfied.
user_dataThe data to pass to callback.
Member Gio::DBus::Connection::create_finish (const Glib::RefPtr< AsyncResult >& res)
Parameters
resA AsyncResult obtained from the SlotAsyncReady passed to g_dbus_connection_new().
Returns
A DBusConnection or 0 if error is set. Free with Glib::object_unref().
Member Gio::DBus::Connection::create_for_address (const std::string& address, const SlotAsyncReady& slot, const Glib::RefPtr< Cancellable >& cancellable, ConnectionFlags flags=Gio::DBus::CONNECTION_FLAGS_NONE)
Parameters
addressA D-Bus address.
flagsFlags describing how to make the connection.
observerA DBusAuthObserver or 0.
cancellableA Cancellable or 0.
slotA SlotAsyncReady to call when the request is satisfied.
user_dataThe data to pass to callback.
Member Gio::DBus::Connection::create_for_address (const std::string& address, const Glib::RefPtr< AuthObserver >& observer, const SlotAsyncReady& slot, const Glib::RefPtr< Cancellable >& cancellable, ConnectionFlags flags=Gio::DBus::CONNECTION_FLAGS_NONE)
Parameters
addressA D-Bus address.
flagsFlags describing how to make the connection.
observerA DBusAuthObserver or 0.
cancellableA Cancellable or 0.
slotA SlotAsyncReady to call when the request is satisfied.
user_dataThe data to pass to callback.
Member Gio::DBus::Connection::create_for_address_finish (const Glib::RefPtr< AsyncResult >& res)
Parameters
resA AsyncResult obtained from the SlotAsyncReady passed to g_dbus_connection_new().
Returns
A DBusConnection or 0 if error is set. Free with Glib::object_unref().
Member Gio::DBus::Connection::create_for_address_sync (const std::string& address, const Glib::RefPtr< AuthObserver >& observer, const Glib::RefPtr< Cancellable >& cancellable, ConnectionFlags flags=Gio::DBus::CONNECTION_FLAGS_NONE)
Parameters
addressA D-Bus address.
flagsFlags describing how to make the connection.
observerA DBusAuthObserver or 0.
cancellableA Cancellable or 0.
Returns
A DBusConnection or 0 if error is set. Free with Glib::object_unref().
Member Gio::DBus::Connection::create_for_address_sync (const std::string& address, const Glib::RefPtr< Cancellable >& cancellable, ConnectionFlags flags=Gio::DBus::CONNECTION_FLAGS_NONE)
Parameters
addressA D-Bus address.
flagsFlags describing how to make the connection.
observerA DBusAuthObserver or 0.
cancellableA Cancellable or 0.
Returns
A DBusConnection or 0 if error is set. Free with Glib::object_unref().
Member Gio::DBus::Connection::create_sync (const Glib::RefPtr< IOStream >& stream, const std::string& guid, const Glib::RefPtr< AuthObserver >& observer, const Glib::RefPtr< Cancellable >& cancellable, ConnectionFlags flags=Gio::DBus::CONNECTION_FLAGS_NONE)
Parameters
streamA IOStream.
guidThe GUID to use if a authenticating as a server or 0.
flagsFlags describing how to make the connection.
observerA DBusAuthObserver or 0.
cancellableA Cancellable or 0.
Returns
A DBusConnection or 0 if error is set. Free with Glib::object_unref().
Member Gio::DBus::Connection::create_sync (const Glib::RefPtr< IOStream >& stream, const std::string& guid, const Glib::RefPtr< Cancellable >& cancellable, ConnectionFlags flags=Gio::DBus::CONNECTION_FLAGS_NONE)
Parameters
streamA IOStream.
guidThe GUID to use if a authenticating as a server or 0.
flagsFlags describing how to make the connection.
observerA DBusAuthObserver or 0.
cancellableA Cancellable or 0.
Returns
A DBusConnection or 0 if error is set. Free with Glib::object_unref().
Member Gio::DBus::Connection::flush_finish (const Glib::RefPtr< AsyncResult >& res)
Parameters
resA AsyncResult obtained from the SlotAsyncReady passed to g_dbus_connection_flush().
Returns
true if the operation succeeded, false if error is set.
Member Gio::DBus::Connection::flush_sync (const Glib::RefPtr< Cancellable >& cancellable)
Parameters
cancellableA Cancellable or 0.
Returns
true if the operation succeeded, false if error is set.
Member Gio::DBus::Connection::get_capabilities () const
Returns
Zero or more flags from the DBusCapabilityFlags enumeration.
Member Gio::DBus::Connection::get_exit_on_close () const
Returns
Whether the process is terminated when connection is closed by the remote peer.
Member Gio::DBus::Connection::get_finish (const Glib::RefPtr< AsyncResult >& res)
Parameters
resA AsyncResult obtained from the SlotAsyncReady passed to g_bus_get().
Returns
A DBusConnection or 0 if error is set. Free with Glib::object_unref().
Member Gio::DBus::Connection::get_guid () const
Returns
The GUID. Do not free this string, it is owned by connection.
Member Gio::DBus::Connection::get_peer_credentials ()
Returns
A Credentials or 0 if not available. Do not free this object, it is owned by connection.
Member Gio::DBus::Connection::get_peer_credentials () const
Returns
A Credentials or 0 if not available. Do not free this object, it is owned by connection.
Member Gio::DBus::Connection::get_stream ()
Returns
The stream used for IO.
Member Gio::DBus::Connection::get_stream () const
Returns
The stream used for IO.
Member Gio::DBus::Connection::get_sync (BusType bus_type, const Glib::RefPtr< Cancellable >& cancellable)
Parameters
bus_typeA BusType.
cancellableA Cancellable or 0.
Returns
A DBusConnection or 0 if error is set. Free with Glib::object_unref().
Member Gio::DBus::Connection::get_unique_name () const
Returns
The unique name or 0 if connection is not a message bus connection. Do not free this string, it is owned by connection.
Member Gio::DBus::Connection::is_closed () const
Returns
true if the connection is closed, false otherwise.
Member Gio::DBus::Connection::remove_filter (guint filter_id)
Parameters
filter_idAn identifier obtained from g_dbus_connection_add_filter().
Member Gio::DBus::Connection::send_message (const Glib::RefPtr< Message >& message, SendMessageFlags flags, guint32& out_serial)
Parameters
messageA DBusMessage.
flagsFlags affecting how the message is sent.
out_serialReturn location for serial number assigned to message when sending it or 0.
Returns
true if the message was well-formed and queued for transmission, false if error is set.
Member Gio::DBus::Connection::send_message_with_reply_finish (const Glib::RefPtr< AsyncResult >& res)
Parameters
resA AsyncResult obtained from the SlotAsyncReady passed to g_dbus_connection_send_message_with_reply().
Returns
A locked DBusMessage or 0 if error is set.
Member Gio::DBus::Connection::set_exit_on_close (bool exit_on_close=true)
Parameters
exit_on_closeWhether the process should be terminated when connection is closed by the remote peer.
Member Gio::DBus::Connection::signal_closed ()
Parameters
remote_peer_vanishedtrue if connection is closed because the remote peer closed its end of the connection.
Member Gio::DBus::Connection::signal_unsubscribe (guint subscription_id)
Parameters
subscription_idA subscription id obtained from g_dbus_connection_signal_subscribe().
Member Gio::DBus::Connection::start_message_processing ()
Member Gio::DBus::Connection::unregister_object (guint registration_id)
Parameters
registration_idA registration id obtained from g_dbus_connection_register_object().
Returns
true if the object was unregistered, false otherwise.
Member Gio::DBus::Connection::unregister_subtree (guint registration_id)
Parameters
registration_idA subtree registration id obtained from g_dbus_connection_register_subtree().
Returns
true if the subtree was unregistered, false otherwise.
Member Gio::DBus::InterfaceInfo::lookup_method (const Glib::ustring& name)
Parameters
nameA D-Bus method name (typically in CamelCase).
Returns
A DBusMethodInfo or 0 if not found. Do not free, it is owned by info.
Member Gio::DBus::InterfaceInfo::lookup_method (const Glib::ustring& name) const
Parameters
nameA D-Bus method name (typically in CamelCase).
Returns
A DBusMethodInfo or 0 if not found. Do not free, it is owned by info.
Member Gio::DBus::InterfaceInfo::lookup_property (const Glib::ustring& name)
Parameters
nameA D-Bus property name (typically in CamelCase).
Returns
A DBusPropertyInfo or 0 if not found. Do not free, it is owned by info.
Member Gio::DBus::InterfaceInfo::lookup_property (const Glib::ustring& name) const
Parameters
nameA D-Bus property name (typically in CamelCase).
Returns
A DBusPropertyInfo or 0 if not found. Do not free, it is owned by info.
Member Gio::DBus::InterfaceInfo::lookup_signal (const Glib::ustring& name)
Parameters
nameA D-Bus signal name (typically in CamelCase).
Returns
A DBusSignalInfo or 0 if not found. Do not free, it is owned by info.
Member Gio::DBus::InterfaceInfo::lookup_signal (const Glib::ustring& name) const
Parameters
nameA D-Bus signal name (typically in CamelCase).
Returns
A DBusSignalInfo or 0 if not found. Do not free, it is owned by info.
Member Gio::DBus::Message::bytes_needed (const guchar* blob, gsize blob_len)
Parameters
blobA blob represent a binary D-Bus message.
blob_lenThe length of blob (must be at least 16).
Returns
Number of bytes needed or -1 if error is set (e.g. if blob contains invalid data or not enough data is available to determine the size).
Member Gio::DBus::Message::copy () const
Returns
A new DBusMessage or 0 if error is set. Free with Glib::object_unref().
Member Gio::DBus::Message::create ()
Returns
A DBusMessage. Free with Glib::object_unref().
Member Gio::DBus::Message::create_from_blob (const guchar* blob, gsize blob_len, CapabilityFlags capabilities=CAPABILITY_FLAGS_NONE)
Parameters
blobA blob represent a binary D-Bus message.
blob_lenThe length of blob.
capabilitiesA DBusCapabilityFlags describing what protocol features are supported.
Returns
A new DBusMessage or 0 if error is set. Free with Glib::object_unref().
Member Gio::DBus::Message::create_method_call (const Glib::ustring& name, const Glib::ustring& path, const Glib::ustring& interface, const Glib::ustring& method)
Parameters
nameA valid D-Bus name or 0.
pathA valid object path.
interfaceA valid D-Bus interface name or 0.
methodA valid method name.
Returns
A DBusMessage. Free with Glib::object_unref().
Member Gio::DBus::Message::create_method_error_literal (const Glib::RefPtr< const Message >& method_call_message, const Glib::ustring& error_name, const Glib::ustring& error_message)
Parameters
error_nameA valid D-Bus error name.
error_messageThe D-Bus error message.
Returns
A DBusMessage. Free with Glib::object_unref().
Member Gio::DBus::Message::create_method_reply (const Glib::RefPtr< Message >& method_call_message)
Returns
DBusMessage. Free with Glib::object_unref().
Member Gio::DBus::Message::create_signal (const Glib::ustring& path, const Glib::ustring& interface, const Glib::ustring& signal)
Parameters
pathA valid object path.
interfaceA valid D-Bus interface name.
signalA valid signal name.
Returns
A DBusMessage. Free with Glib::object_unref().
Member Gio::DBus::Message::get_arg0 () const
Returns
The string item or 0 if the first item in the body of message is not a string.
Member Gio::DBus::Message::get_destination () const
Returns
The value.
Member Gio::DBus::Message::get_error_name () const
Returns
The value.
Member Gio::DBus::Message::get_flags () const
Returns
Flags that are set (typically values from the DBusMessageFlags enumeration bitwise ORed together).
Member Gio::DBus::Message::get_header_fields () const
Returns
An array of header fields terminated by DBUS_MESSAGE_HEADER_FIELD_INVALID. Each element is a #guchar. Free with Glib::free().
Member Gio::DBus::Message::get_interface () const
Returns
The value.
Member Gio::DBus::Message::get_locked () const
Returns
true if message is locked, false otherwise.
Member Gio::DBus::Message::get_member () const
Returns
The value.
Member Gio::DBus::Message::get_message_type () const
Returns
A 8-bit unsigned integer (typically a value from the DBusMessageType enumeration).
Member Gio::DBus::Message::get_num_unix_fds () const
Returns
The value.
Member Gio::DBus::Message::get_path () const
Returns
The value.
Member Gio::DBus::Message::get_reply_serial () const
Returns
The value.
Member Gio::DBus::Message::get_sender () const
Returns
The value.
Member Gio::DBus::Message::get_serial () const
Returns
A #guint32.
Member Gio::DBus::Message::get_signature () const
Returns
The value.
Member Gio::DBus::Message::get_unix_fd_list ()
Returns
A UnixFDList or 0 if no file descriptors are associated. Do not free, this object is owned by message.
Member Gio::DBus::Message::get_unix_fd_list () const
Returns
A UnixFDList or 0 if no file descriptors are associated. Do not free, this object is owned by message.
Member Gio::DBus::Message::lock ()
Member Gio::DBus::Message::print (guint indent)
Parameters
indentIndentation level.
Returns
A string that should be freed with Glib::free().
Member Gio::DBus::Message::set_body (const Glib::VariantBase& body)
Parameters
bodyEither 0 or a Variant that is a tuple.
Member Gio::DBus::Message::set_destination (const Glib::ustring& value)
Parameters
valueThe value to set.
Member Gio::DBus::Message::set_error_name (const Glib::ustring& value)
Parameters
valueThe value to set.
Member Gio::DBus::Message::set_flags (MessageFlags flags)
Parameters
flagsFlags for message that are set (typically values from the DBusMessageFlags enumeration bitwise ORed together).
Member Gio::DBus::Message::set_header (MessageHeaderField header_field, const Glib::VariantBase& value)
Parameters
header_fieldA 8-bit unsigned integer (typically a value from the DBusMessageHeaderField enumeration).
valueA Variant to set the header field or 0 to clear the header field.
Member Gio::DBus::Message::set_interface (const Glib::ustring& value)
Parameters
valueThe value to set.
Member Gio::DBus::Message::set_member (const Glib::ustring& value)
Parameters
valueThe value to set.
Member Gio::DBus::Message::set_message_type (MessageType type)
Parameters
typeA 8-bit unsigned integer (typically a value from the DBusMessageType enumeration).
Member Gio::DBus::Message::set_num_unix_fds (guint32 value)
Parameters
valueThe value to set.
Member Gio::DBus::Message::set_path (const Glib::ustring& value)
Parameters
valueThe value to set.
Member Gio::DBus::Message::set_reply_serial (guint32 value)
Parameters
valueThe value to set.
Member Gio::DBus::Message::set_sender (const Glib::ustring& value)
Parameters
valueThe value to set.
Member Gio::DBus::Message::set_serial (guint32 serial)
Parameters
serialA #guint32.
Member Gio::DBus::Message::set_signature (const Glib::ustring& value)
Parameters
valueThe value to set.
Member Gio::DBus::Message::set_unix_fd_list (const Glib::RefPtr< UnixFDList >& fd_list)
Parameters
fd_listA UnixFDList or 0.
Member Gio::DBus::Message::to_blob (gsize& out_size, CapabilityFlags capabilities=CAPABILITY_FLAGS_NONE)
Parameters
out_sizeReturn location for size of generated blob.
capabilitiesA DBusCapabilityFlags describing what protocol features are supported.
Returns
A pointer to a valid binary D-Bus message of out_size bytes generated by message or 0 if error is set. Free with Glib::free().
Member Gio::DBus::Message::to_exception ()
Returns
true if error was set, false otherwise.
Member Gio::DBus::MethodInvocation::get_connection ()
Returns
A DBusConnection. Do not free, it is owned by invocation.
Member Gio::DBus::MethodInvocation::get_connection () const
Returns
A DBusConnection. Do not free, it is owned by invocation.
Member Gio::DBus::MethodInvocation::get_interface_name () const
Returns
A string. Do not free, it is owned by invocation.
Member Gio::DBus::MethodInvocation::get_message ()
Returns
DBusMessage. Do not free, it is owned by invocation.
Member Gio::DBus::MethodInvocation::get_message () const
Returns
DBusMessage. Do not free, it is owned by invocation.
Member Gio::DBus::MethodInvocation::get_method_info () const
Returns
A DBusMethodInfo or 0. Do not free, it is owned by invocation.
Member Gio::DBus::MethodInvocation::get_method_name () const
Returns
A string. Do not free, it is owned by invocation.
Member Gio::DBus::MethodInvocation::get_object_path () const
Returns
A string. Do not free, it is owned by invocation.
Member Gio::DBus::MethodInvocation::get_parameters () const
Returns
A Variant tuple. Do not unref this because it is owned by invocation.
Member Gio::DBus::MethodInvocation::get_sender () const
Returns
A string. Do not free, it is owned by invocation.
Member Gio::DBus::MethodInvocation::return_dbus_error (const Glib::ustring& error_name, const Glib::ustring& error_message)
Parameters
error_nameA valid D-Bus error name.
error_messageA valid D-Bus error message.
Member Gio::DBus::MethodInvocation::return_error (const Glib::ustring& domain, int code, const Glib::ustring& message)
Parameters
domainA Quark for the Error error domain.
codeThe error code.
messageThe error message.
Member Gio::DBus::MethodInvocation::return_error (const Glib::Error& error)
Member Gio::DBus::MethodInvocation::return_value (const Glib::VariantContainerBase& parameters)
Parameters
parametersA Variant tuple with out parameters for the method or 0 if not passing any parameters.
Member Gio::DBus::NodeInfo::create_for_xml (const Glib::ustring& xml_data)
Parameters
xml_dataValid D-Bus introspection XML.
Returns
A DBusNodeInfo structure or 0 if error is set. Free with g_dbus_node_info_unref().
Member Gio::DBus::NodeInfo::lookup_interface (const Glib::ustring& name)
Parameters
nameA D-Bus interface name.
Returns
A DBusInterfaceInfo or 0 if not found. Do not free, it is owned by info.
Member Gio::DBus::NodeInfo::lookup_interface (const Glib::ustring& name) const
Parameters
nameA D-Bus interface name.
Returns
A DBusInterfaceInfo or 0 if not found. Do not free, it is owned by info.
Member Gio::DBus::Proxy::call (const Glib::ustring& method_name, const SlotAsyncReady& slot, const Glib::RefPtr< Cancellable >& cancellable, const Glib::VariantContainerBase& parameters=Glib::VariantContainerBase(), int timeout_msec=-1, CallFlags flags=Gio::DBus::CALL_FLAGS_NONE)
Parameters
method_nameName of method to invoke.
parametersA Variant tuple with parameters for the signal or 0 if not passing parameters.
flagsFlags from the DBusCallFlags enumeration.
timeout_msecThe timeout in milliseconds (with MAXINT meaning "infinite") or -1 to use the proxy default timeout.
cancellableA Cancellable or 0.
slotA SlotAsyncReady to call when the request is satisfied or 0 if you don't care about the result of the method invocation.
user_dataThe data to pass to callback.
Member Gio::DBus::Proxy::create (const Glib::RefPtr< Connection >& connection, const Glib::ustring& name, const Glib::ustring& object_path, const Glib::ustring& interface_name, const SlotAsyncReady& slot, const Glib::RefPtr< Cancellable >& cancellable, const Glib::RefPtr< InterfaceInfo >& info=Glib::RefPtr< InterfaceInfo >(), ProxyFlags flags=PROXY_FLAGS_NONE)
Parameters
connectionA DBusConnection.
flagsFlags used when constructing the proxy.
infoA DBusInterfaceInfo specifying the minimal interface that proxy conforms to or 0.
nameA bus name (well-known or unique) or 0 if connection is not a message bus connection.
object_pathAn object path.
interface_nameA D-Bus interface name.
cancellableA Cancellable or 0.
slotCallback function to invoke when the proxy is ready.
user_dataUser data to pass to callback.
Member Gio::DBus::Proxy::create_finish (const Glib::RefPtr< AsyncResult >& res)
Parameters
resA AsyncResult obtained from the SlotAsyncReady function passed to g_dbus_proxy_new().
Returns
A DBusProxy or 0 if error is set. Free with Glib::object_unref().
Member Gio::DBus::Proxy::create_for_bus (BusType bus_type, const Glib::ustring& name, const Glib::ustring& object_path, const Glib::ustring& interface_name, const SlotAsyncReady& slot, const Glib::RefPtr< Cancellable >& cancellable, const Glib::RefPtr< InterfaceInfo >& info=Glib::RefPtr< InterfaceInfo >(), ProxyFlags flags=PROXY_FLAGS_NONE)
Parameters
bus_typeA BusType.
flagsFlags used when constructing the proxy.
infoA DBusInterfaceInfo specifying the minimal interface that proxy conforms to or 0.
nameA bus name (well-known or unique).
object_pathAn object path.
interface_nameA D-Bus interface name.
cancellableA Cancellable or 0.
slotCallback function to invoke when the proxy is ready.
user_dataUser data to pass to callback.
Member Gio::DBus::Proxy::create_for_bus_finish (const Glib::RefPtr< AsyncResult >& res)
Parameters
resA AsyncResult obtained from the SlotAsyncReady function passed to g_dbus_proxy_new_for_bus().
Returns
A DBusProxy or 0 if error is set. Free with Glib::object_unref().
Member Gio::DBus::Proxy::create_for_bus_sync (BusType bus_type, const Glib::ustring& name, const Glib::ustring& object_path, const Glib::ustring& interface_name, const Glib::RefPtr< Cancellable >& cancellable, const Glib::RefPtr< InterfaceInfo >& info=Glib::RefPtr< InterfaceInfo >(), ProxyFlags flags=PROXY_FLAGS_NONE)
Parameters
bus_typeA BusType.
flagsFlags used when constructing the proxy.
infoA DBusInterfaceInfo specifying the minimal interface that proxy conforms to or 0.
nameA bus name (well-known or unique).
object_pathAn object path.
interface_nameA D-Bus interface name.
cancellableA Cancellable or 0.
Returns
A DBusProxy or 0 if error is set. Free with Glib::object_unref().
Member Gio::DBus::Proxy::create_sync (const Glib::RefPtr< Connection >& connection, const Glib::ustring& name, const Glib::ustring& object_path, const Glib::ustring& interface_name, const Glib::RefPtr< Cancellable >& cancellable, const Glib::RefPtr< InterfaceInfo >& info=Glib::RefPtr< InterfaceInfo >(), ProxyFlags flags=PROXY_FLAGS_NONE)
Parameters
connectionA DBusConnection.
flagsFlags used when constructing the proxy.
infoA DBusInterfaceInfo specifying the minimal interface that proxy conforms to or 0.
nameA bus name (well-known or unique) or 0 if connection is not a message bus connection.
object_pathAn object path.
interface_nameA D-Bus interface name.
cancellableA Cancellable or 0.
Returns
A DBusProxy or 0 if error is set. Free with Glib::object_unref().
Member Gio::DBus::Proxy::get_cached_property_names () const
Returns
A 0-terminated array of strings or 0 if proxy has no cached properties. Free the returned array with Glib::strfreev().
Member Gio::DBus::Proxy::get_connection ()
Returns
A DBusConnection owned by proxy. Do not free.
Member Gio::DBus::Proxy::get_connection () const
Returns
A DBusConnection owned by proxy. Do not free.
Member Gio::DBus::Proxy::get_default_timeout () const
Returns
Timeout to use for proxy.
Member Gio::DBus::Proxy::get_flags () const
Returns
Flags from the DBusProxyFlags enumeration.
Member Gio::DBus::Proxy::get_interface_info ()
Returns
A DBusInterfaceInfo or 0. Do not unref the returned object, it is owned by proxy.
Member Gio::DBus::Proxy::get_interface_info () const
Returns
A DBusInterfaceInfo or 0. Do not unref the returned object, it is owned by proxy.
Member Gio::DBus::Proxy::get_interface_name () const
Returns
A string owned by proxy. Do not free.
Member Gio::DBus::Proxy::get_name () const
Returns
A string owned by proxy. Do not free.
Member Gio::DBus::Proxy::get_name_owner () const
Returns
The name owner or 0 if no name owner exists. Free with Glib::free().
Member Gio::DBus::Proxy::get_object_path () const
Returns
A string owned by proxy. Do not free.
Member Gio::DBus::Proxy::set_cached_property (const Glib::ustring& property_name, const Glib::VariantBase& value)
Parameters
property_nameProperty name.
valueValue for the property or 0 to remove it from the cache.
Member Gio::DBus::Proxy::set_default_timeout (int timeout_msec=-1)
Parameters
timeout_msecTimeout in milliseconds.
Member Gio::DBus::Proxy::set_interface_info (const Glib::RefPtr< InterfaceInfo >& info)
Parameters
infoMinimum interface this proxy conforms to or 0 to unset.
Member Gio::DBus::Proxy::signal_properties_changed ()
Parameters
changed_propertiesA Variant containing the properties that changed.
invalidated_propertiesA 0 terminated array of properties that was invalidated.
Member Gio::DBus::Proxy::signal_signal ()
Parameters
sender_nameThe sender of the signal or 0 if the connection is not a bus connection.
signal_nameThe name of the signal.
parametersA Variant tuple with parameters for the signal.
Member Gio::DBus::Server::create_sync (const std::string& address, const std::string& guid, const Glib::RefPtr< AuthObserver >& observer, const Glib::RefPtr< Cancellable >& cancellable, ServerFlags flags=Gio::DBus::SERVER_FLAGS_NONE)
Parameters
addressA D-Bus address.
flagsFlags from the DBusServerFlags enumeration.
guidA D-Bus GUID.
observerA DBusAuthObserver or 0.
cancellableA Cancellable or 0.
Returns
A DBusServer or 0 if error is set. Free with Glib::object_unref().
Member Gio::DBus::Server::create_sync (const std::string& address, const std::string& guid, const Glib::RefPtr< Cancellable >& cancellable, ServerFlags flags=Gio::DBus::SERVER_FLAGS_NONE)
Parameters
addressA D-Bus address.
flagsFlags from the DBusServerFlags enumeration.
guidA D-Bus GUID.
observerA DBusAuthObserver or 0.
cancellableA Cancellable or 0.
Returns
A DBusServer or 0 if error is set. Free with Glib::object_unref().
Member Gio::DBus::Server::get_client_address () const
Returns
A D-Bus address string. Do not free, the string is owned by server.
Member Gio::DBus::Server::get_flags () const
Returns
A set of flags from the DBusServerFlags enumeration.
Member Gio::DBus::Server::get_guid () const
Returns
A D-Bus GUID. Do not free this string, it is owned by server.
Member Gio::DBus::Server::is_active () const
Returns
true if server is active, false otherwise.
Member Gio::DBus::Server::signal_new_connection ()
Parameters
connectionA DBusConnection for the new connection.
Returns
true to claim connection, false to let other handlers run.
Member Gio::DBus::Server::start ()
Member Gio::DBus::Server::stop ()
Member Gio::MemoryOutputStream::steal_data ()
Returns
The stream's data.
Member Gio::NetworkAddress::get_scheme () const
Returns
addr's scheme (0 if not built from URI).
Member Gio::NetworkService::get_scheme () const
Returns
srv's scheme name.
Member Gio::NetworkService::set_scheme (const Glib::ustring& scheme)
Parameters
schemeA URI scheme.
Member Gio::Proxy::connect (const Glib::RefPtr< IOStream >& connection, const Glib::RefPtr< const ProxyAddress >& proxy_address, const Glib::RefPtr< Cancellable >& cancellable)
Parameters
connectionA IOStream.
proxy_addressA ProxyAddress.
cancellableA Cancellable.
Returns
A IOStream that will replace connection. This might be the same as connection, in which case a reference will be added.
Member Gio::Proxy::connect_finish (const Glib::RefPtr< AsyncResult >& result)
Parameters
resultA AsyncResult.
Returns
A IOStream.
Member Gio::Proxy::get_default_for_protocol (const Glib::ustring& protocol)
Parameters
protocolThe proxy protocol name (e.g. http, socks, etc).
Returns
Return a Proxy or 0 if protocol is not supported.
Member Gio::Proxy::supports_hostname () const
Returns
true if hostname resolution is supported.
Member Gio::ProxyAddress::get_destination_hostname () const
Returns
The proxy's destination hostname.
Member Gio::ProxyAddress::get_destination_port () const
Returns
The proxy's destination port.
Member Gio::ProxyAddress::get_password () const
Returns
The proxy's password.
Member Gio::ProxyAddress::get_protocol () const
Returns
The proxy's protocol.
Member Gio::ProxyAddress::get_username () const
Returns
The proxy's username.
Member Gio::ProxyResolver::get_default ()
Returns
The default ProxyResolver.
Member Gio::ProxyResolver::is_supported () const
Returns
true if resolver is supported.
Member Gio::ProxyResolver::lookup (const Glib::ustring& uri, const Glib::RefPtr< Cancellable >& cancellable)
Parameters
uriA URI representing the destination to connect to.
cancellableA Cancellable, or 0.
Returns
A 0-terminated array of proxy URIs. Must be freed with Glib::strfreev().
Member Gio::ProxyResolver::lookup_finish (const Glib::RefPtr< AsyncResult >& result)
Parameters
resultThe result passed to your SlotAsyncReady.
Returns
A 0-terminated array of proxy URIs. Must be freed with Glib::strfreev().
Member Gio::Settings::bind (const Glib::ustring& key, Glib::ObjectBase* object, const Glib::ustring& property, SettingsBindFlags flags=SETTINGS_BIND_DEFAULT)
Parameters
keyThe key to bind.
objectA Object.
propertyThe name of the property to bind.
flagsFlags for the binding.
Member Gio::Settings::bind_writable (const Glib::ustring& key, Glib::ObjectBase* object, const Glib::ustring& property, bool inverted=false)
Parameters
keyThe key to bind.
objectA Object.
propertyThe name of a boolean property to bind.
invertedWhether to 'invert' the value.
Member Gio::Settings::delay ()
Member Gio::Settings::get_boolean (const Glib::ustring& key) const
Parameters
keyThe key to get the value for.
Returns
A boolean.
Member Gio::Settings::get_child (const Glib::ustring& name)
Parameters
nameThe name of the child schema.
Returns
A 'child' settings object.
Member Gio::Settings::get_child (const Glib::ustring& name) const
Parameters
nameThe name of the child schema.
Returns
A 'child' settings object.
Member Gio::Settings::get_double (const Glib::ustring& key) const
Parameters
keyThe key to get the value for.
Returns
A double.
Member Gio::Settings::get_enum (const Glib::ustring& key) const
Parameters
keyThe key to get the value for.
Returns
The enum value.
Member Gio::Settings::get_flags (const Glib::ustring& key) const
Parameters
keyThe key to get the value for.
Returns
The flags value.
Member Gio::Settings::get_has_unapplied () const
Returns
true if settings has unapplied changes.
Member Gio::Settings::get_int (const Glib::ustring& key) const
Parameters
keyThe key to get the value for.
Returns
An integer.
Member Gio::Settings::get_string (const Glib::ustring& key) const
Parameters
keyThe key to get the value for.
Returns
A newly-allocated string.
Member Gio::Settings::get_string_array (const Glib::ustring& key) const
Parameters
keyThe key to get the value for.
Returns
A newly-allocated, 0-terminated array of strings, the value that is stored at key in settings.
Member Gio::Settings::is_writable (const Glib::ustring& name) const
Parameters
nameThe name of a key.
Returns
true if the key name is writable.
Member Gio::Settings::list_schemas ()
Member Gio::Settings::set_boolean (const Glib::ustring& key, bool value)
Parameters
keyThe name of the key to set.
valueThe value to set it to.
Returns
true if setting the key succeeded, false if the key was not writable.
Member Gio::Settings::set_double (const Glib::ustring& key, double value)
Parameters
keyThe name of the key to set.
valueThe value to set it to.
Returns
true if setting the key succeeded, false if the key was not writable.
Member Gio::Settings::set_int (const Glib::ustring& key, int value)
Parameters
keyThe name of the key to set.
valueThe value to set it to.
Returns
true if setting the key succeeded, false if the key was not writable.
Member Gio::Settings::set_string (const Glib::ustring& key, const Glib::ustring& value)
Parameters
keyThe name of the key to set.
valueThe value to set it to.
Returns
true if setting the key succeeded, false if the key was not writable.
Member Gio::Settings::set_string_array (const Glib::ustring& key, const Glib::StringArrayHandle& value)
Parameters
keyThe name of the key to set.
valueThe value to set it to, or 0.
Returns
true if setting the key succeeded, false if the key was not writable.
Member Gio::Settings::set_value (const Glib::ustring& key, const Glib::VariantBase& value)
Parameters
keyThe name of the key to set.
valueA Variant of the correct type.
Returns
true if setting the key succeeded, false if the key was not writable.
Member Gio::Socket::get_credentials ()
Returns
0 if error is set, otherwise a Credentials object that must be freed with Glib::object_unref().
Member Gio::Socket::get_credentials () const
Returns
0 if error is set, otherwise a Credentials object that must be freed with Glib::object_unref().
Member Gio::Socket::get_timeout () const
Returns
The timeout in seconds.
Member Gio::Socket::receive_with_blocking (gchar* buffer, gsize size, bool blocking, const Glib::RefPtr< Cancellable >& cancellable=Glib::RefPtr< Cancellable >())
Parameters
bufferA buffer to read data into (which should be at least size bytes long).
sizeThe number of bytes you want to read from the socket.
blockingWhether to do blocking or non-blocking I/O.
cancellableA Cancellable or 0.
Returns
Number of bytes read, or 0 if the connection was closed by the peer, or -1 on error.
Member Gio::Socket::send_with_blocking (gchar* buffer, gsize size, bool blocking, const Glib::RefPtr< Cancellable >& cancellable=Glib::RefPtr< Cancellable >())
Parameters
bufferThe buffer containing the data to send.
sizeThe number of bytes to send.
blockingWhether to do blocking or non-blocking I/O.
cancellableA Cancellable or 0.
Returns
Number of bytes written (which may be less than size), or -1 on error.
Member Gio::Socket::set_timeout (guint timeout)
Parameters
timeoutThe timeout for socket, in seconds, or 0 for none.
Member Gio::SocketClient::connect_to_uri (const Glib::ustring& uri, guint16 default_port, const Glib::RefPtr< Cancellable >& cancellable)
Parameters
uriA network URI.
default_portThe default port to connect to.
cancellableA Cancellable, or 0.
Returns
A SocketConnection on success, 0 on error.
Member Gio::SocketClient::connect_to_uri_async (const Glib::ustring& uri, guint16 default_port, const Glib::RefPtr< Cancellable >& cancellable, const SlotAsyncReady& slot)
Parameters
uriA network uri.
default_portThe default port to connect to.
cancellableA Cancellable, or 0.
slotA SlotAsyncReady.
user_dataUser data for the callback.
Member Gio::SocketClient::connect_to_uri_finish (const Glib::RefPtr< AsyncResult >& result)
Parameters
resultA AsyncResult.
Returns
A SocketConnection on success, 0 on error.
Member Gio::SocketClient::get_enable_proxy () const
Returns
Whether proxying is enabled.
Member Gio::SocketClient::get_timeout () const
Returns
The timeout in seconds.
Member Gio::SocketClient::set_enable_proxy (bool enable)
Parameters
enableWhether to enable proxies.
Member Gio::SocketClient::set_timeout (guint timeout)
Parameters
timeoutThe timeout.
Member Gio::SocketConnectable::proxy_enumerate ()
Returns
A new SocketAddressEnumerator.
Member Gio::SocketConnectable::proxy_enumerate () const
Returns
A new SocketAddressEnumerator.
Member Gio::UnixConnection::receive_credentials (const Glib::RefPtr< Cancellable >& cancellable)
Parameters
cancellableA Cancellable or 0.
Returns
Received credentials on success (free with Glib::object_unref()), 0 if error is set.
Member Gio::UnixConnection::receive_credentials (const Glib::RefPtr< Cancellable >& cancellable) const
Parameters
cancellableA Cancellable or 0.
Returns
Received credentials on success (free with Glib::object_unref()), 0 if error is set.
Member Gio::UnixConnection::send_credentials (const Glib::RefPtr< Cancellable >& cancellable)
Parameters
cancellableA Cancellable or 0.
Returns
true on success, false if error is set.
Member Gio::UnixCredentialsMessage::create (const Glib::RefPtr< Credentials >& credentials)
Parameters
credentialsA Credentials object.
Returns
A new UnixCredentialsMessage.
Member Gio::UnixCredentialsMessage::create ()
Returns
A new UnixCredentialsMessage.
Member Gio::UnixCredentialsMessage::get_credentials () const
Returns
A Credentials instance. Do not free, it is owned by message.
Member Gio::UnixCredentialsMessage::get_credentials ()
Returns
A Credentials instance. Do not free, it is owned by message.
Member Gio::UnixCredentialsMessage::is_supported ()
Returns
true if supported, false otherwise.
Member Gio::UnixSocketAddress::create (const std::string& path, UnixSocketAddressType type=Gio::UNIX_SOCKET_ADDRESS_ABSTRACT, int path_len=-1)
Parameters
pathThe name.
path_lenThe length of path, or -1.
typeA UnixSocketAddressType.
Returns
A new UnixSocketAddress.
Member Gio::UnixSocketAddress::get_address_type () const
Returns
A UnixSocketAddressType.
Member Gio::ZlibCompressor::get_file_info () const
Returns
A FileInfo, or 0.
Member Gio::ZlibCompressor::get_file_info ()
Returns
A FileInfo, or 0.
Member Gio::ZlibCompressor::set_file_info (const Glib::RefPtr< FileInfo >& file_info)
Parameters
file_infoA FileInfo.
Member Gio::ZlibDecompressor::get_file_info ()
Returns
A FileInfo, or 0.
Member Gio::ZlibDecompressor::get_file_info () const
Returns
A FileInfo, or 0.
Member Glib::DateTime::add (TimeSpan timespan) const
Parameters
timespanA TimeSpan.
Returns
The newly created DateTime which should be freed with g_date_time_unref().
Member Glib::DateTime::add_days (int days) const
Parameters
daysThe number of days.
Returns
The newly created DateTime which should be freed with g_date_time_unref().
Member Glib::DateTime::add_full (int years, int months, int days, int hours, int minutes, double seconds) const
Parameters
yearsThe number of years to add.
monthsThe number of months to add.
daysThe number of days to add.
hoursThe number of hours to add.
minutesThe number of minutes to add.
secondsThe number of seconds to add.
Returns
The newly created DateTime that should be freed with g_date_time_unref().
Member Glib::DateTime::add_hours (int hours) const
Parameters
hoursThe number of hours to add.
Returns
The newly created DateTime which should be freed with g_date_time_unref().
Member Glib::DateTime::add_minutes (int minutes) const
Parameters
minutesThe number of minutes to add.
Returns
The newly created DateTime which should be freed with g_date_time_unref().
Member Glib::DateTime::add_months (int months) const
Parameters
monthsThe number of months.
Returns
The newly created DateTime which should be freed with g_date_time_unref().
Member Glib::DateTime::add_seconds (double seconds) const
Parameters
secondsThe number of seconds to add.
Returns
The newly created DateTime which should be freed with g_date_time_unref().
Member Glib::DateTime::add_weeks (int weeks) const
Parameters
weeksThe number of weeks.
Returns
The newly created DateTime which should be freed with g_date_time_unref().
Member Glib::DateTime::add_years (int years) const
Parameters
yearsThe number of years.
Returns
The newly created DateTime which should be freed with g_date_time_unref().
Member Glib::DateTime::compare (const DateTime& other) const
Parameters
otherThe DateTime to compare with.
Returns
-1, 0 or 1 if *this is less than, equal to or greater than other.
Member Glib::DateTime::create (const TimeZone& tz, int year, int month, int day, int hour, int minute, double seconds)
Parameters
tzA TimeZone.
yearThe year component of the date.
monthThe month component of the date.
dayThe day component of the date.
hourThe hour component of the date.
minuteThe minute component of the date.
secondsThe number of seconds past the minute.
Returns
A new DateTime, or 0.
Member Glib::DateTime::create_local (int year, int month, int day, int hour, int minute, double seconds)
Parameters
yearThe year component of the date.
monthThe month component of the date.
dayThe day component of the date.
hourThe hour component of the date.
minuteThe minute component of the date.
secondsThe number of seconds past the minute.
Returns
A DateTime, or 0.
Member Glib::DateTime::create_now (const TimeZone& tz)
Parameters
tzA TimeZone.
Returns
A new DateTime, or 0.
Member Glib::DateTime::create_now_local (gint64 t)
Parameters
tThe Unix time.
Returns
A new DateTime, or 0.
Member Glib::DateTime::create_now_local (const TimeVal& tv)
Parameters
tvA TimeVal.
Returns
A new DateTime, or 0.
Member Glib::DateTime::create_now_local ()
Returns
A new DateTime, or 0.
Member Glib::DateTime::create_now_utc (gint64 t)
Parameters
tThe Unix time.
Returns
A new DateTime, or 0.
Member Glib::DateTime::create_now_utc ()
Returns
A new DateTime, or 0.
Member Glib::DateTime::create_now_utc (const TimeVal& tv)
Parameters
tvA TimeVal.
Returns
A new DateTime, or 0.
Member Glib::DateTime::create_utc (int year, int month, int day, int hour, int minute, double seconds)
Parameters
yearThe year component of the date.
monthThe month component of the date.
dayThe day component of the date.
hourThe hour component of the date.
minuteThe minute component of the date.
secondsThe number of seconds past the minute.
Returns
A DateTime, or 0.
Member Glib::DateTime::difference (const DateTime& other) const
Parameters
otherThe other DateTime.
Returns
The difference between the two DateTime, as a time span expressed in microseconds.
Member Glib::DateTime::equal (const DateTime& other) const
Parameters
otherThe DateTime to compare with.
Returns
true if *this and other are equal.
Member Glib::DateTime::format (const Glib::ustring& format) const
Parameters
formatA valid UTF-8 string, containing the format for the DateTime.
Returns
A newly allocated string formatted to the requested format or 0 in the case that there was an error. The string should be freed with g_free().
Member Glib::DateTime::get_day_of_month () const
Returns
The day of the month.
Member Glib::DateTime::get_day_of_week () const
Returns
The day of the week.
Member Glib::DateTime::get_day_of_year () const
Returns
The day of the year.
Member Glib::DateTime::get_hour () const
Returns
The hour of the day.
Member Glib::DateTime::get_microsecond () const
Returns
The microsecond of the second.
Member Glib::DateTime::get_minute () const
Returns
The minute of the hour.
Member Glib::DateTime::get_month () const
Returns
The month represented by datetime.
Member Glib::DateTime::get_second () const
Returns
The second represented by datetime.
Member Glib::DateTime::get_seconds () const
Returns
The number of seconds.
Member Glib::DateTime::get_timezone_abbreviation () const
Returns
The time zone abbreviation. The returned string is owned by the DateTime and it should not be modified or freed.
Member Glib::DateTime::get_utc_offset () const
Returns
The number of microseconds that should be added to UTC to get the local time.
Member Glib::DateTime::get_week_numbering_year () const
Returns
The ISO 8601 week-numbering year for datetime.
Member Glib::DateTime::get_week_of_year () const
Returns
The ISO 8601 week number for datetime.
Member Glib::DateTime::get_year () const
Returns
The year represented by datetime.
Member Glib::DateTime::get_ymd (int& year, int& month, int& day) const
Parameters
yearThe return location for the gregorian year, or 0.
monthThe return location for the month of the year, or 0.
dayThe return location for the day of the month, or 0.
Member Glib::DateTime::hash () const
Parameters
datetimeA DateTime.
Returns
A unsigned int containing the hash.
Member Glib::DateTime::is_daylight_savings () const
Returns
true if daylight savings time is in effect.
Member Glib::DateTime::to_local () const
Returns
The newly created DateTime.
Member Glib::DateTime::to_timeval (TimeVal& tv) const
Parameters
tvA TimeVal to modify.
Returns
true if successful, else false.
Member Glib::DateTime::to_timezone (const TimeZone& tz) const
Parameters
tzThe new TimeZone.
Returns
A new DateTime, or 0.
Member Glib::DateTime::to_unix () const
Returns
The Unix time corresponding to datetime.
Member Glib::DateTime::to_utc () const
Returns
The newly created DateTime.
Member Glib::KeyFile::get_int64 (const Glib::ustring& group_name, const Glib::ustring& key) const
Parameters
group_nameA non-0 group name.
keyA non-0 key.
Returns
The value associated with the key as a signed 64-bit integer, or 0 if the key was not found or could not be parsed.
Member Glib::KeyFile::get_uint64 (const Glib::ustring& group_name, const Glib::ustring& key) const
Parameters
group_nameA non-0 group name.
keyA non-0 key.
Returns
The value associated with the key as an unsigned 64-bit integer, or 0 if the key was not found or could not be parsed.
Member Glib::KeyFile::set_int64 (const Glib::ustring& group_name, const Glib::ustring& key, gint64 value)
Parameters
group_nameA group name.
keyA key.
valueAn integer value.
Member Glib::KeyFile::set_uint64 (const Glib::ustring& group_name, const Glib::ustring& key, guint64 value)
Parameters
group_nameA group name.
keyA key.
valueAn integer value.
Member Glib::Regex::get_compile_flags () const
Returns
Flags from RegexCompileFlags.
Member Glib::Regex::get_match_flags () const
Returns
Flags from RegexMatchFlags.
Member Glib::TimeZone::adjust_time (TimeType type, gint64& time) const
Parameters
typeThe TimeType of time.
timeA pointer to a number of seconds since January 1, 1970.
Returns
The interval containing time, never -1.
Member Glib::TimeZone::create (const Glib::ustring& identifier)
Parameters
identifierA timezone identifier.
Returns
The requested timezone.
Member Glib::TimeZone::create_local ()
Returns
The local timezone.
Member Glib::TimeZone::create_utc ()
Returns
The universal timezone.
Member Glib::TimeZone::find_interval (TimeType type, gint64 time) const
Parameters
typeThe TimeType of time.
timeA number of seconds since January 1, 1970.
Returns
The interval containing time, or -1 in case of failure.
Member Glib::TimeZone::get_abbreviation (int interval) const
Parameters
intervalAn interval within the timezone.
Returns
The time zone abbreviation, which belongs to tz.
Member Glib::TimeZone::get_offset (int interval) const
Parameters
intervalAn interval within the timezone.
Returns
The number of seconds that should be added to UTC to get the local time in tz.
Member Glib::TimeZone::is_dst (int interval) const
Parameters
intervalAn interval within the timezone.
Returns
true if daylight savings time is in effect.
Class Glib::Variant< bool >

Class Glib::Variant< double >

Class Glib::Variant< gint16 >

Class Glib::Variant< gint32 >

Class Glib::Variant< gint64 >

Class Glib::Variant< guint16 >

Class Glib::Variant< guint32 >

Class Glib::Variant< guint64 >

Class Glib::Variant< unsigned char >

Member Glib::VariantBase::is_floating () const
Returns
Whether value is floating.