1. Introduction To GObject
Prerequisite: 101, 102, 103
Mentor |
|
Course Materials |
|
IRC |
irc.gimp.net #gnome-university |
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.
1.1. 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)
- Properties
- Why you should keep your implementation private
- Reserving space for future ABI extensions
- Constructors
- 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
1.2. Chapter 1
1.3. Chapter 2
1.4. Chapter 3
1.5. Chapter 4
1.6. Chapter 5
1.7. Chapter 6
1.8. Chapter 7
1.9. Chapter 8
1.10. Chapter 9