I'm writing an app that should windowshade horizontally when the user clicks a button (ie. it should collapse back so only the button shows, and then when clicked again, it should expand back to full size). When I click the button though, nothing happens. I threw some debug output in, and it's handling the click and calling the functions it's supposed to; apparently my method for collapsing the windows is flawed somehow.
( the codeCollapse )Is there some superior way of rolling up a window?
This is for a cute little app to provide functionality like KDE's panels.