glibmm: New API in glibmm 2.34

glibmm 2.41.1

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Examples

New API in glibmm 2.34

Member Gio::AppInfo::get_supported_types () const
  Returns
    A list of content types.
Member Gio::Application::get_dbus_connection ()
Member Gio::Application::get_dbus_connection () const
Member Gio::Application::get_dbus_object_path () const
Member Gio::ApplicationCommandLine::get_stdin ()
  Returns
    A InputStream for stdin.
Member Gio::ApplicationCommandLine::get_stdin () const
  Returns
    A InputStream for stdin.
Member Gio::AsyncResult::is_tagged (gpointer source_tag) const
  Parameters

    source_tag | An application-defined tag.

  Returns
    `true` if res has the indicated source_tag, `false` if not.
Class Gio::CharsetConverter
Member Gio::content_type_get_symbolic_icon (const Glib::ustring& type)
Class Gio::Converter
Class Gio::ConverterInputStream
Class Gio::ConverterOutputStream
Member Gio::DBus::AuthObserver::allow_mechanism (const std::string& mechanism)
  Parameters

    mechanism | The name of the mechanism, e.g. `DBUS_COOKIE_SHA1`.

  Returns
    `true` if mechanism can be used to authenticate the other peer, `false` if not.
Member Gio::DBus::AuthObserver::signal_allow_mechanism ()
  Parameters

    mechanism | The name of the mechanism, e.g. `DBUS_COOKIE_SHA1`.

  Returns
    `true` if mechanism can be used to authenticate the other peer, `false` if not.
Member Gio::DBus::Connection::call (const Glib::ustring& object_path, const Glib::ustring& interface_name, const Glib::ustring& method_name, const Glib::VariantContainerBase& parameters, const SlotAsyncReady& slot, const Glib::RefPtr< UnixFDList >& fd_list, const Glib::ustring& bus_name=Glib::ustring(), int timeout_msec=-1, CallFlags flags=Gio::DBus::CALL_FLAGS_NONE, const Glib::VariantType& reply_type=Glib::VariantType())
Member Gio::DBus::Connection::call (const Glib::ustring& object_path, const Glib::ustring& interface_name, const Glib::ustring& method_name, const Glib::VariantContainerBase& parameters, const SlotAsyncReady& slot, const Glib::RefPtr< Cancellable >& cancellable, const Glib::RefPtr< UnixFDList >& fd_list, const Glib::ustring& bus_name=Glib::ustring(), int timeout_msec=-1, CallFlags flags=Gio::DBus::CALL_FLAGS_NONE, const Glib::VariantType& reply_type=Glib::VariantType())
Member Gio::DBus::Connection::call_finish (const Glib::RefPtr< AsyncResult >& res, Glib::RefPtr< UnixFDList >& out_fd_list)
Member Gio::DBus::Connection::get_last_serial () const
  Returns
    The last used serial or zero when no message has been sent within the current thread.
Class Gio::DBus::Interface
Class Gio::DBus::Object
Member Gio::DBus::Proxy::call (const Glib::ustring& method_name, const Glib::VariantContainerBase& parameters, const SlotAsyncReady& slot, const Glib::RefPtr< Cancellable >& cancellable, const Glib::RefPtr< UnixFDList >& fd_list, int timeout_msec=-1, CallFlags flags=Gio::DBus::CALL_FLAGS_NONE)
Member Gio::DBus::Proxy::call (const Glib::ustring& method_name, const Glib::VariantContainerBase& parameters, const SlotAsyncReady& slot, const Glib::RefPtr< UnixFDList >& fd_list, int timeout_msec=-1, CallFlags flags=Gio::DBus::CALL_FLAGS_NONE)
Member Gio::DBus::Proxy::call_finish (const Glib::RefPtr< AsyncResult >& res, Glib::RefPtr< UnixFDList >& out_fd_list)
Member Gio::DesktopAppInfo::get_startup_wm_class () const
Member Gio::Drive::get_symbolic_icon ()
  Returns
    Symbolic Icon for the drive. Free the returned object with Glib::object_unref().
Member Gio::Drive::get_symbolic_icon () const
  Returns
    Symbolic Icon for the drive. Free the returned object with Glib::object_unref().
Member Gio::File::remove_async (const SlotAsyncReady& slot_ready, const Glib::RefPtr< Cancellable >& cancellable, int io_priority=Glib::PRIORITY_DEFAULT)
Member Gio::File::remove_async (const SlotAsyncReady& slot_ready, int io_priority=Glib::PRIORITY_DEFAULT)
Member Gio::File::remove_finish (const Glib::RefPtr< AsyncResult >& result)
  Parameters

    result | A AsyncResult.

  Returns
    `true` if the file was deleted. `false` otherwise.
Member Gio::FileInfo::get_symbolic_icon ()
  Returns
    Icon for the given info.
Member Gio::FileInfo::get_symbolic_icon () const
  Returns
    Icon for the given info.
Member Gio::FileInfo::set_symbolic_icon (const Glib::RefPtr< Icon >& icon)
  Parameters

    icon | A Icon.

