DirectScrolledFrame question

I’ve looked through the DirectScrolledFrame source code and I can’t figure out exactly how it manipulates the canvas when the scrollbar is moved/the buttons are pressed.

I want to call the function that’s called when the scrollbar scrolls when the user scrolls her middle mouse button.

The DirectScrollBar are yourDSF.horizontalScroll and yourDSF.verticalScroll.

I can find the widgets that make up the ScrolledFrame, but I can’t find their commands.

horizontalScroll.incbutton[‘command’] is None

panda3d.org/reference/python … ollBar.php