static void attachColorLabel(GtkTable *table, const ZLResource &colorResource, int row) { gtk_table_attach( table, gtk_label_new(colorResource.value().c_str()), 0, 1, row, row + 1, (GtkAttachOptions)(GTK_FILL | GTK_SHRINK), (GtkAttachOptions)(GTK_FILL | GTK_EXPAND), 0, 0 ); }
SortedCatalogItem::SortedCatalogItem(const NetworkCatalogItem &parent, const ZLResource &resource, const NetworkItem::List &children, int flags) : NetworkCatalogItem(parent.Link, resource.value(), resource["summary"].value(), parent.URLByType, ALWAYS, flags) { myChildren = children; }