CHAPTER 6Using GLib

Now that you have a reasonable grasp of GTK+ and a number of simple widgets, it is time to move to another library. GTK+ depends on GLib, a general-purpose library that provides many kinds of utility functions, data types, and wrapper functions. In fact, you have already used some aspects of GLib in previous chapters.

GLib can be run independently of any other library, which means that some of the examples in this chapter do not require the GTK+, GDK, and Pango libraries. However, GTK+ does depend on GLib.

Not all of the topics throughout this chapter will be used in later chapters, but all are useful in many GTK+ applications in the real world. Many of the topics are used for very specific tasks. For example, GModule can ...

Get Foundations of GTK+ Development now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.