All you have done is created a frame and put a scroll bar within it. The scroll bar is not hooked up to anything and won’t automatically scroll the frame unless you program it to.
Maybe you meant to create a DirectScrolledFrame instead, which creates its own scroll bars and hooks them up for you automatically. To use a DirectScrolledFrame, you specify the size of the canvas (which is the virtual canvas that holds your buttons) and parent your buttons to frame.canvas instead of directly to frame.
i create some menu object that makes frame and content. when user navigates it destructs created menus, and creates new.
i have this class for for options menu something like this;
but when i call destructor i throws me an exception:
Exception exceptions.AttributeError: "'DirectScrolledFrame' object has no attribute 'verticalScroll'" in <bound method OptionsMenu.__del__ of <__main__.OptionsMenu instance at 0x06A11DC8>> ignored
The destructor works for me. Perhaps you’re double-destructing your frame? You should understand that any frame (or any other DirectGui object) will automatically be destroyed when its parent DirectGui object is destroyed, so maybe this is happening to your frame, and then you’re destroying it again?
“suppressKeys” and “suppressMouse” are designed to prevent the mouse and key events from being sent to gui objects behind the frame. What effect are you looking for when you say “suppress keys and mouse”?
it seems that was double destructor. so when i assing object to var and then assign other obj to that var, phyton calls destructor of the first one. quite cool dont have to clean that garbage i left
if suppresing means that if i do something with mouse on frame and my char would not move, then its not working for me