Re: [Vala] How to subclass a Gtk.Label?



Hi

On Thu, Oct 30, 2008 at 3:22 PM, Luca Dionisi <luca dionisi gmail com> wrote:
On Thu, Oct 30, 2008 at 3:15 PM, Thijs Vermeir <thijsvermeir gmail com> wrote:
use should not use text directly but use the set_text function, (like
you would do in C)

Then vapi file should declare "text" as a read-only property.
Right?


"text" is not a property but a member of the public struct of
GtkLabel. But marked in the comments
as private. So it should be fully hidden in the vapi file.

Gr,
Thijs



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