\hypertarget{layout_example_8edc-example}{}\doxysection{layout\+\_\+example.\+edc}

\begin{DoxyCodeInclude}{0}
\DoxyCodeLine{collections \{}
\DoxyCodeLine{}
\DoxyCodeLine{   group \{}
\DoxyCodeLine{      name: "example/mylayout";}
\DoxyCodeLine{}
\DoxyCodeLine{      data \{}
\DoxyCodeLine{         item: "title" "Layout Example 01";}
\DoxyCodeLine{      \}}
\DoxyCodeLine{}
\DoxyCodeLine{      parts \{}
\DoxyCodeLine{         part \{}
\DoxyCodeLine{            name: "example/title";}
\DoxyCodeLine{            type: TEXT;}
\DoxyCodeLine{}
\DoxyCodeLine{            description \{}
\DoxyCodeLine{               state: "default" 0.0;}
\DoxyCodeLine{               color: 0 0 0 255;}
\DoxyCodeLine{               rel1 \{}
\DoxyCodeLine{                  relative: 0.0 0.0;}
\DoxyCodeLine{                  offset: 0 0;}
\DoxyCodeLine{               \}}
\DoxyCodeLine{               rel2 \{}
\DoxyCodeLine{                  relative: 1.0 0.2;}
\DoxyCodeLine{                  offset: -\/1 -\/1;}
\DoxyCodeLine{               \}}
\DoxyCodeLine{               text \{}
\DoxyCodeLine{                  text: "bla";}
\DoxyCodeLine{                  size: 16;}
\DoxyCodeLine{                  font: "sans";}
\DoxyCodeLine{                  min: 1 1;}
\DoxyCodeLine{                  ellipsis: -\/1;}
\DoxyCodeLine{               \}}
\DoxyCodeLine{            \}}
\DoxyCodeLine{         \}}
\DoxyCodeLine{}
\DoxyCodeLine{         part \{}
\DoxyCodeLine{            name: "example/custom";}
\DoxyCodeLine{            type: SWALLOW;}
\DoxyCodeLine{}
\DoxyCodeLine{            description \{}
\DoxyCodeLine{               state: "default" 0.0;}
\DoxyCodeLine{               fixed: 1 1;}
\DoxyCodeLine{}
\DoxyCodeLine{               rel1 \{}
\DoxyCodeLine{                  relative: 0.25 0.8;}
\DoxyCodeLine{                  offset: 0 0;}
\DoxyCodeLine{               \}}
\DoxyCodeLine{               rel2 \{}
\DoxyCodeLine{                  relative: 0.75 0.9;}
\DoxyCodeLine{                  offset: -\/1 -\/1;}
\DoxyCodeLine{               \}}
\DoxyCodeLine{            \}}
\DoxyCodeLine{         \} // example/custom}
\DoxyCodeLine{}
\DoxyCodeLine{         part \{}
\DoxyCodeLine{            name: "example/box";}
\DoxyCodeLine{            type: BOX;}
\DoxyCodeLine{}
\DoxyCodeLine{            description \{}
\DoxyCodeLine{               state: "default" 0.0;}
\DoxyCodeLine{}
\DoxyCodeLine{               box \{}
\DoxyCodeLine{                  layout: "horizontal\_flow";}
\DoxyCodeLine{                  padding: 2 2;}
\DoxyCodeLine{                  align: 0.5 0.5;}
\DoxyCodeLine{                  min: 1 1;}
\DoxyCodeLine{               \}}
\DoxyCodeLine{               rel1 \{}
\DoxyCodeLine{                  relative: 0.0 0.2;}
\DoxyCodeLine{                  offset: 0 0;}
\DoxyCodeLine{               \}}
\DoxyCodeLine{               rel2 \{}
\DoxyCodeLine{                  relative: 1.0 0.5;}
\DoxyCodeLine{                  offset: -\/1 -\/1;}
\DoxyCodeLine{               \}}
\DoxyCodeLine{            \}}
\DoxyCodeLine{         \} // example/box}
\DoxyCodeLine{}
\DoxyCodeLine{         part \{}
\DoxyCodeLine{            name: "example/table";}
\DoxyCodeLine{            type: TABLE;}
\DoxyCodeLine{}
\DoxyCodeLine{            description \{}
\DoxyCodeLine{               state: "default" 0.0;}
\DoxyCodeLine{}
\DoxyCodeLine{               table \{}
\DoxyCodeLine{                  homogeneous: NONE;}
\DoxyCodeLine{                  padding: 2 2;}
\DoxyCodeLine{                  align: 0.5 0.5;}
\DoxyCodeLine{                  min: 1 1;}
\DoxyCodeLine{               \}}
\DoxyCodeLine{               rel1 \{}
\DoxyCodeLine{                  relative: 0.0 0.5;}
\DoxyCodeLine{                  offset: 0 0;}
\DoxyCodeLine{               \}}
\DoxyCodeLine{               rel2 \{}
\DoxyCodeLine{                  relative: 1.0 0.7;}
\DoxyCodeLine{                  offset: -\/1 -\/1;}
\DoxyCodeLine{               \}}
\DoxyCodeLine{            \}}
\DoxyCodeLine{         \} // example/table}
\DoxyCodeLine{      \}}
\DoxyCodeLine{   \}}
\DoxyCodeLine{}
\DoxyCodeLine{   group \{}
\DoxyCodeLine{      name: "example/mylayout3";}
\DoxyCodeLine{}
\DoxyCodeLine{      data \{}
\DoxyCodeLine{         item: "title" "Layout Example 03";}
\DoxyCodeLine{      \}}
\DoxyCodeLine{}
\DoxyCodeLine{      parts \{}
\DoxyCodeLine{         part \{}
\DoxyCodeLine{            name: "example/title";}
\DoxyCodeLine{            type: TEXT;}
\DoxyCodeLine{}
\DoxyCodeLine{               description \{}
\DoxyCodeLine{               state: "default" 0.0;}
\DoxyCodeLine{               color: 0 0 0 255;}
\DoxyCodeLine{               rel1 \{}
\DoxyCodeLine{                  relative: 0.0 0.0;}
\DoxyCodeLine{                  offset: 0 0;}
\DoxyCodeLine{               \}}
\DoxyCodeLine{               rel2 \{}
\DoxyCodeLine{                  relative: 1.0 0.2;}
\DoxyCodeLine{                  offset: -\/1 -\/1;}
\DoxyCodeLine{               \}}
\DoxyCodeLine{               text \{}
\DoxyCodeLine{                  text: "bla";}
\DoxyCodeLine{                  size: 16;}
\DoxyCodeLine{                  font: "sans";}
\DoxyCodeLine{                  min: 1 1;}
\DoxyCodeLine{                  ellipsis: -\/1;}
\DoxyCodeLine{               \}}
\DoxyCodeLine{            \}}
\DoxyCodeLine{         \}}
\DoxyCodeLine{}
\DoxyCodeLine{         part \{}
\DoxyCodeLine{            name: "example/custom";}
\DoxyCodeLine{            type: SWALLOW;}
\DoxyCodeLine{}
\DoxyCodeLine{            description \{}
\DoxyCodeLine{               state: "default" 0.0;}
\DoxyCodeLine{               min: 160 50;}
\DoxyCodeLine{               max: 160 50;}
\DoxyCodeLine{               align: 0.5 1.0;}
\DoxyCodeLine{            \}}
\DoxyCodeLine{            description \{}
\DoxyCodeLine{               state: "big" 0.0;}
\DoxyCodeLine{               inherit: "default" 0.0;}
\DoxyCodeLine{               min: 320 100;}
\DoxyCodeLine{               max: 320 100;}
\DoxyCodeLine{            \}}
\DoxyCodeLine{         \} // example/custom}
\DoxyCodeLine{}
\DoxyCodeLine{         programs \{}
\DoxyCodeLine{            program \{}
\DoxyCodeLine{               name: "swallow,grow";}
\DoxyCodeLine{               signal: "button,enlarge";}
\DoxyCodeLine{               action: STATE\_SET "big" 0.0;}
\DoxyCodeLine{               transition: LINEAR 0.5;}
\DoxyCodeLine{               target: "example/custom";}
\DoxyCodeLine{               after: "emit,changed";}
\DoxyCodeLine{            \}}
\DoxyCodeLine{            program \{}
\DoxyCodeLine{               name: "swallow,shrink";}
\DoxyCodeLine{               signal: "button,reduce";}
\DoxyCodeLine{               action: STATE\_SET "default" 0.0;}
\DoxyCodeLine{               transition: LINEAR 0.5;}
\DoxyCodeLine{               target: "example/custom";}
\DoxyCodeLine{               after: "emit,changed";}
\DoxyCodeLine{            \}}
\DoxyCodeLine{            program \{}
\DoxyCodeLine{               name: "emit,changed";}
\DoxyCodeLine{               action: SIGNAL\_EMIT "size,changed" "";}
\DoxyCodeLine{            \}}
\DoxyCodeLine{         \}}
\DoxyCodeLine{      \}}
\DoxyCodeLine{   \}}
\DoxyCodeLine{\}}
\end{DoxyCodeInclude}
 