Re: Model/view ideas for GtkListBox/GtkFlowBox

2013-10-24 Thread Alexander Larsson
On ons, 2013-10-23 at 13:16 +0200, Alberto Ruiz wrote: Hey Alex, I've been playing with this idea myself, have a look at this github repo[0], don't pay too much attention to the ListView widget, I'm pretty much replicating Gtk.ListBox for the sake of understanding how to implement such

Re: non-Linux OSes

2013-10-24 Thread Christophe Fergeau
Hey, 2013/10/21 Ryan Lortie de...@desrt.ca: We have brainstormed a list of platforms that we think that we want to support and it looks like so: Linux, {Free,Net,Open}BSD, (Open?)Solaris, HP-UX, AIX, Hurd, Darwin, mingw(32/64), MSVC. [...] What would be nice is if we could gain access to

Re: Model/view ideas for GtkListBox/GtkFlowBox

2013-10-24 Thread Xavier Claessens
I definitely second that. Empathy/Contacts can easily have between 1000 to 5000 rows and I've measured that widget creation (and destruction) in GtkListBoxRow is a real bottleneck. It's a bit hidden by folks having even worse performances, though (but it improved recently and I did not re-test).

Re: Model/view ideas for GtkListBox/GtkFlowBox

2013-10-24 Thread Jim Nelson
Shotwell uses a layered model approach for this problem. There's a signalled SourceCollection which contains all the objects known to the application, i.e. every photo in the library. Each page of the application (i.e. Events, Tags, Last Imported, etc.) has a signalled ViewCollection which

static compliation glib/gio with gnutls

2013-10-24 Thread Bernhard Schuster
After statically linking my program (which is using the GTlsConnection being implemented in glib-networking) I always get the TLS support is not availiable from glib/gio/gdummytlsbackend.c as soon as I try to create the GTlsCertificate. So my question is, how to deal with g_io_module when

FW: Question About Creating Composite Widget Template

2013-10-24 Thread Tristian Celestin
I created a composite widget template with Glade, and now I am binding all the children in the composite widget template to private data members in my class. When I bind one particular member, box1, I get a segfault in gtk_widget_is_toplevel (widget=0x837b60) at gtkwidget.c:8474. If I don't

RE: Question About Creating Composite Widget Template

2013-10-24 Thread Tristian Celestin
Attached are the ui, xml, and Makefiles for debugging. ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: FW: Question About Creating Composite Widget Template

2013-10-24 Thread Tristan Van Berkom
On Fri, Oct 25, 2013 at 3:47 AM, Tristian Celestin tristian.celes...@outlook.com wrote: I created a composite widget template with Glade, and now I am binding all the children in the composite widget template to private data members in my class. When I bind one particular member, box1, I get