I just saw you question at Stack Overflow: https://stackoverflow.com/questions/67803879/how-do-i-use-the-iup-theme-attribute-defaulttheme-global-attribute
I will try to answer that later today. Sorry for the delay. Best, Scuri Em seg., 21 de jun. de 2021 às 15:58, Antonio Scuri <[email protected]> escreveu: > 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, [email protected] < > [email protected]> 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 >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/iup-users >> >
_______________________________________________ Iup-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/iup-users
