If I got things right, Gtk-Perl supports only gtk 1.2. In that version, I have not seen any nice Tk like text features like tags that permit to associate to specific text sections properties like fonts, colors or handlers. See Tk::Text

I would be happy to be proven wrong because this is the only thing that keep me using Tk. For example the Tk::FileSelect widget mapped but beeing totally blank for many seconds while readding a dir with many entries is enough to drive me mad.

Some references: gtk 1.2, gtk 2.0

The text stuff in 2.0 seems complex but interesting and includes a tag mechanism. This is a nice overview. I have no experience with this gtk text stuff in C. But existence of tags in gtk 2.0 is moot point if I stick to perl until gtk 2.0 is supported from perl.

-- stefp -- check out TeXmacs wiki


In reply to Re: Re: forking in Tk and letting the dad alone deal with X stuff by stefp
in thread forking in Tk and letting the dad alone deal with X stuff by stefp

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.