[Vala] Simple HTML viewer in genie syntax
- From: Barry Kauler <bkauler gmail com>
- To: vala-list <vala-list gnome org>
- Subject: [Vala] Simple HTML viewer in genie syntax
- Date: Wed, 11 Mar 2009 10:54:28 +0800
Thanks to Alberto Ruiz who did the original gtkmozembed binding and
wrote a simple demo HTML viewer in Vala, and also to another webkit
example, I was able to put together a very simple HTML viewer written
in Genie, with toolbar and buttons.
See snapshot and code at my blog:
http://puppylinux.com/blog/?viewDetailed=00596
http://puppylinux.com/blog/?viewDetailed=00595
It's so beautifully simple! The thing is though, I'm stuck on one
thing and I was wondering if someone on this mail-list could advise a
solution. I want to grey-out the forward and back buttons
as-appropriate, and I have a update_buttons() method in the code, but
I don't know how to call it when a window page changes.
Another problem is I would like to tell it to use a different font,
especially to display antialiased.
If anyone notices anything structurally inappropriate in my example,
kindly let me know. I'm a beginner at this, learning by doing (only
have basic C, bash and assembler coding skills).
Note, the next thing I want to do is pass the URL, width, height and
title via the commandline, as want to use this in scripts for quick
and easy HTML help-page viewing.
Regards,
Barry Kauler
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]