unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* format text in TreeWidget.
@ 2011-01-10  9:08 Alin Soare
  2011-01-10 14:47 ` Tassilo Horn
  0 siblings, 1 reply; 2+ messages in thread
From: Alin Soare @ 2011-01-10  9:08 UTC (permalink / raw)
  To: help-gnu-emacs

[-- 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 --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-01-10 14:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-01-10  9:08 format text in TreeWidget Alin Soare
2011-01-10 14:47 ` Tassilo Horn

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).