Home | History | Annotate | Download | only in gtk

Lines Matching refs:ui

15 #include "ui/base/models/table_model_observer.h"
16 #include "ui/base/models/tree_model.h"
18 namespace ui {
47 // A helper class for populating a GtkListStore from a ui::TableModel.
48 class TableAdapter : public ui::TableModelObserver {
66 // Called after any change to the ui::TableModel but before the
70 // Called after any change to the ui::TableModel.
73 // When the ui::TableModel has been completely changed, called by
86 ui::TableModel* table_model);
89 // Replace the ui::TableModel with a different one. If the list store
93 void SetModel(ui::TableModel* table_model);
113 // ui::TableModelObserver implementation.
127 // Add the values from |row| of the ui::TableModel.
132 ui::TableModel* table_model_;
139 class TreeAdapter : public ui::TreeModelObserver {
162 TreeAdapter(Delegate* delegate, ui::TreeModel* tree_model);
172 ui::TreeModelNode* GetNode(GtkTreeIter* iter);
175 virtual void TreeNodesAdded(ui::TreeModel* model,
176 ui::TreeModelNode* parent,
179 virtual void TreeNodesRemoved(ui::TreeModel* model,
180 ui::TreeModelNode* parent,
183 virtual void TreeNodeChanged(ui::TreeModel* model, ui::TreeModelNode* node);
188 void FillRow(GtkTreeIter* iter, ui::TreeModelNode* node);
191 void Fill(GtkTreeIter* parent_iter, ui::TreeModelNode* parent_node);
195 GtkTreePath* GetTreePath(ui::TreeModelNode* node);
198 bool GetTreeIter(ui::TreeModelNode* node, GtkTreeIter* iter);
202 ui::TreeModel* tree_model_;