Re: [gnomemm] how should I use Gnome::Program::locate_file?
- From: Manuel Clos <llanero eresmas net>
- To: Dale Hirt <dale sbcltd com>
- Cc: gnomemm-list <gnomemm-list gnome org>
- Subject: Re: [gnomemm] how should I use Gnome::Program::locate_file?
- Date: Sat, 14 Sep 2002 21:23:10 +0200
Dale Hirt wrote:
Since it is a static object, you need to use the get() function to get a
pointer to Gnome::Program:
Gnome::Program::get()->locate_file((GnomeFileDomain)10, "pixmap_open.png")
Thank you Dale, that worked!
or:
Glib::RefPtr<Gnome::Program> ptrProg = Gnome::Program::get();
ptrProg->->locate_file((GnomeFileDomain)10, "pixmap_open.png");
--
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]