Re: Add a signal to an object
- From: Stefan Kost <kost imn htwk-leipzig de>
- To: Felix Bueltmann <mailing list visionexe de>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: Add a signal to an object
- Date: Tue, 18 Jan 2005 13:36:09 +0100
Hi Felix,
your networking code needs to be derived from gobject. Then you can add the
signal to that object and connect a callback for each canvas item to that object.
The signal calback can set at new color on its object (you can pass the canvas
item to user-data).
Stefan
Felix Bueltmann wrote:
Hello all,
I want to add a signal to my application.
I have a GnomeCanvas with alot of items on it.
When a specific networkpaket arrives I want to emit a signal, so that
all the GnomeCanvasItems change their color.
Could somebody give me some hints, how I could realize this?
Or maybe some links or example code.
Thanks in advance
Felix Bueltmann
--
\|/ Stefan Kost
<@ @> private business
+-oOO-(_)-OOo------------------------------------------------------ - - - - -
| __ Address Simildenstr. 5 HTWK Leipzig, Fb IMN, Postfach 301166
| /// 04277 Leipzig 04251 Leipzig
| __ /// Germany Germany
| \\\/// Phone +49341 2253538 +49341 30766101
| \__/ EMail st_kost_at_gmx.net kost_at_imn.htwk-leipzig.de
| WWW www.sonicpulse.de www.imn.htwk-leipzig.de/~kost/about.html
===-=-=--=---=---------------------------------- - - - - -
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]