TODO. More...
#include <giomm/application.h>
Public Member Functions | |
virtual | ~Application () |
GApplication* | gobj () |
Provides access to the underlying C GObject. | |
const GApplication* | gobj () const |
Provides access to the underlying C GObject. | |
GApplication* | gobj_copy () |
Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs. | |
bool | register_application () |
Glib::ustring | get_id () const |
void | add_action (const Glib::ustring& name, const Glib::ustring& description) |
void | remove_action (const Glib::ustring& name) |
Glib::StringArrayHandle | list_actions () const |
void | set_action_enabled (const Glib::ustring& name, bool enabled=true) |
bool | get_action_enabled (const Glib::ustring& name) const |
Glib::ustring | get_action_description (const Glib::ustring& name) |
void | invoke_action (const Glib::ustring& name, const Glib::VariantBase& platform_data) |
void | run () |
bool | quit_with_data (const Glib::VariantBase& platform_data) |
bool | is_remote () const |
Static Public Member Functions | |
static Glib::RefPtr< Application > | create (const Glib::ustring& appid, int argc, char** argv) |
static Glib::RefPtr< Application > | create (const Glib::ustring& appid) |
static Glib::RefPtr< Application > | create_try (const Glib::ustring& appid, int argc, char** argv) |
static Glib::RefPtr< Application > | create_try (const Glib::ustring& appid) |
static Glib::RefPtr< Application > | create_unregistered_try (const Glib::ustring& appid, int argc, char** argv) |
static Glib::RefPtr< Application > | create_unregistered_try (const Glib::ustring& appid) |
static Glib::RefPtr< Application > | get_instance () |
Protected Member Functions | |
Application () | |
Related Functions | |
(Note that these are not member functions.) | |
Glib::RefPtr< Gio::Application > | wrap (GApplication* object, bool take_copy=false) |
A Glib::wrap() method for this object. |
TODO.
virtual Gio::Application::~Application | ( | ) | [virtual] |
Gio::Application::Application | ( | ) | [protected] |
void Gio::Application::add_action | ( | const Glib::ustring& | name, | |
const Glib::ustring& | description | |||
) |
static Glib::RefPtr<Application> Gio::Application::create | ( | const Glib::ustring& | appid | ) | [static] |
static Glib::RefPtr<Application> Gio::Application::create | ( | const Glib::ustring& | appid, | |
int | argc, | |||
char ** | argv | |||
) | [static] |
static Glib::RefPtr<Application> Gio::Application::create_try | ( | const Glib::ustring& | appid | ) | [static] |
static Glib::RefPtr<Application> Gio::Application::create_try | ( | const Glib::ustring& | appid, | |
int | argc, | |||
char ** | argv | |||
) | [static] |
static Glib::RefPtr<Application> Gio::Application::create_unregistered_try | ( | const Glib::ustring& | appid | ) | [static] |
static Glib::RefPtr<Application> Gio::Application::create_unregistered_try | ( | const Glib::ustring& | appid, | |
int | argc, | |||
char ** | argv | |||
) | [static] |
Glib::ustring Gio::Application::get_action_description | ( | const Glib::ustring& | name | ) |
bool Gio::Application::get_action_enabled | ( | const Glib::ustring& | name | ) | const |
Glib::ustring Gio::Application::get_id | ( | ) | const |
static Glib::RefPtr<Application> Gio::Application::get_instance | ( | ) | [static] |
const GApplication* Gio::Application::gobj | ( | ) | const [inline] |
Provides access to the underlying C GObject.
Reimplemented from Glib::ObjectBase.
GApplication* Gio::Application::gobj | ( | ) | [inline] |
Provides access to the underlying C GObject.
Reimplemented from Glib::ObjectBase.
GApplication* Gio::Application::gobj_copy | ( | ) |
Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs.
void Gio::Application::invoke_action | ( | const Glib::ustring& | name, | |
const Glib::VariantBase& | platform_data | |||
) |
bool Gio::Application::is_remote | ( | ) | const |
Glib::StringArrayHandle Gio::Application::list_actions | ( | ) | const |
bool Gio::Application::quit_with_data | ( | const Glib::VariantBase& | platform_data | ) |
bool Gio::Application::register_application | ( | ) |
void Gio::Application::remove_action | ( | const Glib::ustring& | name | ) |
void Gio::Application::run | ( | ) |
void Gio::Application::set_action_enabled | ( | const Glib::ustring& | name, | |
bool | enabled = true | |||
) |
Glib::RefPtr< Gio::Application > wrap | ( | GApplication * | object, | |
bool | take_copy = false | |||
) | [related] |
A Glib::wrap() method for this object.
object | The C instance. | |
take_copy | False if the result should take ownership of the C instance. True if it should take a new copy or ref. |