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

static Glib::RefPtr< Programget ()

Related Functions

(Note that these are not member functions.)

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


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

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 
)


Friends And Related Function Documentation

Glib::RefPtr< Gnome::Program > wrap ( GnomeProgram *  object,
bool  take_copy = false 
) [related]

Parameters:
object The C instance

Parameters:
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 Sat Mar 10 05:10:30 2007 for libgnomemm by  doxygen 1.5.1