:right-sidebar: True DesktopAppInfo =================================================================== .. currentmodule:: gi.repository.Gio .. deprecated:: PyGObject-3.16.0 Gio.DesktopAppInfo is deprecated; use GioUnix.DesktopAppInfo instead .. class:: DesktopAppInfo(**properties: ~typing.Any) :no-contents-entry: :Constructors: :: DesktopAppInfo(**properties) new(desktop_id:str) -> GioUnix.DesktopAppInfo or None new_from_filename(filename:str) -> GioUnix.DesktopAppInfo or None new_from_keyfile(key_file:GLib.KeyFile) -> GioUnix.DesktopAppInfo or None Constructors ------------ .. rst-class:: interim-class .. class:: DesktopAppInfo :no-index: .. classmethod:: new(desktop_id: str) -> ~gi.repository.GioUnix.DesktopAppInfo | None :param desktop_id: .. classmethod:: new_from_filename(filename: str) -> ~gi.repository.GioUnix.DesktopAppInfo | None :param filename: .. classmethod:: new_from_keyfile(key_file: ~gi.repository.GLib.KeyFile) -> ~gi.repository.GioUnix.DesktopAppInfo | None :param key_file: Methods ------- .. rst-class:: interim-class .. class:: DesktopAppInfo :no-index: .. method:: get_action_name(action_name: str) -> str :param action_name: .. method:: get_boolean(key: str) -> bool :param key: .. method:: get_categories() -> str | None .. method:: get_filename() -> str | None .. method:: get_generic_name() -> str | None .. classmethod:: get_implementations(interface: str) -> list[~gi.repository.GioUnix.DesktopAppInfo] :param interface: .. method:: get_is_hidden() -> bool .. method:: get_keywords() -> list[str] | None .. method:: get_locale_string(key: str) -> str | None :param key: .. method:: get_nodisplay() -> bool .. method:: get_show_in(desktop_env: str | None = None) -> bool :param desktop_env: .. method:: get_startup_wm_class() -> str | None .. method:: get_string(key: str) -> str | None :param key: .. method:: get_string_list(key: str) -> list[str] | None :param key: .. method:: has_key(key: str) -> bool :param key: .. method:: launch_action(action_name: str, launch_context: ~gi.repository.Gio.AppLaunchContext | None = None) -> None :param action_name: :param launch_context: .. method:: launch_uris_as_manager(uris: list[str], launch_context: ~gi.repository.Gio.AppLaunchContext | None, spawn_flags: ~gi.repository.GLib.SpawnFlags, user_setup: ~collections.abc.Callable[[~typing.Any], None] | None = None, user_setup_data: ~typing.Any = None, pid_callback: ~collections.abc.Callable[[~gi.repository.GioUnix.DesktopAppInfo, int, ~typing.Any], None] | None = None, pid_callback_data: ~typing.Any = None) -> bool :param uris: :param launch_context: :param spawn_flags: :param user_setup: :param user_setup_data: :param pid_callback: :param pid_callback_data: .. method:: launch_uris_as_manager_with_fds(uris: list[str], launch_context: ~gi.repository.Gio.AppLaunchContext | None, spawn_flags: ~gi.repository.GLib.SpawnFlags, user_setup: ~collections.abc.Callable[[~typing.Any], None] | None, user_setup_data: ~typing.Any, pid_callback: ~collections.abc.Callable[[~gi.repository.GioUnix.DesktopAppInfo, int, ~typing.Any], None] | None, pid_callback_data: ~typing.Any, stdin_fd: int, stdout_fd: int, stderr_fd: int) -> bool :param uris: :param launch_context: :param spawn_flags: :param user_setup: :param user_setup_data: :param pid_callback: :param pid_callback_data: :param stdin_fd: :param stdout_fd: :param stderr_fd: .. method:: list_actions() -> list[str] .. classmethod:: search(search_string: str) -> list[list[str]] :param search_string: .. classmethod:: set_desktop_env(desktop_env: str) -> None :param desktop_env: Properties ---------- .. rst-class:: interim-class .. class:: DesktopAppInfo :no-index: .. attribute:: props.filename :type: str