gnue-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: forms/src/GFParser.py - vbox/hbox - block - description: scrollbar?


From: Reinhard Mueller
Subject: Re: forms/src/GFParser.py - vbox/hbox - block - description: scrollbar?
Date: Mon, 08 Aug 2011 19:51:14 +0200

Am Montag, den 08.08.2011, 09:37 -0700 schrieb Randall Whitman:
> Can I assume that such default applies for multiple nested levels,
> e.g. the following? 

Yes, exactly. Also you can override the block in inner levels. Like
this:

<hbox block="one">
  <vbox block="two">
    .... here block "two" is the default ....
  </vbox>
  <vbox>
    .... here block "one" is the default ....
    <entry block="three" field="foo"/> <!--this overrides the default-->
  </vbox>
</hbox>

If you consider the XML tree, you can say that every node can either
define the block explicitly or inherit it from its parent (container).

Thanks,
Reinhard




reply via email to

[Prev in Thread] Current Thread [Next in Thread]