[gnomemm] how should I use Gnome::Program::locate_file?
- From: Manuel Clos <llanero eresmas net>
- To: gnomemm-list <gnomemm-list gnome org>
- Subject: [gnomemm] how should I use Gnome::Program::locate_file?
- Date: Sat, 14 Sep 2002 17:47:02 +0200
Hi all,
I'm trying to get the path for the pixmaps used in my app.
I need to use something like this:
Gnome::Program::locate_file((GnomeFileDomain)10, "pixmap_open.png")
but when doing so, the compiler says:
cannot call member function
`Gnome::Program::locate_file(GnomeFileDomain, const Glib::ustring &,
bool)' without object
but I really don't know how do I get to my Program object. There is no
constructor in program.h, Gnome::Main derives from Gtk::Main, and
Gnome::Program derives from Glib::Object.
So how do I use this function?
Thank you.
--
Manuel Clos
llanero eresmas net
TCPA y Palladium: http://bulmalug.net/body.phtml?nIdNoticia=1398
TCPA and Palladium: http://www.cl.cam.ac.uk/~rja14/tcpa-faq.html
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]