i have a problem to use the setFrameColor Method from DirectGuiWidget, because the Method takes only 1 argument and if i commit my color values, it’s more than 1 argument, because of “self”.
Instead i use self.Button[“frameColor”]=(1,0,0,1), which works fine, but i just want to know how the Method setFrameColor works.
That is the correct way to set the frame color. The method setFrameColor() is called internally when you use that assignment; it is not intended to be called directly.
The DirectGui system unfortunately uses a lot of methods with public-sounding names that are not, in fact, intended to be public.
thanks for the fast reply