Re: [Vala] How to call base constructors



În data de Jo, 07-05-2009 la 14:05 +0200, Frederik a scris:
Adi Roiban wrote:
Do we have Gtk.CheckMenuItem.label and Gtk.CheckMenuItem.use_undeline ?
I failed to find those properties.

Yes, CheckMenuItem inherits these from MenuItem
Does this mean that valadoc is outdated?
http://valadoc.org/?pkg=gtk+-2.0&element=Gtk.MenuItem


I'm using valac 0.6.1

I have:

public class GenericMenuItem : Gtk.CheckMenuItem 

When compiling I got:


error: The name `label' does not exist in the context of
`GenericMenuItem'
                this.label = name;


Cheers,
-- 
Adi Roiban




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