help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

format text in TreeWidget.


From: Alin Soare
Subject: format text in TreeWidget.
Date: Mon, 10 Jan 2011 11:08:08 +0200

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 "$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
$$$")))



How can I do this ?


Thanks for any help.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]