Introduction To GObject

Prerequisite: 101, 102, 103

Mentor

ChristianHergert

Course Materials

git.gnome.org

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.

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

Chapter 1

Chapter 2

Chapter 3

Chapter 4

Chapter 5

Chapter 6

Chapter 7

Chapter 8

Chapter 9

Chapter 10

Outreach/GnomeUniversity/C/IntroductionToGObject (last edited 2013-12-04 18:14:58 by WilliamJonMcCann)