No, you are not doing something stupid.

  No it does not.

  If an attribute is defined at the element, the dialog inheritance will
not affect that element.

Best,
Scuri


Em ter., 1 de jun. de 2021 às 13:51, colevalleyg...@colevalleygirl.co.uk <
colevalleyg...@colevalleygirl.co.uk> escreveu:

> Is there an order of precedence when theming a UI?
>
>
>
> If I have the following code:
>
>
>
>   iup.SetGlobal("DLGBGCOLOR","255 255 255") --default background colour
>
>   iup.SetGlobal("DLGFGCOLOR", "255,255,255") --default text color
>
>   myLabelTheme = iup.user{ fgcolor = "255 0 255"}
>
>   myTheme = iup.user{ IUPLABEL = myLabelTheme, }
>
>
>
> does the global default override the specific theme for labels? Or am I
> doing something stupid?
>
>
>
>
>
>
> _______________________________________________
> Iup-users mailing list
> Iup-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/iup-users
>
_______________________________________________
Iup-users mailing list
Iup-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/iup-users

Reply via email to