Re: Getting folder names
- From: Leandro Pereira <leandro linuxmag com br>
- To: gtk-app-devel-list lists gnome org
- Cc:
- Subject: Re: Getting folder names
- Date: Tue, 14 Sep 2004 15:41:32 -0300
Gautam Narain wrote:
I am using glade to design the interface and I have a
file selection dialog. I know how to get the file
selection. But how exactly do I go about getting
folder names ?
Try using g_path_get_dirname():
gchar *dirname;
dirname = g_path_get_dirname(output)
g_print("%s\n", dirname);
g_free(dirname);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]