Special Characters

GTK Special Characters The following characters need escaping: &, <, > You can use g_markup_escape_text() to do it, e.g.:

Read More

.Labels General

Adding A Label At A Fixed Position Update Label Styling Text See the available Pango styling options here. Setting A Font Name Font Size Using Newly Installed Fonts We originally copied new ttf fonts into ~/.fonts (/home/pi/.fonts ) and couldn’t use them in GTK.  We moved them to /usr/share/fonts/truetype, rebooted and they worked fine, e.g. Multi Line […]

Read More