Gio::Application Class Reference

TODO. More...

#include <giomm/application.h>

Inheritance diagram for Gio::Application:
Inheritance graph
[legend]

List of all members.

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< Applicationcreate (const Glib::ustring& appid, int argc, char** argv)
static Glib::RefPtr< Applicationcreate (const Glib::ustring& appid)
static Glib::RefPtr< Applicationcreate_try (const Glib::ustring& appid, int argc, char** argv)
static Glib::RefPtr< Applicationcreate_try (const Glib::ustring& appid)
static Glib::RefPtr< Applicationcreate_unregistered_try (const Glib::ustring& appid, int argc, char** argv)
static Glib::RefPtr< Applicationcreate_unregistered_try (const Glib::ustring& appid)
static Glib::RefPtr< Applicationget_instance ()

Protected Member Functions

 Application ()

Related Functions

(Note that these are not member functions.)



Glib::RefPtr< Gio::Applicationwrap (GApplication* object, bool take_copy=false)
 A Glib::wrap() method for this object.

Detailed Description

TODO.

Since glibmm 2.26:

Constructor & Destructor Documentation

virtual Gio::Application::~Application (  )  [virtual]
Gio::Application::Application (  )  [protected]

Member Function Documentation

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 
)

Friends And Related Function Documentation

Glib::RefPtr< Gio::Application > wrap ( GApplication *  object,
bool  take_copy = false 
) [related]

A Glib::wrap() method for this object.

Parameters:
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.
Returns:
A C++ instance that wraps this C instance.

Generated on Tue Aug 3 16:50:04 2010 for glibmm by  doxygen 1.6.1