Re: [Vala] setting this.window from Gtk.Widget subclass is not allowed?
- From: Jürg Billeter <j bitron ch>
- To: Ali Afshar <aafshar gmail com>
- Cc: vala-list gnome org
- Subject: Re: [Vala] setting this.window from Gtk.Widget subclass is not allowed?
- Date: Fri, 12 Jun 2009 23:19:30 +0200
On Fri, 2009-06-12 at 10:02 +0100, Ali Afshar wrote:
Hi everyone, nice work with Vala, I am quite excited.
I am not sure whether this is a bug or not, but when I follow the custom
widget examples on http://live.gnome.org/Vala/CustomWidgetSamples, in
the final example, which set's this.window (which seems right for gtk+
and is needed later by other parts of gtk+) I get an error complaining
that "window" is read-only.
I am not sure what I am doing wrong, but this pretty much stuffs me from
writing a custom widget implementation. Granted, I can subclass
DrawingArea (except I need a container implementation) or EventBox
(which already has 2 Gdk.Window), but it's not exactly ideal.
Fixed in git master.
Jürg
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]