Re: Controlling a widget from an other



On Sun, Nov 12, 2006 at 05:06:25PM +0100, kalap kabat wrote:
> 
> - Catch the keypress in the text entry and invoke the 
> appropriate functions of the treeview for scrolling. This does 
> not seem viable, since the scrolling functions are not exposed 
> for the treeview.

The scrolled window you put the treeview to has signal
"scroll-child" to scroll the contained widget.  The signal
is a bit underdocumented, but the GtkScrollType argument
should be clear and the boolean argument is TRUE for
horizontal scrolling, FALSE for vertical.

Yeti


--
Whatever.



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