Re: First documentation patch



red criticalintegration com writes:

Here is a patch to apply documentation for the first of the widgets
i've written for - Gtk2::Label.

Nice!
 

[...]

+  # Create a window within which we can display our Gtk2::Label.
+      my $window = new Gtk2::Window('toplevel');

I was said that the perl OO syntax is like that:

my $window = Gtk2::Window->new('toplevel');

So I think we should use it everywhere (Gtk2->init as well, etc).


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



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