public class PhoneUIGlade : Gtk.Object {
    protected Glade.XML xml;
    public class window_widgets {
    Gtk.Widget blah;
    Gtk.Widget blah2;
    }
    protected window_widgets widgets;
    private Module module;
}

Does not work; a subclass cannot access the protected member "widgets"
with the error:
 error: Access to private member `PhoneUIGlade.window_widgets.blah' denied

Making the class and variable public do not work:

public class PhoneUIGlade : Gtk.Object {
    protected Glade.XML xml;
    *public* class window_widgets {
    Gtk.Widget blah;
    Gtk.Widget blah2;
    }
    *public* window_widgets widgets;
    private Module module;
}

aggghhhh

Sam
_______________________________________________
Vala-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/vala-list

Reply via email to