Re: [Vala] A simple pangocairo example.



On 04/02/2008, Stuart Jansen <sjansen gurulabs com> wrote:
I was disappointed to discover that http://live.gnome.org/Vala did not
contain a pangocairo example. So I wrote one myself. Of course, I only
started learning Vala yesterday, so my code should probably be reviewed
by someone more experienced.

Would anyone be willing to review the attached example and add it to
live.gnome.org?

--
Stuart Jansen <sjansen gurulabs com>
Guru Labs

_______________________________________________
Vala-list mailing list
Vala-list gnome org
http://mail.gnome.org/mailman/listinfo/vala-list


You could use GOptionEntry to parse command line options, see
http://library.gnome.org/devel/glib/unstable/glib-Commandline-option-parser.html
or vala/compiler/valacompiler.vala in the vala source on how to use
it.

and title could be set in CairoSample() as I guess its a property with
something like CairoSample(construct string title) { }



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