window resize and hpanned separator position control

2007-10-29 Thread Alex Nekorkin
Hello All, Could anyone tell me, how to make hpanned separator to be positioned in a special way depending on the new window size? The thing I need is child1 size to be initially equal to [(newwinheight-85)*4/3, newwinheight-17], when window is just resized.

Re: window resize and hpanned separator position control

2007-10-29 Thread Alex Nekorkin
Thanks a lot! Could anyone tell me, how to make hpanned separator to be positioned in a special way depending on the new window size? I've not tried, but I imagine you just need to add a configure_event handler to see the new window width and height, and set the pane position in that.

Windows like GtkTreeView key bindings question.

2007-05-12 Thread Alex Nekorkin
Hello All, I'm trying to make my application tree view to be more intuitive for Windows users. This includes key bindings for KP_RIGHT and KP_LEFT to expand and collapse current accordingly. I have implemented it by registering the callback (see the code below). The only problem is: this