Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members

Gnome::Program Class Reference

Initialize and retrieve information about a GNOME application. More...

#include <program.h>

Inheritance diagram for Gnome::Program:

Object 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

Glib::RefPtr< Programget ()

Related Functions

(Note that these are not member functions.)

Glib::RefPtr< Gnome::Programwrap (GnomeProgram *object, bool take_copy=false)

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

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]
 

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:
Generated on Mon Jul 25 10:07:22 2005 for libgnomemm by  doxygen 1.3.9.1