Searched refs:store (Results 1 - 20 of 20) sorted by relevance

/inkscape/src/widgets/
H A Dsp-xmlview-attr-list.cpp43 attr_list->store = gtk_list_store_new (ATTR_N_COLS, G_TYPE_STRING, G_TYPE_UINT, G_TYPE_STRING );
44 gtk_tree_view_set_model (GTK_TREE_VIEW(attr_list), GTK_TREE_MODEL(attr_list->store));
53 gtk_tree_sortable_set_sort_column_id ( GTK_TREE_SORTABLE(attr_list->store), ATTR_COL_NAME, GTK_SORT_ASCENDING);
74 gtk_list_store_clear(list->store);
111 list->store = NULL;
125 g_object_unref(list->store);
139 gboolean valid = gtk_tree_model_get_iter_first( GTK_TREE_MODEL(list->store), &iter );
142 gtk_tree_model_get (GTK_TREE_MODEL(list->store), &iter, ATTR_COL_NAME, &n, -1);
147 valid = gtk_tree_model_iter_next (GTK_TREE_MODEL(list->store), &iter);
174 gboolean valid = gtk_tree_model_get_iter_first( GTK_TREE_MODEL(list->store),
[all...]
H A Dsp-xmlview-tree.cpp47 static gboolean tree_model_iter_compare(GtkTreeModel* store, GtkTreeIter * iter1, GtkTreeIter * iter2);
94 tree->store = gtk_tree_store_new (STORE_N_COLS, G_TYPE_STRING, G_TYPE_POINTER, G_TYPE_POINTER);
97 g_object_ref(tree->store);
113 g_signal_connect(G_OBJECT(tree->store), "row-changed", G_CALLBACK(on_row_changed), tree);
182 if (before && !gtk_tree_store_iter_is_valid(tree->store, before)) {
187 gtk_tree_store_insert_before (tree->store, &iter, parent, before);
189 if (!gtk_tree_store_iter_is_valid(tree->store, &iter)) {
197 gtk_tree_store_set (tree->store, &iter, STORE_TEXT_COL, default_text, STORE_DATA_COL, data, STORE_REPR_COL, repr, -1);
272 gtk_tree_store_set (GTK_TREE_STORE(data->tree->store), &iter, STORE_TEXT_COL, label, -1);
285 gtk_tree_store_remove (GTK_TREE_STORE(data->tree->store),
540 tree_model_iter_compare(GtkTreeModel* store, GtkTreeIter * iter1, GtkTreeIter * iter2) argument
[all...]
H A Dgradient-toolbar.cpp135 GtkListStore *store = (GtkListStore *)gtk_combo_box_get_model(GTK_COMBO_BOX(combo_box)); local
140 gtk_list_store_clear(store);
155 gtk_list_store_append(store, &iter);
156 gtk_list_store_set(store, &iter, 0, _("No gradient"), 1, NULL, 2, NULL, -1);
161 gtk_list_store_append(store, &iter);
162 gtk_list_store_set(store, &iter, 0, _("Nothing selected"), 1, NULL, 2, NULL, -1);
168 gtk_list_store_append(store, &iter);
169 gtk_list_store_set(store, &iter, 0, _("No gradient"), 1, NULL, 2, NULL, -1);
175 gtk_list_store_append(store, &iter);
176 gtk_list_store_set(store,
462 GtkListStore *store = (GtkListStore *)gtk_combo_box_get_model(GTK_COMBO_BOX(cb)); local
672 GtkListStore *store = (GtkListStore *)gtk_combo_box_get_model(GTK_COMBO_BOX(combo_box)); local
745 GtkListStore *store = (GtkListStore *)gtk_combo_box_get_model(GTK_COMBO_BOX(stop_combo)); local
1093 GtkListStore *store = gtk_list_store_new(3, G_TYPE_STRING, GDK_TYPE_PIXBUF, G_TYPE_POINTER); local
1140 GtkListStore *store = gtk_list_store_new(3, G_TYPE_STRING, GDK_TYPE_PIXBUF, G_TYPE_POINTER); local
[all...]
H A Dsp-xmlview-attr-list.h25 GtkListStore *store; member in struct:SPXMLViewAttrList
45 /* Attribute list store columns */
H A Dpaint-selector.cpp441 // TODO this flips widgets but does not use a member to store state. Revisit
864 GtkListStore *store = GTK_LIST_STORE(gtk_combo_box_get_model(GTK_COMBO_BOX(combo))); local
886 gtk_list_store_append(store, &iter);
887 gtk_list_store_set(store, &iter,
937 GtkListStore *store = GTK_LIST_STORE(gtk_combo_box_get_model(GTK_COMBO_BOX(combo))); local
939 gtk_list_store_append (store, &iter);
940 gtk_list_store_set(store, &iter,
958 GtkListStore *store = GTK_LIST_STORE(gtk_combo_box_get_model(GTK_COMBO_BOX(combo))); local
963 gtk_list_store_append (store, &iter);
964 gtk_list_store_set (store,
999 GtkTreeModel *store = gtk_combo_box_get_model(GTK_COMBO_BOX(combo)); local
1069 GtkListStore *store = gtk_list_store_new (COMBO_N_COLS, G_TYPE_STRING, G_TYPE_BOOLEAN, G_TYPE_STRING, G_TYPE_BOOLEAN); local
1137 GtkTreeModel *store = gtk_combo_box_get_model(GTK_COMBO_BOX(combo)); local
[all...]
H A Dsp-xmlview-tree.h31 GtkTreeStore *store; member in struct:SPXMLViewTree
H A Dfont-selector.cpp182 Glib::RefPtr<Gtk::ListStore> store = fontlister->get_font_list(); local
183 gtk_tree_view_set_model (GTK_TREE_VIEW(fsel->family_treeview), GTK_TREE_MODEL (Glib::unwrap (store)));
299 // We need our own copy of the style list store since the font-family
302 // TODO: add store to SPFontSelector struct and reuse.
321 // Create our own store of styles for selected font-family and find index of best style match
324 GtkListStore *store = gtk_list_store_new (2, G_TYPE_STRING, G_TYPE_STRING); // Where is this deleted? local
327 gtk_list_store_append (store, &iter);
328 gtk_list_store_set (store, &iter,
338 // Attach store to tree view. Can trigger style changed signal (but not FONT_SET):
339 gtk_tree_view_set_model (GTK_TREE_VIEW (fsel->style_treeview), GTK_TREE_MODEL (store));
368 GtkListStore *store = GTK_LIST_STORE(gtk_combo_box_get_model (GTK_COMBO_BOX(fsel->size))); local
[all...]
H A Dgradient-vector.h51 /* Gradient vectors store */
52 Glib::RefPtr<Gtk::ListStore> store; member in struct:SPGradientVectorSelector
H A Dgradient-vector.cpp138 gvs->store = Gtk::ListStore::create(*gvs->columns);
296 gvs->store->clear();
316 Gtk::TreeModel::Row row = *(gvs->store->append());
320 Gtk::TreeModel::Row row = *(gvs->store->append());
324 Gtk::TreeModel::Row row = *(gvs->store->append());
337 Gtk::TreeModel::Row row = *(gvs->store->append());
596 GtkListStore *store = GTK_LIST_STORE(gtk_combo_box_get_model(GTK_COMBO_BOX(combo_box))); local
597 if (!store) {
600 gtk_list_store_clear(store);
603 /* Populate the combobox store */
709 GtkListStore *store = GTK_LIST_STORE(gtk_combo_box_get_model(GTK_COMBO_BOX(combo_box))); local
866 GtkListStore *store = gtk_list_store_new (3, GDK_TYPE_PIXBUF, G_TYPE_STRING, G_TYPE_POINTER); local
1375 GtkListStore *store = GTK_LIST_STORE(gtk_combo_box_get_model(GTK_COMBO_BOX(combo_box))); local
[all...]
H A Dgradient-selector.cpp134 sel->store = gvs->store;
138 sel->treeview->set_model(gvs->store);
319 Gtk::TreeModel::iterator iter = store->get_iter(path);
412 store->foreach( sigc::bind<SPGradient*>(sigc::mem_fun(*this, &SPGradientSelector::_checkForSelected), vector) );
H A Dgradient-selector.h103 Glib::RefPtr<Gtk::ListStore> store; member in struct:SPGradientSelector
H A Dtext-toolbar.cpp1282 height *= 100.0; // Inkscape store % as fraction in .value
1534 Glib::RefPtr<Gtk::ListStore> store = fontlister->get_font_list(); local
1535 GtkListStore* model = store->gobj();
1627 Glib::RefPtr<Gtk::ListStore> store = fontlister->get_style_list(); local
1628 GtkListStore* model_style = store->gobj();
/inkscape/src/ui/dialog/
H A Dglyphs.h68 Glib::RefPtr<Gtk::ListStore> store; member in class:Inkscape::UI::Dialog::GlyphsPanel
H A Dsymbols.h105 Glib::RefPtr<Gtk::ListStore> store; member in class:Inkscape::UI::Dialog::SymbolsDialog
H A Dinput.cpp413 static void commitCellModeChange(Glib::ustring const &path, Glib::ustring const &newText, Glib::RefPtr<Gtk::TreeStore> store);
416 static void commitCellStateChange(Glib::ustring const &path, Glib::RefPtr<Gtk::TreeStore> store);
543 static void setupTree( Glib::RefPtr<Gtk::TreeStore> store, Gtk::TreeIter &tablet );
967 void InputDialogImpl::setupTree( Glib::RefPtr<Gtk::TreeStore> store, Gtk::TreeIter &tablet ) argument
971 //Gtk::TreeModel::Row row = *(store->append());
997 tablet = store->prepend(/*row.children()*/);
1030 Gtk::TreeModel::Row deviceRow = *(store->append(childrow.children()));
1060 Gtk::TreeModel::Row deviceRow = *(store->prepend(/*row.children()*/));
1255 void InputDialogImpl::ConfPanel::commitCellModeChange(Glib::ustring const &path, Glib::ustring const &newText, Glib::RefPtr<Gtk::TreeStore> store) argument
1257 Gtk::TreeIter iter = store
1285 commitCellStateChange(Glib::ustring const &path, Glib::RefPtr<Gtk::TreeStore> store) argument
[all...]
H A Dsymbols.cpp114 store(Gtk::ListStore::create(*getColumns())),
163 iconView = new Gtk::IconView(static_cast<Glib::RefPtr<Gtk::TreeModel> >(store));
370 store->clear();
411 Gtk::ListStore::iterator row = store->get_iter(path);
466 Gtk::ListStore::iterator row = store->get_iter(path);
752 Gtk::ListStore::iterator row = store->append();
H A Dxml-tree.cpp440 GtkTreePath* path = gtk_tree_model_get_path(GTK_TREE_MODEL(tree->store), &node);
600 Inkscape::XML::Node *repr = sp_xmlview_tree_node_get_repr(GTK_TREE_MODEL(tree->store), node);
620 if (gtk_tree_model_iter_parent(GTK_TREE_MODEL(tree->store), &parent, node)) {
622 if (gtk_tree_model_iter_parent(GTK_TREE_MODEL(tree->store), &grandparent, &parent)) {
692 if (!gtk_tree_model_iter_parent(GTK_TREE_MODEL(tree->store), &parent, node)) {
699 if (gtk_tree_model_iter_parent(GTK_TREE_MODEL(tree->store), &child, &parent)) {
704 repr = sp_xmlview_tree_node_get_repr(GTK_TREE_MODEL(tree->store), node);
H A Dglyphs.cpp333 store(Gtk::ListStore::create(*getColumns())),
451 iconView = new Gtk::IconView(static_cast<Glib::RefPtr<Gtk::TreeModel> >(store));
603 Gtk::ListStore::iterator row = store->get_iter(path);
626 Gtk::ListStore::iterator row = store->get_iter(path);
654 Gtk::ListStore::iterator row = store->get_iter(path);
768 store->clear();
771 Gtk::ListStore::iterator row = store->append();
779 iconView->set_model(store);
H A Dclonetiler.cpp147 GtkListStore *store = gtk_list_store_new (1, G_TYPE_STRING); local
154 gtk_list_store_append(store, &iter);
155 gtk_list_store_set(store, &iter, 0, sg.label, -1);
159 GtkWidget *combo = gtk_combo_box_new_with_model (GTK_TREE_MODEL (store));
/inkscape/src/ui/widget/
H A Dcolor-icc-selector.cpp384 // Combobox and store with 2 columns : label (0) and full name (1)
385 GtkListStore *store = gtk_list_store_new(2, G_TYPE_STRING, G_TYPE_STRING); local
386 _impl->_profileSel = gtk_combo_box_new_with_model(GTK_TREE_MODEL(store));
393 gtk_list_store_append(store, &iter);
394 gtk_list_store_set(store, &iter, 0, _("<none>"), 1, _("<none>"), -1);
556 GtkTreeModel *store = gtk_combo_box_get_model(GTK_COMBO_BOX(self->_profileSel)); local
559 gtk_tree_model_get(store, &iter, 1, &name, -1);
680 GtkListStore *store = GTK_LIST_STORE(gtk_combo_box_get_model(combo)); local
681 gtk_list_store_clear(store);
684 gtk_list_store_append(store,
[all...]

Completed in 1162 milliseconds