Member Gio::InputStream::read_bytes_async (gsize count, const SlotAsyncReady& slot, const Glib::RefPtr< Cancellable >& cancellable, int io_priority=Glib::PRIORITY_DEFAULT)
Member Gio::InputStream::read_bytes_async (gsize count, const SlotAsyncReady& slot, int io_priority=Glib::PRIORITY_DEFAULT)
Member Gio::IOStream::splice_async (const Glib::RefPtr< IOStream >& stream2, const SlotAsyncReady& slot, const Glib::RefPtr< Cancellable >& cancellable, IOStreamSpliceFlags flags=Gio::IO_STREAM_SPLICE_NONE, int io_priority=Glib::PRIORITY_DEFAULT)
Member Gio::MemoryOutputStream::steal_as_bytes ()
  Returns
    The stream's data.
Member Gio::MenuItem::get_attribute (const Glib::ustring& attribute, const Glib::VariantType& expected_type) const
Member Gio::MenuItem::get_attribute_value (const Glib::ustring& attribute, const Glib::VariantType& expected_type) const
  Parameters

    attribute | The attribute name to query.
    expected_type | The expected type of the attribute.

  Returns
    The attribute value, or `0`.
Member Gio::MenuItem::get_link (const Glib::ustring& link)
  Parameters

    link | The link name to query.

  Returns
    The link, or `0`.
Member Gio::MenuItem::get_link (const Glib::ustring& link) const
  Parameters

    link | The link name to query.

  Returns
    The link, or `0`.
Member Gio::Mount::get_symbolic_icon ()
  Returns
    A Icon. The returned object should be unreffed with Glib::object_unref() when no longer needed.
Member Gio::Mount::get_symbolic_icon () const
  Returns
    A Icon. The returned object should be unreffed with Glib::object_unref() when no longer needed.
Member Gio::MountOperation::signal_show_unmount_progress ()
  Parameters

    message | String containing a mesage to display to the user.
    time_left | The estimated time left before the operation completes, in microseconds, or -1.
    bytes_left | The amount of bytes to be written before the operation completes (or -1 if such amount is not known), or zero if the operation is completed.

Member Gio::OutputStream::write_bytes_async (const Glib::RefPtr< const Glib::Bytes >& bytes, const SlotAsyncReady& slot, int io_priority=Glib::PRIORITY_DEFAULT)
Member Gio::OutputStream::write_bytes_async (const Glib::RefPtr< const Glib::Bytes >& bytes, const SlotAsyncReady& slot, const Glib::RefPtr< Cancellable >& cancellable, int io_priority=Glib::PRIORITY_DEFAULT)
Class Gio::PollableInputStream
Class Gio::PollableOutputStream
Member Gio::ProxyAddress::get_destination_protocol () const
  Returns
    The proxy's destination protocol.
Member Gio::ProxyAddress::get_uri () const
  Returns
    The proxy's URI, or `0` if unknown.
Member Gio::Resolver::lookup_records (const Glib::ustring& rrname, ResolverRecordType record_type, const Glib::RefPtr< Cancellable >& cancellable)
  Parameters

    rrname | The DNS name to lookup the record for.
    record_type | The type of DNS record to lookup.
    cancellable | A Cancellable, or `0`.

  Returns
    A List of Variant, or `0` on error. You must free each of the records and the list when you are done with it. (You can use Glib::list_free_full() with Glib::variant_unref() to do this.).
Member Gio::Resolver::lookup_records_finish (const Glib::RefPtr< AsyncResult >& result)
  Parameters

    result | The result passed to your SlotAsyncReady.

  Returns
    A List of Variant, or `0` on error. You must free each of the records and the list when you are done with it. (You can use Glib::list_free_full() with Glib::variant_unref() to do this.).
Member Gio::TlsCertificate::is_same (const Glib::RefPtr< const TlsCertificate >& cert_two) const
  Parameters

    cert_two | Second certificate to compare.

  Returns
    Whether the same or not.
Member Gio::Volume::get_symbolic_icon () const
  Returns
    A Icon. The returned object should be unreffed with Glib::object_unref() when no longer needed.
Member Gio::Volume::get_symbolic_icon ()
  Returns
    A Icon. The returned object should be unreffed with Glib::object_unref() when no longer needed.
Class Gio::ZlibCompressor
Class Gio::ZlibDecompressor
Class Glib::Bytes
Member Glib::Regex::get_has_cr_or_lf () const
  Returns
    `true` if the pattern contains explicit CR or LF references.
Member Glib::REGEX_BSR_ANYCRLF
Member Glib::REGEX_FIRSTLINE
Member Glib::REGEX_JAVASCRIPT_COMPAT
Member Glib::REGEX_MATCH_BSR_ANY
Member Glib::REGEX_MATCH_BSR_ANYCRLF
Member Glib::REGEX_MATCH_NEWLINE_ANYCRLF
Member Glib::REGEX_MATCH_NOTEMPTY_ATSTART
Member Glib::REGEX_MATCH_PARTIAL_HARD
Member Glib::REGEX_MATCH_PARTIAL_SOFT
Member Glib::REGEX_NEWLINE_ANYCRLF
Member Glib::SPAWN_SEARCH_PATH_FROM_ENVP
Member Glib::VariantBase::check_format_string (const std::string& format_string, bool copy_only=false) const
  Parameters

    format_string | A valid Variant format string.
    copy_only | `true` to ensure the format string makes deep copies.

  Returns
    `true` if format_string is safe to use.