Webkit in Gtkmm
- From: Birger Schacht <birger rantanplan org>
- To: gtkmm-list gnome org
- Subject: Webkit in Gtkmm
- Date: Sat, 25 Feb 2012 20:18:52 +0100
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hello,
I'm fairly new to programming with c++ and gtkmm.
I'm trying to write an application to display status.net statuses. The
statuses are being displayed in a derived Gtkmm::Table. Every row is
one status. Every status is a webkit GtkWidget, wrapped with
Glib::wrap. This works quite well.
Now i'm trying to create a thread, to fetch the statuses periodically.
In the thread the fetching is done and new statuses are being put into
a private std::list of the derived Gtkmm::Table. Then an update signal
is emitted, which triggers a function to redraw the table (put the new
statuses in webkit GtkWidget, wrap them and attach them to the table).
But this doesn't work with webkit. As soon as i try to create a
GtkWidget with webkit_web_view_new() the program crashes. I've no idea
why, can anybody help? Or is there a better solution to do this, not
using a thread?
thanks,
birger
- --
GPG: http://gpg-keyserver.de/pks/lookup?op=get&search=0x5DF89014F45C1912
GPG FP: 479E 1F02 12BD AA8A C4A9 0F19 5DF8 9014 F45C 1912
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAk9JNBwACgkQXfiQFPRcGRLflACeKYFxHa2KJuhGaj+tyNtTqouc
HBkAn02udKL3CrhA4gqAED40bKQiKpvu
=naBp
-----END PGP SIGNATURE-----
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]