Declarative Markup Language
|
IntroductionThe Hydra Declarative Markup Language (HDML) is a XML based markup that is used for storing and initializing structured objects and values. <svg height="310" width="450"> <path d="M10 10 H 400 V 300 H 10 L 10 10" fill="transparent" stroke="black"/> <path d="M10 10 H 90 V 90 H 10 L 10 10"/> </svg> HDML only defines a structure. 1. WidgetHDML defines a set of layout management classes that are used to describe how widgets are laid out in an application's user interface. These layouts automatically position and resize widgets when the amount of space available for them changes, ensuring that they are consistently arranged and that the user interface as a whole remains usable. 2. LayoutsThe BoxLayout class lines up child widgets horizontally or vertically. BoxLayout takes the space it gets from its parent layout or from the parentWidget, divides it up into a row of boxes, and makes each managed widget fill one box. |
Attachments:
- DeclarativeExample1.png [download] added by zester on 2014-01-12 18:49:38. [details]