There is a new release of Win32::GUI::XMLBuilder.
You can view the module at: - http://search.cpan.org/~bsdz/Win32-GUI-XMLBuilder-0.34/ The module depends on XML::Twig and Win32::GUI. Please try the samples and read the documentation!
Summary of changes.
0.33 -> 0.34
Fixed doc error SplitterPair -> WGXSplitter.
Replace internal _context_ var with getParent func.
Thus removed need for _resize_ internal var.
Now allows top level widgets as children, see modal2.xml example.
Default dimensions to parent if parent a top level.
0.32 -> 0.33
Implemented TabStrip (TabFrame now deprecated, please update your progs!)
Internal rewrite to allow for special new elements.
Builtin Resize/Move now use Width/Height/Left/Top.
Implement getParent to discover correct top-level widgets.
Added WGXSplitter element. A simple example that can be built with buildfile.pl is: -
<GUI>
<Window name='W' dim='100, 100, 400, 150'>
<WGXSplitter
        dim='10, 10, $self->{W}->ScaleWidth-20, $self->{W}->ScaleHeight-20'
        horizontal='1'
        splittersize='4'
        start='75'
        min='0'

        <Item>
        <Label
                text='Panel 1'
                foreground='exec:[255,255,255]' background='exec:[255,0,0]'
        />
        </Item>
        <Item>
        <Label
                text='Panel 2'
                foreground='exec:[0,0,0]' background='exec:[0,255,0]'
        />
        </Item>
</WGXSplitter>
</Window>
</GUI>

Reply via email to