Re: Gtk2 and inheritance



Jörn Reder <joern zyn de> writes:

So we agree, re-blessing gtk2 objects from perl code is useless :).

Sorry - but here I disagree ;) The re-blessing is still necessary, 
otherwise the methods of my class are not visible. I can live with the 

I see. Personally I'd workaround this problem with things like:

sub Gtk2::Entry::my_new_method {
}

Though granted, this is probably less elegant.

-- 
Guillaume Cottenceau - http://people.mandrakesoft.com/~gc/



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