Mercurial > geeqie
view doc/7_sidebars.html @ 622:54e20abb5c6d
Fix display of collection in overlay info.
Due to markup escaped <i>collection</i> was displayed instead of collection's in italic.
Overlay info syntax was extended to allow the wrapping of displayed data with markup.
General syntax is: %name[:length limit][:extra]%
Extra string uses special character '*' to mark the place of the data to display.
If no '*' is present, then extra string is just appended to data.
Any "\n" is replaced by a newline on display.
Pango mark up is accepted in left and right parts.
If data is empty, nothing will be displayed.
Examples:
"%name:<i>*</i>\n%" -> name is displayed in italics ended with a newline
"%size:\n%" -> size is displayed with a newline at end
"%formatted.ISOSpeedRating:ISO *%" -> prefix iso number with "ISO " (ie. "ISO 100")
"Collection <b>*</b>\n" -> display collection name in bold prefixed by "Collection " and a newline is appended
Collection name formatting was slighly improved by not displaying the .gqv extension.
The default overlay info string was modified to use the new syntax, but older info strings should be
displayed as usual.
author | zas_ |
---|---|
date | Sat, 10 May 2008 21:29:53 +0000 |
parents | e0d0593d519e |
children | 1b01410e6860 |
line wrap: on
line source
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML> <HEAD> <META HTTP-EQUIV="CONTENT-TYPE" CONTENT="text/html; charset=iso-8859-1"> <TITLE>Sidebars - GQview User Manual</TITLE> <META NAME="GENERATOR" CONTENT="OpenOffice.org 1.1.0 (Linux)"> <META NAME="CREATED" CONTENT="20040805;23590500"> <META NAME="CHANGED" CONTENT="20041001;15410600"> </HEAD> <BODY LANG="en-US" DIR="LTR"> <CENTER> <TABLE WIDTH=100% BORDER=0 CELLPADDING=4 CELLSPACING=0 STYLE="page-break-before: always"> <COL WIDTH=85*> <COL WIDTH=85*> <COL WIDTH=85*> <THEAD> <TR VALIGN=TOP> <TD WIDTH=33%> <P><A HREF="6_collections.html">Previous</A></P> </TD> <TD WIDTH=33%> <P ALIGN=CENTER>Sidebars</P> </TD> <TD WIDTH=33%> <P ALIGN=RIGHT><A HREF="7_1_exif.html">Next</A></P> </TD> </TR> </THEAD> </TABLE> </CENTER> <HR> <H1>7. Sidebars</H1> <P>A sidebar is a panel that appears next to an image, and displays additional information about the image.</P> <P><BR><BR> </P> <P STYLE="margin-left: 0.79in">7.1 <A HREF="7_1_exif.html">EXIF sidebar</A></P> <P STYLE="margin-left: 0.79in">7.2 <A HREF="7_2_sort_manager.html">Sort Manager sidebar</A></P> <P STYLE="margin-left: 0.79in">7.3 <A HREF="7_3_keywords_sidebar.html">Keywords sidebar</A></P> <P><BR><BR> </P> <P><BR><BR> </P> <HR> <CENTER> <TABLE WIDTH=100% BORDER=0 CELLPADDING=4 CELLSPACING=0> <COL WIDTH=85*> <COL WIDTH=85*> <COL WIDTH=85*> <THEAD> <TR VALIGN=TOP> <TD WIDTH=33%> <P><A HREF="6_collections.html">Previous</A></P> </TD> <TD WIDTH=33%> <P ALIGN=CENTER><A HREF="index.html">Contents</A></P> </TD> <TD WIDTH=33%> <P ALIGN=RIGHT><A HREF="7_1_exif.html">Next</A></P> </TD> </TR> </THEAD> <TBODY> <TR VALIGN=TOP> <TD WIDTH=33%> <P><BR> </P> </TD> <TD WIDTH=33%> <P ALIGN=CENTER><BR> </P> </TD> <TD WIDTH=33%> <P ALIGN=RIGHT>GQview User Manual</P> </TD> </TR> </TBODY> </TABLE> </CENTER> <P STYLE="margin-bottom: 0in"><BR> </P> </BODY> </HTML>