all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Alin Soare <as1789@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: format text in TreeWidget.
Date: Mon, 10 Jan 2011 11:08:08 +0200	[thread overview]
Message-ID: <AANLkTik7YPAe=kSXTc9qLFq2M8Hf2VYaen9=vJ_fAcOB@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 1395 bytes --]

I did write the following code.

As the :tag text is  very long on some lines, and pass over the end the
line,  it is displayed on myltiple lines, and the tree looks spoiled. I wish
to make the tree widget show the text formatted correctly, and on maximum N
columns.




(widget-create (quote tree-widget) :node (quote (push-button :tag
"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" :format "%[%t%]
"))
 (quote (tree-widget :tag
"...............................................................................................................................................................................................)
"))
 (quote (tree-widget :tag
"#################################################################################################################################################################################################################################"))
 (quote (tree-widget :tag
"$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
$$$"))) <http://mail.gnu.org/mailman/listinfo/help-gnu-emacs>


How can I do this ?


Thanks for any help.

[-- Attachment #2: Type: text/html, Size: 1545 bytes --]

             reply	other threads:[~2011-01-10  9:08 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-10  9:08 Alin Soare [this message]
2011-01-10 14:47 ` format text in TreeWidget Tassilo Horn
  -- strict thread matches above, loose matches on Subject: below --
2011-01-10 20:53 Alin Soare
2011-01-10 21:04 ` Alin Soare
2011-01-10 21:10 ` Chong Yidong

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='AANLkTik7YPAe=kSXTc9qLFq2M8Hf2VYaen9=vJ_fAcOB@mail.gmail.com' \
    --to=as1789@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.