Discussion in 'Ruby' started by Malte Milatz, Feb 27, 2005.

  1. Malte Milatz

    Malte Milatz Guest

    Hi folks,

    my question about Ruby/X11 (the pure-Ruby implementation of writing X11

    Is it possible to play around with it a bit (that, and nothing more, is
    what I'd like to do) without being an X11 guru? Any documentation, any
    tutorials for other languages that can be applied do Ruby/X11, too?

    Thanks in advance

    Malte Milatz, Feb 27, 2005
    1. Advertisements

  2. Malte Milatz

    vruz Guest

    Is it possible to play around with it a bit (that, and nothing more, is
    Very readable, clean code, still, you should know at least the basics
    of X11 for it to be useful to you.

    Keep in mind it was written originally for an older Ruby version
    (1.6.4 if I remember well, please correct me Mathieu if I'm wrong)

    Still, I don't understand what you mean by "tutorials for other
    languages that can be applied"

    Ruby/X11 is entirely written in Ruby, to be used from within Ruby
    programs, but of course there's plenty of other things that can be
    done on top of it, imagination is the limit.

    vruz, Feb 27, 2005
    1. Advertisements

  3. Malte Milatz

    Malte Milatz Guest

    Thanks for your answer. When you wrote "the basics of X11", did you mean I
    should know the overall structure of the X11 protocol? That's going to be
    a lot of stuff to read...

    However, it seems that I would have to look at the code of Ruby/X11 and
    guess and try out how it does what. That's actually what I wanted to
    avoid, because I usually struggle enough with my own code, and don't like
    time-consuming exercises like that.

    Malte Milatz, Feb 27, 2005
  4. Malte Milatz

    Eric Hodel Guest

    Content-Transfer-Encoding: 7bit
    Content-Type: text/plain; charset=US-ASCII; format=flowed

    Ruby/X11 is an X protocol implementation. It lacks many of the helpful
    methods of Xlib, so if you'll need to write out similar helpful wrapper
    methods yourself.

    Eric Hodel - -
    FEC2 57F1 D465 EB15 5D6E 7C11 332A 551C 796C 9F04

    content-type: application/pgp-signature; x-mac-type=70674453;
    content-description: This is a digitally signed message part
    content-disposition: inline; filename=PGP.sig
    content-transfer-encoding: 7bit

    Version: GnuPG v1.2.4 (Darwin)

    -----END PGP SIGNATURE-----

    Eric Hodel, Feb 28, 2005
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.