I'm not sure I understand the question. It reads something
like:
I want to build a house out of a door
Or perhaps you really want to write an X server ? There's
really nothing that the Tk module would help you with
there. There is a module that implments the client side
of the X11 protocol. See X11::Protocol.
Update: Ahh..I think I see the light now...
Since Tk runs on Windows without X11, you'd like
to create a canvas or something, accept the X11
client connections on port 6000, and draw on the
canvas. That's a pretty imposing project, and I don't
think you'll get enough speed using Tk primitives
to draw with.
There is a pretty decent, stable X11 server for Win32
out there. See Xfree86 running on Cygwin. I also stumbled into an X11 window manager written
in perl ( shudder :)
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: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.