[maemo-developers] [maemo-developers] Usage of hildon_appview_add_with_scrollbar()

From: Luca Donaggio donaggio at gmail.com
Date: Mon Jan 16 14:49:55 EET 2006
2006/1/16, Kalle Vahlman <kalle.vahlman at gmail.com>:
>
> On 1/16/06, Luca Donaggio <donaggio at gmail.com> wrote:
> > Thanks Kalle,
> >
> > you're right I just did a gtk_widget_sow() on the HildonApp!
> >
> > Regarding the viewport, I think it acts like a container for all
> subsequent
> > widgets in this app - to avoid using it I've to set up another container
> for
> > those widgets and add_with_scrollbar() it to the appview. Or is there
> > another way?
>
> Both HildonAppView and GtkViewPort are GtkBins (able to hold only one
> child), so you need to have some additional container for multiple
> widgets anyway, it's just a matter of having the viewport in between
> made by you or automatically.
>
> I would guess that the application you are porting puts more than one
> widget in the viewport so it probabl already has a suitable "toplevel"
> container (most likely either a VBox or a HBox) that you can pack into
> the appview instead of the viewport.
>
> --
> Kalle Vahlman, zuh at iki.fi
> Powered by http://movial.fi
> Interesting stuff at http://syslog.movial.fi
>


Kalle,

again, thanks, now it really works!

Luca Donaggio
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maemo.org/pipermail/maemo-developers/attachments/20060116/b78d267d/attachment.htm 
More information about the maemo-developers mailing list