And thank you :)

I'll certainly look into implementing your suggestions regarding the documentation. To answer your other questions :-

"Client Crashes" - Currently Gnome15 will clean up any resources opened by the DBUS client when it closes. It didn't used to do this, allowing bash scripts and the command line DBUS tools to be used to create pages. But this was slow, and there was no way of knowing when to clean up if it went wrong.

"The drawing commands feel quite slow" - This may be just DBUS, the drawing itself should be pretty quick. I think it's possible to make DBUS calls without waiting for a reply, which might speed things up a bit - no idea how though or what any side effects might be. Another alternative is to design the screen in SVG and use the SetThemeSVG() or LoadTheme() calls which will mean only 1 call. You can then draw other shapes or text over the top of that.

"The Image() page function rocks" - Interesting use of that function! It should support anything that GTK does. Can you find out by runnng :-

$ python import gtk gtk.gdk.pixbuf_get_formats()

Brett


In reply to Re^3: Net::DBus/Logitech G19 Meditator by tanktarta
in thread Net::DBus/Logitech G19 Meditator by cavac

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.