I set my labels to use_markup in glade-2. Why don they markup the contents I set?
Marking up the contents of a label is a bit tricky. There are two things to wrap your head around: • always use set_markup() if you want the content you are setting to be parsed as markup — do NOT use set_text() (it will happily ignore the markup and you will be left in a confused state where will you wander into this FAQ). • The glade use_markup setting is actually the ‘use-markup’ gtk.Label GObject property. “use-markup” only controls how to interpret the text given in the ‘label’ property. label.
Marking up the contents of a label is a bit tricky. There are two things to wrap your head around: • always use set_markup() if you want the content you are setting to be parsed as markup — do NOT use set_text() (it will happily ignore the markup and you will be left in a confused state where will you wander into this FAQ). • The glade use_markup setting is actually the ‘use-markup’ gtk.Label GObject property. “use-markup” only controls how to interpret the text given in the ‘label’ property.
Related Questions
- At this April meeting when the justification was made why a new book was needed, was there any discussion of the contents or substance of the biology book on the subject of evolution?
- I set my labels to use_markup in glade-2. Why don they markup the contents I set?
- What Is the Nutrition Information on Food Labels?