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 th

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. |

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 construc

GtkTreeView. How to display dynamically growing tree model correctly?

2007-04-30 Thread Alex Nekorkin
Hello All, I've faced some problems with using GtkTreeView and will appreciate any promt. One of the features of my application is to display some tree-like data structure, that grows dynamically. Mean, there is separate thread updating the tree model. The minor point is that GtkTreeView paths be