Re: Scrolling a Tree View before it's realized

2006-12-05 Thread Attilio Fiandrotti
Attilio Fiandrotti wrote: Liam R E Quin wrote: On Sat, 2006-11-11 at 11:51 +0100, Attilio Fiandrotti wrote: [...] I eventually managed this by scrolling the treeview from a callback that gets fired after the expose event is fired. In order to have scrolling performed only the first time

Re: Scrolling a Tree View before it's realized

2006-11-11 Thread tomas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Sat, Nov 11, 2006 at 11:51:20AM +0100, Attilio Fiandrotti wrote: Attilio Fiandrotti wrote: Hi In an application i add many items to a ListStore and make it scroll on the fly to the default option row, like this [...] I eventually

Re: Scrolling a Tree View before it's realized

2006-11-11 Thread Attilio Fiandrotti
[EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Sat, Nov 11, 2006 at 11:51:20AM +0100, Attilio Fiandrotti wrote: Attilio Fiandrotti wrote: Hi In an application i add many items to a ListStore and make it scroll on the fly to the default option row, like this

Re: Scrolling a Tree View before it's realized

2006-11-11 Thread Liam R E Quin
On Sat, 2006-11-11 at 11:51 +0100, Attilio Fiandrotti wrote: [...] I eventually managed this by scrolling the treeview from a callback that gets fired after the expose event is fired. In order to have scrolling performed only the first time expose event is fired, i use a global flag which i

Re: Scrolling a Tree View before it's realized

2006-11-11 Thread Attilio Fiandrotti
Liam R E Quin wrote: On Sat, 2006-11-11 at 11:51 +0100, Attilio Fiandrotti wrote: [...] I eventually managed this by scrolling the treeview from a callback that gets fired after the expose event is fired. In order to have scrolling performed only the first time expose event is fired, i use a

Scrolling a Tree View before it's realized

2006-11-10 Thread Attilio Fiandrotti
Hi In an application i add many items to a ListStore and make it scroll on the fly to the default option row, like this for (i = 0; i NUMBER_OF_ITEMS; i++) { gtk_list_store_append (store, iter); gtk_list_store_set (store, iter, MY_COLUMN, mystrings[i], -1); if