I would like to know, if there is any reference about the properities i can use in a layout xml file. The thing i want to do is to set a backround colour to a imageset throught the XML file.
The syntax i am using is at folows
Code: Select all
<Window Type="TaharezLook/StaticImage" Name="VidaFundo" >
<Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
<Property Name="UnifiedAreaRect" Value="{{0.1,0},{0.01,0},{0.4,0},{0.05,0}}" />
<Window Type="TaharezLook/StaticImage" Name="Vida" >
<Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
<Property Name="UnifiedAreaRect" Value="{{0.0136232,0},{0.0718309,0},{0.983623,0},{0.871831,0}}" />
<Property Name="ImageColours" Value="{1,0.0,0.0,1}" />
</Window>
</Window>
How do i specify the value for the property ImageColours? Is that the correct property to set the backround color? i want to use it as a simple progress bar.
I also checked the TaharezLook.looknfeel file, and found the definitions of the proterities in the StaticImage widget:
Code: Select all
<WidgetLook name="TaharezLook/StaticImage">
<PropertyDefinition name="ImageColours" initialValue="tl:FFFFFFFF tr:FFFFFFFF bl:FFFFFFFF br:FFFFFFFF" redrawOnWrite="true" />
<PropertyDefinition name="FrameColours" initialValue="tl:FFFFFFFF tr:FFFFFFFF bl:FFFFFFFF br:FFFFFFFF" redrawOnWrite="true" />
<PropertyDefinition name="BackgroundColours" initialValue="tl:FFFFFFFF tr:FFFFFFFF bl:FFFFFFFF br:FFFFFFFF" redrawOnWrite="true" />
There, they use that syntax, that i also tried without sucess!
Anyone can help? plz! tnx!
Flocker