[9339] in The GTK GIMP ToolKit mailing list archive

home help back first fref pref prev next nref lref last post

[gtk-list] file selection dialog

daemon@ATHENA.MIT.EDU (padraig@turing.idc.ul.ie)
Thu Oct 15 16:22:11 1998

From: padraig@turing.idc.ul.ie
Date: Thu, 15 Oct 1998 21:20:21 +0100 (IST)
To: gtk-list@redhat.com
In-Reply-To: <Pine.LNX.3.96.981015182018.18588L-100000@turing.idc.ul.ie>
Resent-From: gtk-list@redhat.com
Reply-To: gtk-list@redhat.com


hi,

when you collect the filename from the file selection dialog using

filename = gtk_file_selection_get_filename( GTK_FILE_SELECTION(fs) );

it returns the full path of the filename. my question is: is there any
quick way to get just the filename (i.e. without the path) or do you
have to extract it (from the longer string) yourself?


thx,

Padraig.

--
Padraig Finnerty                        www.csn.ul.ie/~padraig
Interaction Design Centre               www.idc.ul.ie
University Of Limerick                  www.ul.ie



-- 
To unsubscribe: mail -s unsubscribe gtk-list-request@redhat.com < /dev/null


home help back first fref pref prev next nref lref last post