Setwindowcolor
seems not working
Has someone have had the same problem and how to bypass
Setwindowcolor
Can you Know how to bypass this problem ? I am new to linukuwekel wrote:I can confirm this. With subsystem "gtk2" it works, but not so with default GTK3.
Many thanks that's works perfectlyuwekel wrote:In the Compiler-Options dialog you have to enter "gtk2" in the Library Subsystem field. The the GTK2 widget set will be used. Hard setting colors in GTK3 is more complex, so i guess Fred has left it out
Code: Select all
OpenWindow(#Window, x, y, InnerWidth, InnerHeight, Title$ [, Flags [, ParentWindowID]])
Enumeration
[…]
#cntContainer
EndEnumeration
[…]
ContainerGadget(#cntContainer, 0, 0, 432, 504, #PB_Container_Raised)
SetGadgetColor(#cntContainer, #PB_Gadget_BackColor, RGB(213,255,255))
[other gadgets]
CloseGadgetList()
[…]
EndIf ;OpenWindow