On Thu, 2007-07-12 at 00:54 +0200, J.M. Maurer wrote:
> Hi guys,
>
> Attached is a patch to the abiwidget that adds a 'color' signal that
> fires when the text color changes (it passes 3 unsigned char's for the
> rgb value, hence the need for the custom g_closure marshaller).
>
> Can anyone see why this doesn't work? The callback is called just fine,
> but in python I can't seem to get the proper values. In fact, it thinks
> the arguments that are passed are *strings*, not
> char/int/somethinglikethat values.
>
> So I'm not sure if I just don't use it right in python, or that my patch
> is wrong. Any help would be appreciated.
Thanks to dom for the suggestion of using int's. Python doesn't 'like'
guchars.
Marc
Received on Thu Jul 12 22:56:24 2007
This archive was generated by hypermail 2.1.8 : Thu Jul 12 2007 - 22:56:25 CEST