Re: scrolledview

2007-02-10 Thread myasar
Selon James Scott Jr <[EMAIL PROTECTED]>: > An idle handler would be a good fit here. I assumed that you are > creating and filling textviews during the startup of your program and > possibly before you enter the main_loop or gtk_main. Or possibly in a > routine that does everything at once. He

Re: scrolledview

2007-02-09 Thread James Scott Jr
On Thu, 2007-02-08 at 05:53 +, [EMAIL PROTECTED] wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On Wed, Feb 07, 2007 at 08:32:26PM +0100, Mehmet YASAR wrote: > > [EMAIL PROTECTED] a écrit : > [...] > > >> how can I know that all the widget have done their size negotiations ? > >

Re: scrolledview

2007-02-07 Thread tomas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wed, Feb 07, 2007 at 08:32:26PM +0100, Mehmet YASAR wrote: > [EMAIL PROTECTED] a écrit : [...] > >> how can I know that all the widget have done their size negotiations ? > >> I can't rely on the "realized" signal since the gtkvbox is already > >>

Re: scrolledview

2007-02-07 Thread Mehmet YASAR
[EMAIL PROTECTED] a écrit : >> Another question : suppose I'm adding gtktextviews to a GtkVbox which is >> already >> visible (realized and mapped). >> how can I know that all the widget have done their size negotiations ? >> I can't rely on the "realized" signal since the gtkvbox is already reali

Re: scrolledview

2007-02-07 Thread tomas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wed, Feb 07, 2007 at 10:06:26AM +0100, [EMAIL PROTECTED] wrote: > Selon James Scott Jr <[EMAIL PROTECTED]>: > > > If you have caused the GtkVBox to be Realized, meaning all the widget > > have done their size negotiations > > OK, so I just need to

Re: scrolledview

2007-02-07 Thread myasar
Selon James Scott Jr <[EMAIL PROTECTED]>: > If you have caused the GtkVBox to be Realized, meaning all the widget > have done their size negotiations OK, so I just need to catch the "realized" signal. Another question : suppose I'm adding gtktextviews to a GtkVbox which is already visible (reali

Re: scrolledview

2007-02-06 Thread James Scott Jr
On Tue, 2007-02-06 at 21:40 +0100, Mehmet YASAR wrote: > Hi, > > I need some advice about scrolled views. > > I have a gtkscrolledview containing a gtkvbox, I'm adding many > gtktextviews to the vbox. I'd like to select which gtktextview is > displayed when I call gtk_widget_show(gkvbox). > >

scrolledview

2007-02-06 Thread Mehmet YASAR
Hi, I need some advice about scrolled views. I have a gtkscrolledview containing a gtkvbox, I'm adding many gtktextviews to the vbox. I'd like to select which gtktextview is displayed when I call gtk_widget_show(gkvbox). The problem I have is related to the fact that each widget have a differ