When to free GtkBuilder

2014-04-18 Thread Tristian Celestin
Is it necessary to keep a GtkBuilder object around once I've obtained references to relevant widgets and connected the widgets to handlers? Lots of code I've seen doesn't free the builder after it's been instantiated, such as in this example: https://github.com/chergert/custom-gtk-widgets/blob/

Rotating a pathbar

2014-03-09 Thread Tristian Celestin
What is the best solution to display a vertical set of linked buttons in GTK 3.10? For instance, suppose I wanted to create a vertically oriented pathbar. I have a vertical gtk_box with 3 buttons. The gtk_box has the "linked" style class set. While the borders of these buttons become connected w

Populating A Combo Box With Integers In Hex

2013-12-07 Thread Tristian Celestin
I have a GtkListStore that contains 4 columns of unsigned integers (G_TYPE_UINT). I would like to display the second column of integers in a GtkComboBoxText widget, and I would like the integers to be displayed in Base 12.  Based on the GTK 3.10 documentation, the following will populate the co

Question About Creating Composite Widget Template

2013-11-13 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 bin

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

FW: Question About Creating Composite Widget Template

2013-10-24 Thread Tristian Celestin
_channel_list_new (); G_END_DECLS /* Name : channellist.c Author : Tristian Celestin Version : Copyright : Description : Hello World in GTK+