Thursday, May 2, 2024
 Popular · Latest · Hot · Upcoming
18
rated 0 times [  18] [ 0]  / answers: 1 / hits: 13219  / 2 Years ago, tue, january 18, 2022, 8:40:39

I just discovered that zenity support html tags.



zenity --error --text "hello <b>world</b>"


but how to make it work with entry type ?



zenity --entry --text "hello <b>world</b>"


It's printing tags instead of interpreting them.


More From » html

 Answers
1

Zenity and the entry option does not support the "pango" markup options.



error, info, question, warning are the only options that support these markups.



If you examine the man page for zenity - those options can have the pango markups turned on or off.



FYI this link gives you the markups supported: http://developer.gnome.org/pygtk/stable/pango-markup-language.html



The only suggestion I can make is to make this request upstream to the zenity developers


[#41064] Thursday, January 20, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
biryanrownies

Total Points: 396
Total Questions: 90
Total Answers: 106

Location: Saint Lucia
Member since Sun, Sep 5, 2021
3 Years ago
;