Introduction To GObject
Prerequisite: 101, 102, 103
This course will cover the basics of Object Oriented Programming and technology that has its roots in OOP, such as classes, properties, and events. The student will learn how to read and write objects using GObject in the C programming language.
Students will work through the following chapters and perform the exercises. Questions may be asked of the mentor as well as the community on IRC.
Topics that need to be covered
these will need to be put into chapters and organized.
- What is reference counting
- What is an Object
- What is inheritance
- What is an interface
- What is an abstract type
- Virtual functions
- Signals (aka events)
- Why you should keep your implementation private
- Reserving space for future ABI extensions
- Finalizers (and dispose)
- Cyclic reference counts
- Boxed types
- GValue generic type container
- Freeing your data after g_object_get(), gtk_tree_model_get(), etc.
- Weak references