Gnome::Program Class Reference
Initialize and retrieve information about a GNOME application.
More...
#include <program.h>
List of all members.
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) |
| A Glib::wrap() method for this object.
|
Detailed Description
Initialize and retrieve information about a GNOME application.
This is a singleton - Use Program::get() to retrieve an instance on which to call the other methods.
Constructor & Destructor Documentation
virtual Gnome::Program::~Program |
( |
|
) |
[virtual] |
Member Function Documentation
static Glib::RefPtr<Program> Gnome::Program::get |
( |
|
) |
[static] |
Glib::ustring Gnome::Program::get_app_id |
( |
|
) |
const |
Glib::ustring Gnome::Program::get_app_version |
( |
|
) |
const |
Glib::ustring Gnome::Program::get_human_readable_name |
( |
|
) |
const |
const GnomeProgram* Gnome::Program::gobj |
( |
|
) |
const [inline] |
Provides access to the underlying C GObject.
GnomeProgram* Gnome::Program::gobj |
( |
|
) |
[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.
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 | |
|
) |
| | |
Friends And Related Function Documentation
Glib::RefPtr< Gnome::Program > wrap |
( |
GnomeProgram * |
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.
The documentation for this class was generated from the following file: