comp.lang.ada
 help / color / mirror / Atom feed
From: briot.emmanuel@gmail.com
Subject: Re: Where do I get my Cairo context from (in GTK3)?
Date: Thu, 28 Apr 2016 00:48:34 -0700 (PDT)
Date: 2016-04-28T00:48:34-07:00	[thread overview]
Message-ID: <39b5f02e-3b17-460b-99fa-e5ba9a0a6c7d@googlegroups.com> (raw)
In-Reply-To: <nfps27$1lko$1@gioia.aioe.org>

> End instances of widgets are never like that. The most frequent case is 
> a container widget handling signals from its children. The first 
> parameter of the handler is never ever used, because the identification 
> of the issuer is the handler procedure itself. The user parameter is the 
> container widget, which is the case for the OP, I suppose.

We are in agreement on that, but to me that's exactly what the "Slot"
parameter (or Object_Connect) is for (and that is exactly what we use
in GPS. I agree 100% that in most cases the widget that emits the event
is irrelevant in the handling of the signal.

  reply	other threads:[~2016-04-28  7:48 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-04-24 20:44 Where do I get my Cairo context from (in GTK3)? hreba
2016-04-25  7:40 ` Dmitry A. Kazakov
2016-04-25 10:03   ` hreba
2016-04-25 11:58     ` Dmitry A. Kazakov
2016-04-26  7:22       ` briot.emmanuel
2016-04-26  7:34         ` hreba
2016-04-27  7:47           ` briot.emmanuel
2016-04-27  8:08             ` Dmitry A. Kazakov
2016-04-28  7:48               ` briot.emmanuel [this message]
2016-04-27 13:15             ` hreba
2016-04-27 13:37               ` Dmitry A. Kazakov
2016-04-28  7:49                 ` briot.emmanuel
2016-08-05 15:56 ` borisgaertner56
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox