Re: Webkit in Gtkmm
- From: Chris Vine <chris cvine freeserve co uk>
- To: Birger Schacht <birger rantanplan org>
- Cc: gtkmm-list gnome org
- Subject: Re: Webkit in Gtkmm
- Date: Wed, 29 Feb 2012 20:54:58 +0000
On Sun, 26 Feb 2012 14:46:53 +0100
> Thank you, i've now moved from using a thread to using a timeout
> handler and that works.
> Now i'm also using a Gtk::Grid instead of a Gtk::Table. The Gtk::Grid
> is being created in a derived Gtk::ScrolledWindow. In this
> MyScrolledWindow the update is being made periodically. But if i
> attach new widgets to the grid, using grid->attach, the scrollbar of
> MyScrolledWindow disappears and i get:
> Gtk-CRITICAL **: gtk_widget_get_preferred_width_for_height: assertion
> `height >= 0' failed
> Whats the correct way of dynamically extending a Gtk::Grid? is this
> also possible with a Gtk::Table or a Gtk::Box?
Everything you do to a Gtk::Box is dynamic. I haven't used Gtk::Grid,
but I thought the same was true of that also. With Gtk::Table, you
call Gtk::Table::resize() to resize a table after it has been created.
Chris
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]