Re: How to extend Canvas Group?



Please keep the group in the loop.

2010/4/7 Xi Yang <jiandingzhe msn com>:
package My::Class;
our @isa = qw/Gnome2::Canvas::Group/;

sub myMethod {}
# is that available to use GObject as hash ref directly?
# as I would store something in object
sub myDataAccessor {
my ($self,$value) = @_;
$self->{myKey} = $value;
}

I've never used Gnome::Canvas. Perhaps someone else can answer.

Regards

Jeff



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