Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Last revisionBoth sides next revision |
projects:panel-plugins:xfce4-genmon-plugin [2017/03/05 20:44] – [Screenshots] toz | projects:panel-plugins:xfce4-genmon-plugin [2017/10/29 19:44] – [Usage] minor changes toz |
---|
**Pango Markups in the <txt> tag** | **Pango Markups in the <txt> tag** |
| |
The <txt> tag supports Pango Markups. See: [[https://developer.gnome.org/pango/stable/PangoMarkupFormat.html]]. With Pango markups, you can change text attributes like font colour, weight, size, etc, in your output string. To do so, use the <span></span> tag within the <txt></txt> tags. For example, to display the output in bold red, you could use something like: | Both the <txt> and <tool> tags support Pango Markups. See: [[https://developer.gnome.org/pango/stable/PangoMarkupFormat.html]]. With Pango markups, you can change text attributes like font colour, weight, size, etc, in your output string. To do so, use the <span></span> tag within the <txt></txt> or <tool></tool> tags. For example, to display the output in bold red, you could use something like: |
| |
echo "<txt><span weight='Bold' fgcolor='Red'>Test</span></txt>" | echo "<txt><span weight='Bold' fgcolor='Red'>Test</span></txt>" |
| |
| |
**Enhanced Gtk3 CSS Styling Capabilities (//dev-only//)** | **Enhanced Gtk3 CSS Styling Capabilities** |
| |
CSS styling capabilities have been enhanced by providing style classes for all elements of the plugin that can be styled via themes or individual overrides (~/.config/gtk-3.0/gtk.css). For more information, see: [[https://git.xfce.org/panel-plugins/xfce4-genmon-plugin/tree/CSS%20Styling.txt]]. | CSS styling capabilities have been enhanced by providing style classes for all elements of the plugin that can be styled via themes or individual overrides (~/.config/gtk-3.0/gtk.css). For more information, see: [[https://git.xfce.org/panel-plugins/xfce4-genmon-plugin/tree/CSS%20Styling.txt]]. |