Xfce Wiki

Sub domains
 

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Last revisionBoth sides next revision
projects:panel-plugins:xfce4-genmon-plugin [2017/03/05 20:44] – [Screenshots] tozprojects:panel-plugins:xfce4-genmon-plugin [2017/10/29 19:44] – [Usage] minor changes toz
Line 47: Line 47:
 **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>"
Line 63: Line 63:
  
  
-**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]].