#include <program.h>
Inheritance diagram for Gnome::Program:

Public Member Functions | ||||
| virtual | ~Program () | |||
| GnomeProgram * | gobj () | |||
| Provides access to the underlying C GObject. | ||||
| const GnomeProgram * | gobj () const | |||
| Provides access to the underlying C GObject. | ||||
| GnomeProgram * | gobj_copy () | |||
| Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs. | ||||
| Glib::ustring | get_human_readable_name () const | |||
| Glib::ustring | get_app_id () const | |||
| Glib::ustring | get_app_version () const | |||
| Glib::ustring | locate_file (FileDomain domain, const Glib::ustring &file_name, bool only_if_exists=true) | |||
| Glib::SListHandle< Glib::ustring > | locate_file_multiple (FileDomain domain, const Glib::ustring &file_name, bool only_if_exists=true) | |||
Static Public Member Functions | ||||
| static Glib::RefPtr< Program > | get () | |||
Related Functions | ||||
| (Note that these are not member functions.) | ||||
| Glib::RefPtr< Gnome::Program > | wrap (GnomeProgram *object, bool take_copy=false) | |||
| ||||
This is a singleton - Use Program::get() to retrieve an instance on which to call the other methods.
| virtual Gnome::Program::~Program | ( | ) | [virtual] |
| GnomeProgram* Gnome::Program::gobj | ( | ) | [inline] |
Provides access to the underlying C GObject.
| const GnomeProgram* Gnome::Program::gobj | ( | ) | const [inline] |
Provides access to the underlying C GObject.
| GnomeProgram* Gnome::Program::gobj_copy | ( | ) |
Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs.
| static Glib::RefPtr<Program> Gnome::Program::get | ( | ) | [static] |
| Glib::ustring Gnome::Program::get_human_readable_name | ( | ) | const |
| Glib::ustring Gnome::Program::get_app_id | ( | ) | const |
| Glib::ustring Gnome::Program::get_app_version | ( | ) | const |
| Glib::ustring Gnome::Program::locate_file | ( | FileDomain | domain, | |
| const Glib::ustring & | file_name, | |||
| bool | only_if_exists = true | |||
| ) |
| Glib::SListHandle<Glib::ustring> Gnome::Program::locate_file_multiple | ( | FileDomain | domain, | |
| const Glib::ustring & | file_name, | |||
| bool | only_if_exists = true | |||
| ) |
| Glib::RefPtr< Gnome::Program > wrap | ( | GnomeProgram * | object, | |
| bool | take_copy = false | |||
| ) | [related] |
| 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. |
1.5.1