Hi,

On Thu, Oct 30, 2008 at 2:49 PM, Frederik <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I tried to subclass a Label, but the program will crash:
>
> ---------------------------------------------------------
> using Gtk;
>
> public class MyLabel : Label {
>
>        public MyLabel () {
>                this.text = "Subclassed Label";
>        }
> }

use should not use text directly but use the set_text function, (like
you would do in C)
Than it works.

Gr,
Thijs
_______________________________________________
Vala-list mailing list
Vala-list@gnome.org
http://mail.gnome.org/mailman/listinfo/vala-list

Reply via email to