Re: [pygtk] can I watch all signals being emitted?



On Mon, 18 Jun 2001, Skip Montanaro wrote:

>
> For debugging and tutorial purposes, is it possible to easily see all signal
> emissions (or all signal emissions by a particular object)?

There are some debug flags for the GType system, but at the moment the
gobject module hard codes this to 0 (no flags).  For now, you could change
the line in gobjectmodule.c:
  g_type_init(0);
to:
  g_type_init(G_TYPE_DEBUG_SIGNALS);

I haven't really looked at making this configurable, as they were talking
about changing this interface a little on gtk-devel-list

James.

-- 
Email: james daa com au
WWW:   http://www.daa.com.au/~james/






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]