Re: [Vala] Object properties question



Tadej Borovšak wrote:
Hello.

I have just started learning vala couple of days ago with main purpose
of making my life when developing new widgets for GTK+ less painfull.

Everything so far worked nicely, but I noticed that when installing
properties on object, I'm not able to limit them to a specific
interval like I'm able to do when using C directly. All properties are
installed with maximum range allowed by the property type.

Is there a way to alter this from vala code?

BTW, current behavior poses no real problem for me, I'm just being curious.

Thank you in advance for any information.


Tadej

At the moment it's not possible. There's an enhancement request on
Bugzilla: https://bugzilla.gnome.org/show_bug.cgi?id=580385


Best regards,

Frederik



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