Re: GObject
- From: Tristan Van Berkom <tristan van berkom gmail com>
- To: Jorge Monsalvo <jm_tecno2002 yahoo com ar>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: GObject
- Date: Mon, 7 Mar 2005 11:50:17 -0500
On Mon, 7 Mar 2005 12:22:14 -0300, Jorge Monsalvo
[...]
What I want is create some "objects" that can run in the glib main loop
and send some signals when an event occurs. I said objects because I
want many instances of different kinds of objects.
Be carefull not to mix up object based GSource's and object oriented
GObject derivitave objects, a GSource is an event source that is either
a timeout or a file descriptor watch; some have implemented ipc mechanisms
with GSource or signal handleing as well.
A GSource dispatches an event from the main loop.
When a GObject emits a signal; the signal callbacks are executed regardless
of whether there is a main loop running or not (i.e. when an object method
is called that results in a signal being fired, all callbacks will have run and
completed before the said function returns).
HTH
Cheers,
-Tristan
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]