Damon Chaplin wrote:

> > >

[...]

> No, you needed to use the position of the list item, not the scrolled
> window. i.e.
>         scroll_y = GTK_WIDGET (item)->allocation.y

It works. Thank.

this get y:
scroll_y = GTK_WIDGET (list_item)->allocation.y;

this set y, but don't display anything new (probably I've to use signal):
GTK_WIDGET (lst)->allocation.y = scroll_y+14;

but what can I do to emit a signal ?

> Then use gtk_list_scroll_vertical() or if that doesn't work

Because this don't works:

gtk_list_scroll_vertical(GTK_LIST(lst), GTK_SCROLL_JUMP, scroll_y+14);

> set the
> scrolled window's vadjustment value directly, and emit a "value_changed"
> signal on it.

Where I can find a documentation about synstax of GTK function.
I've tried, naturally on GTK site but I find only a intro and a some FAQ.

> Damon
>

--

  {*}      Roberto A. Foglietta
 <>  \./Z/ ______________________________________
<><>  |    e-mail  : mailto:[EMAIL PROTECTED]
~~~~~~~~~~ homepage: http://digilander.iol.it/robang
DDNNNDMNIF linuxgrp: http://www.fisica.unige.it/linuxgrp




+---------------------------------------------------------------------+
To unsubscribe from this list, send a message to [EMAIL PROTECTED]
with the line "unsubscribe glade-devel" in the body of the message.

Reply via email to