Re: sizeGroup in a table...



On Mon, Nov 17, 2008 at 3:54 PM, Tadej Borovšak <tadeboro gmail com> wrote:
> Hi,
>
> you may need to create a separate set of scrollbars and then attach
> them to the GtkScrolledWindow.
>
> I would do it like this:
> 1. disable GtkScrolledWindow's scrollbars with
> gtk_scrolled_window_set_policy( swindow, GTK_POLICY_NEVER,
> GTK_POLICY_NEVER )
> 2. create separate set of scrollbars with hscroll =
> gtk_hscrollbar_new( gtk_scrolled_window_get_hadjustment( swindow ) )
> and vscroll = gtk_vscrollbar_new( gtk_scrolled_window_get_vadjustment(
> swindow ) )
> 3. pack those two in separate compartment inside table/box
>
> After that your size group should function properly.

After that you shouldnt need a sizegroup in the table at all I think ;-)

Cheers,
                  -Tristan


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