Kevin Ryde wrote:
This is the paramspec->value_validate I posted before, cleaned up a bit.
Committed as r1059. Thanks!
___
gtk-perl-list mailing list
gtk-perl-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-perl-list
Torsten Schoenfeld <[EMAIL PROTECTED]> writes:
>
> There's one thing that still isn't clear to me: what about the
> gunichar issue? Your wrapper of g_param_value_validate uses
> gperl_value_from_sv,
Yes, I basically followed g_object_set doing init_property_value() and
gperl_value_from_sv() once I
Kevin Ryde wrote:
This is the paramspec->value_validate I posted before, cleaned up a bit.
There's one thing that still isn't clear to me: what about the gunichar issue?
Your wrapper of g_param_value_validate uses gperl_value_from_sv, so it will not
accept single-char string
This is the paramspec->value_validate I posted before, cleaned up a bit.
The main advantage is that the underlying operation is a vfunc, so the
pspec class can express strange sorts of restrictions on allowed values,
which you might want to check or enforce when doing stuff to property
values