|
| DesktopAppInfo (DesktopAppInfo &&src) noexcept |
|
DesktopAppInfo & | operator= (DesktopAppInfo &&src) noexcept |
|
| ~DesktopAppInfo () noexcept override |
|
GDesktopAppInfo * | gobj () |
| Provides access to the underlying C GObject.
|
|
const GDesktopAppInfo * | gobj () const |
| Provides access to the underlying C GObject.
|
|
GDesktopAppInfo * | gobj_copy () |
| Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs.
|
|
std::string | get_filename () const |
| When info was created from a known filename, return it.
|
|
bool | is_hidden () const |
| A desktop file is hidden if the Hidden key in it is set to True .
|
|
std::vector< Glib::ustring > | get_keywords () const |
| Gets the keywords from the desktop file.
|
|
std::string | get_startup_wm_class () const |
| Retrieves the StartupWMClass field from info.
|
|
bool | get_nodisplay () const |
| Gets the value of the No::Display key which helps determine if the application info should be shown in menus.
|
|
bool | get_show_in (const std::string &desktop_env) const |
| Checks if the application info should be shown in menus that list available applications for a specific name of the desktop, based on the OnlyShowIn and NotShowIn keys.
|
|
std::string | get_generic_name () const |
| Gets the generic name from the desktop file.
|
|
std::string | get_categories () const |
| Gets the categories from the desktop file.
|
|
bool | has_key (const Glib::ustring & key) const |
| Returns whether key exists in the Desktop Entry group of the keyfile backing info.
|
|
Glib::ustring | get_string (const Glib::ustring & key) |
| Looks up a string value in the keyfile backing info.
|
|
Glib::ustring | get_locale_string (const Glib::ustring & key) |
| Looks up a localized string value in the keyfile backing info translated to the current locale.
|
|
bool | get_boolean (const Glib::ustring & key) const |
| Looks up a boolean value in the keyfile backing info.
|
|
std::vector< Glib::ustring > | list_actions () const |
| Returns the list of ‘additional application actions’ supported on the desktop file, as per the desktop file specification.
|
|
void | launch_action (const Glib::ustring &action_name, const Glib::RefPtr< AppLaunchContext > &launch_context) |
| Activates the named application action.
|
|
void | launch_action (const Glib::ustring &action_name) |
| A launch_action() convenience overload.
|
|
Glib::ustring | get_action_name (const Glib::ustring &action_name) const |
| Gets the user-visible display name of the ‘additional application actions’ specified by action_name.
|
|
| Object (const Object &)=delete |
|
Object & | operator= (const Object &)=delete |
|
| Object (Object &&src) noexcept |
|
Object & | operator= (Object &&src) noexcept |
|
void * | get_data (const QueryQuark & key) |
|
void | set_data (const Quark & key, void *data) |
|
void | set_data_with_c_callback (const Quark & key, void *data, GDestroyNotify notify) |
|
void | set_data (const Quark & key, void *data, DestroyNotify notify) |
| Prefer set_data_with_c_callback() with a callback with C linkage.
|
|
void | remove_data (const QueryQuark &quark) |
|
void * | steal_data (const QueryQuark &quark) |
|
| ObjectBase (const ObjectBase &)=delete |
|
ObjectBase & | operator= (const ObjectBase &)=delete |
|
void | set_property_value (const Glib::ustring & property_name, const Glib::ValueBase & value) |
| You probably want to use a specific property_*() accessor method instead.
|
|
void | get_property_value (const Glib::ustring & property_name, Glib::ValueBase & value) const |
| You probably want to use a specific property_*() accessor method instead.
|
|
template<class PropertyType > |
void | set_property (const Glib::ustring & property_name, const PropertyType & value) |
| You probably want to use a specific property_*() accessor method instead.
|
|
template<class PropertyType > |
void | get_property (const Glib::ustring & property_name, PropertyType & value) const |
| You probably want to use a specific property_*() accessor method instead.
|
|
template<class PropertyType > |
PropertyType | get_property (const Glib::ustring & property_name) const |
| You probably want to use a specific property_*() accessor method instead.
|
|
sigc::connection | connect_property_changed (const Glib::ustring & property_name, const sigc::slot< void()> & slot) |
| You can use the signal_changed() signal of the property proxy instead.
|
|
sigc::connection | connect_property_changed (const Glib::ustring & property_name, sigc::slot< void()> && slot) |
| You can use the signal_changed() signal of the property proxy instead.
|
|
void | freeze_notify () |
| Increases the freeze count on object.
|
|
void | thaw_notify () |
| Reverts the effect of a previous call to freeze_notify().
|
|
virtual void | reference () const |
| Increment the reference count for this object.
|
|
virtual void | unreference () const |
| Decrement the reference count for this object.
|
|
GObject * | gobj () |
| Provides access to the underlying C GObject.
|
|
const GObject * | gobj () const |
| Provides access to the underlying C GObject.
|
|
GObject * | gobj_copy () const |
| Give a ref-ed copy to someone. Use for direct struct access.
|
|
| trackable () noexcept |
|
| trackable (const trackable &src) noexcept |
|
| trackable (trackable &&src) noexcept |
|
| ~trackable () |
|
void | add_destroy_notify_callback (notifiable *data, func_destroy_notify func) const |
|
void | notify_callbacks () |
|
trackable & | operator= (const trackable &src) |
|
trackable & | operator= (trackable &&src) noexcept |
|
void | remove_destroy_notify_callback (notifiable *data) const |
|
| AppInfo (AppInfo &&src) noexcept |
|
AppInfo & | operator= (AppInfo &&src) noexcept |
|
| ~AppInfo () noexcept override |
|
GAppInfo * | gobj () |
| Provides access to the underlying C GObject.
|
|
const GAppInfo * | gobj () const |
| Provides access to the underlying C GObject.
|
|
Glib::RefPtr< AppInfo > | create_duplicate () const |
| Creates a duplicate of this AppInfo.
|
|
bool | equal (const Glib::RefPtr< AppInfo > &other) const |
| Checks if two AppInfos are equal.
|
|
std::string | get_id () const |
| Gets the ID of an application.
|
|
std::string | get_name () const |
| Gets the installed name of the application.
|
|
std::string | get_display_name () const |
| Gets the display name of the application.
|
|
std::string | get_description () const |
| Gets a human-readable description of an installed application.
|
|
std::string | get_executable () const |
| Gets the executable’s name for the installed application.
|
|
std::string | get_commandline () const |
| Gets the commandline with which the application will be started.
|
|
Glib::RefPtr< Icon > | get_icon () |
| Gets the icon for the application.
|
|
const Glib::RefPtr< const Icon > | get_icon () const |
| Gets the icon for the application.
|
|
bool | launch (const Glib::RefPtr< Gio::File > & file, const Glib::RefPtr< AppLaunchContext > &context) |
| Launches the application.
|
|
bool | launch (const Glib::RefPtr< Gio::File > & file) |
| Launches the application.
|
|
bool | launch (const std::vector< Glib::RefPtr< Gio::File > > &files, const Glib::RefPtr< AppLaunchContext > &context) |
| Launches the application.
|
|
bool | launch (const std::vector< Glib::RefPtr< Gio::File > > &files) |
| A launch() convenience overload.
|
|
bool | supports_uris () const |
| Checks if the application supports reading files and directories from URIs.
|
|
bool | supports_files () const |
| Checks if the application accepts files as arguments.
|
|
bool | launch_uris (const std::vector< std::string > &uris, const Glib::RefPtr< AppLaunchContext > &context) |
| Launches the application.
|
|
bool | launch_uris (const std::vector< std::string > &uris) |
| A launch_uris() convenience overload.
|
|
bool | launch_uri (const std::string &uri, const Glib::RefPtr< AppLaunchContext > &context) |
| Launches the application.
|
|
bool | launch_uri (const std::string &uris) |
| A launch_uri() convenience overload.
|
|
void | launch_uris_async (const std::vector< std::string > &uris, const Glib::RefPtr< AppLaunchContext > &context, const SlotAsyncReady & slot, const Glib::RefPtr< Cancellable > &cancellable={}) |
| Async version of Gio::AppInfo::launch_uris().
|
|
void | launch_uris_async (const std::vector< std::string > &uris, const Glib::RefPtr< AppLaunchContext > &context, const Glib::RefPtr< Cancellable > &cancellable={}) |
| A launch_uris_async() convenience overload.
|
|
bool | launch_uris_finish (const Glib::RefPtr< AsyncResult > &result) |
| Finishes a Gio::AppInfo::launch_uris_async() operation.
|
|
bool | should_show () const |
| Checks if the application info should be shown in menus that list available applications.
|
|
bool | can_delete () const |
| Obtains the information whether the Gio::AppInfo can be deleted.
|
|
bool | do_delete () |
| Tries to delete a Gio::AppInfo.
|
|
bool | set_as_default_for_type (const std::string &content_type) |
| Sets the application as the default handler for a given type.
|
|
bool | set_as_default_for_extension (const std::string &extension) |
| Sets the application as the default handler for the given file extension.
|
|
bool | add_supports_type (const std::string &content_type) |
| Adds a content type to the application information to indicate the application is capable of opening files with the given content type.
|
|
bool | can_remove_supports_type () const |
| Checks if a supported content type can be removed from an application.
|
|
bool | remove_supports_type (const std::string &content_type) |
| Removes a supported type from an application, if possible.
|
|
std::vector< Glib::ustring > | get_supported_types () const |
| Retrieves the list of content types that app_info claims to support.
|
|
bool | set_as_last_used_for_type (const std::string &content_type) |
| Sets the application as the last used application for a given type.
|
|
| Interface () |
| A Default constructor.
|
|
| Interface (Interface &&src) noexcept |
|
Interface & | operator= (Interface &&src) noexcept |
|
| Interface (const Glib::Interface_Class &interface_class) |
| Called by constructors of derived classes.
|
|
| Interface (GObject *castitem) |
| Called by constructors of derived classes.
|
|
| ~Interface () noexcept override |
|
| Interface (const Interface &)=delete |
|
Interface & | operator= (const Interface &)=delete |
|
GObject * | gobj () |
|
const GObject * | gobj () const |
|