Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 

Gtk+/Gnome Application Development
Prev Home Next

Section Iterators

gnome_config_init_iterator_sections() allows you to iterate over the sections in a file, rather than over the keys in a section. When iterating over sections, gnome_config_iterator_next() ignores its value argument and places the section name in the key argument.

#include <libgnome/gnome-config.h>

void* gnome_config_init_iterator(const gchar* path);

void* gnome_config_private_init_iterator(const gchar* path);

void* gnome_config_init_iterator_sections(const gchar* path);

void* gnome_config_private_init_iterator_sections(const gchar* path);

void* gnome_config_iterator_next(void* iterator_handle, gchar** key, gchar** value);

Figure 6. Configuration file iterators

Gtk+/Gnome Application Development
Prev Home Next

 
 
  Published under free license. Design by Interspire