Re: [OT] full pathname to a specific file



I'm not sure that any of those functions do what you want.  You may
need to look for something like gnome-vfsmm or boost::filesystem.
disclaimer: I don't have much experience with either of these, but I
assume that they can probably do what you need.  Whether you want to
introduce them as dependencies is another issue.

Jonner


On 2/1/06, B.Hakvoort <bart hakvoort be> wrote:
> Hi Bartek,
>
> i'm quite sure you will find what you are looking for at
> http://gtkmm.org/docs/glibmm-2.4/docs/reference/html/group__MiscUtils.html
>
> enjoy :)
>
> plors
>
> On Tue, 2006-01-31 at 22:42 +0000, Bartek Kostrzewa wrote:
> > Hi, I'm currently adding a feature to my gtkmm image viewer gimmage
> > which will allow the user to open all files in the directory even though
> > only one file was initially opened (as per user request). However,
> > get_current_dir_name or getcwd do not cut it as the application is not
> > always launched from the command-line and hence the current working
> > directory is not always correct. Also, when an argument such as
> > "images/image.jpg" is given on the command line, the aforementioned
> > functions don't return (obviously) the right path.
> >
> > Any ideas?
> >
> > -Bartek
> > _______________________________________________
> > gtkmm-list mailing list
> > gtkmm-list gnome org
> > http://mail.gnome.org/mailman/listinfo/gtkmm-list
>
> _______________________________________________
> gtkmm-list mailing list
> gtkmm-list gnome org
> http://mail.gnome.org/mailman/listinfo/gtkmm-list
>



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]