GTK+ Forums Forum Index GTK+ Forums
Discussion forum for GTK+ and Programming. Ask questions, troubleshoot problems, view and post example code, or express your opinions.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

regarding finding subfolder name

 
Post new topic   Reply to topic    GTK+ Forums Forum Index -> GTK+ Programming
Author Message
ramesh
GTK+ Guru


Joined: 16 Nov 2006
Posts: 142
Location: INDIA

PostPosted: Fri Nov 17, 2006 9:58 am    Post subject: regarding finding subfolder name Reply with quote

hi every one
i have two folders.
one is ramesh(folder)
and other is ramesh1(sub folder of ramesh)
i have to find the second(ramesh1)folder name in runtime.

please tell me the way to find this.

thank you

ramesh
Back to top
openldev
Never Seen the Sunlight


Joined: 21 Sep 2005
Posts: 386
Location: Fairfax, Virginia

PostPosted: Fri Nov 17, 2006 4:18 pm    Post subject: Reply with quote

You'll want to use the GDir API to parse through the contents of a folder. More information can be found at:

http://developer.gnome.org/doc/API/2.0/glib/glib-File-Utilities.html#GDir
Back to top
Display posts from previous:   
Post new topic   Reply to topic    GTK+ Forums Forum Index -> GTK+ Programming All times are GMT
Page 1 of 1

 


Powered by phpBB © 2001, 2005 phpBB Group
CodeBB 1.0 Beta 2
Protected by Anti-Spam ACP