"text" should be completely hidden because we have the "set_text"/"get_text" in parallel with the "set_markup".
Btw, shouldn't a construction-method with a string as parameter work for the derrived class like for a Gtk.Label? It doesn't. using Gtk; public class MyLabel : Label { } static int main (string[] args) { Gtk.init (ref args); var window = new Window (WindowType.TOPLEVEL); var label = new MyLabel("construct text"); window.add (label); window.show_all (); Gtk.main (); return 0; } Am Donnerstag, den 30.10.2008, 15:44 +0100 schrieb Thijs Vermeir: > Hi > > On Thu, Oct 30, 2008 at 3:22 PM, Luca Dionisi <[EMAIL PROTECTED]> wrote: > > On Thu, Oct 30, 2008 at 3:15 PM, Thijs Vermeir <[EMAIL PROTECTED]> 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 > _______________________________________________ > Vala-list mailing list > Vala-list@gnome.org > http://mail.gnome.org/mailman/listinfo/vala-list _______________________________________________ Vala-list mailing list Vala-list@gnome.org http://mail.gnome.org/mailman/listinfo/vala-list