110 GtkCellRenderer *renderer;
111 GtkTreeViewColumn *column;
113 gtk_container_set_border_width (GTK_CONTAINER (
properties), 12);
114 gtk_box_set_spacing (GTK_BOX (
properties), 6);
116 properties->fonts_summary = gtk_label_new (NULL);
117 g_object_set (G_OBJECT (
properties->fonts_summary),
120 gtk_label_set_line_wrap (GTK_LABEL (
properties->fonts_summary),
TRUE);
125 swindow = gtk_scrolled_window_new (NULL, NULL);
126 gtk_scrolled_window_set_shadow_type (GTK_SCROLLED_WINDOW (swindow),
129 properties->fonts_treeview = gtk_tree_view_new ();
130 gtk_tree_view_set_headers_visible (GTK_TREE_VIEW (
properties->fonts_treeview),
132 column = gtk_tree_view_column_new ();
133 gtk_tree_view_column_set_expand (GTK_TREE_VIEW_COLUMN (column),
TRUE);
134 gtk_tree_view_append_column (GTK_TREE_VIEW (
properties->fonts_treeview),
137 renderer = GTK_CELL_RENDERER (g_object_new (GTK_TYPE_CELL_RENDERER_TEXT,
139 gtk_tree_view_column_pack_start (GTK_TREE_VIEW_COLUMN (column),
141 gtk_tree_view_column_set_title (GTK_TREE_VIEW_COLUMN (column),
143 gtk_tree_view_column_set_cell_data_func (column, renderer,
147 gtk_container_add (GTK_CONTAINER (swindow),
properties->fonts_treeview);
150 gtk_box_pack_start (GTK_BOX (
properties), swindow,
152 gtk_widget_show (swindow);
154 properties->fonts_progress_label = gtk_label_new (NULL);
155 g_object_set (G_OBJECT (
properties->fonts_progress_label),
161 gtk_widget_show (
properties->fonts_progress_label);