Sidebar using Gtk issues



Hi,

I'm not sure this is where I should ask this kind of question, so please tell me if it's not.

I'm trying to add some sort of sidebar to my PyGtk application. This sidebar would stay on the right, and it should always be at the same width, so it doesn't disrupt the rest of window. The sidebar contents would be a VBox, with some widgets in it, ranging from tree views to horizontal button boxes. The problem is that those widgets would change according to user actions, and while I do have control of which and how widgets will appear, wheter I add and remove widgets from the sidebar, it's width changes, because some widgets are larger then others. And the user should be able to resize the sidebar, so it's the right side of an HPaned.
I tried a few approaches, but none got to a good result.
What is the best approach for this?

I can give any other information needed, just contact me.

Thanks in advance,
Alexandre Rosenfeld


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]