Lines Matching refs:model
76 wxDataViewListModel *model;
194 list_store->model = NULL;
204 /* delete list_store->model; */
238 return list_store->model->GetNumberOfCols();
250 wxString wxtype = list_store->model->GetColType( (unsigned int) index );
273 if (i >= list_store->model->GetNumberOfRows())
306 wxDataViewListModel *model = list_store->model;
307 wxString mtype = model->GetColType( (unsigned int) column );
312 model->GetValue( variant,
339 if (n >= (int) list_store->model->GetNumberOfRows()-1)
380 return (gint) list_store->model->GetNumberOfRows();
402 if (n >= (gint) list_store->model->GetNumberOfRows())
673 wxDataViewListModel *model = cell->GetOwner()->GetOwner()->GetModel();
690 if (cell->LeftClick( pt, renderrect, model, model_col, model_row ))
694 if (cell->Activate( renderrect, model, model_col, model_row ))
699 if (cell->RightClick( pt, renderrect, model, model_col, model_row ))
902 wxDataViewListModel *model = cell->GetOwner()->GetOwner()->GetModel();
910 model->SetValue( value, model_col, model_row );
911 model->ValueChanged( model_col, model_row );
1044 wxDataViewListModel *model = cell->GetOwner()->GetOwner()->GetModel();
1052 model->SetValue( value, model_col, model_row );
1053 model->ValueChanged( model_col, model_row );
1285 wxDataViewListModel *model, unsigned int col, unsigned int row ) :
1288 m_model = model;
1359 bool wxDataViewDateRenderer::Activate( wxRect cell, wxDataViewListModel *model, unsigned int col, unsigned int row )
1362 model->GetValue( variant, col, row );
1366 GetOwner()->GetOwner()->GetParent(), &value, model, col, row );
1403 GtkTreeModel *model,
1411 GtkTreeModel *model,
1415 g_return_if_fail (GTK_IS_WX_LIST_STORE (model));
1416 GtkWxListStore *list_store = (GtkWxListStore *) model;
1423 list_store->model->GetValue( value, cell->GetOwner()->GetModelColumn(), model_row );
1756 bool wxDataViewCtrl::AssociateModel( wxDataViewListModel *model )
1758 if (!wxDataViewCtrlBase::AssociateModel( model ))
1762 gtk_store->model = model;
1764 m_notifier = new wxGtkDataViewListModelNotifier( gtk_store, model );
1766 model->AddNotifier( m_notifier );
1844 GtkTreeModel *model;
1845 GList *list = gtk_tree_selection_get_selected_rows( selection, &model );
1865 GtkTreeModel *model;
1867 gboolean has_selection = gtk_tree_selection_get_selected( selection, &model, &iter );
1885 GtkTreeModel *model;
1886 GList *list = gtk_tree_selection_get_selected_rows( selection, &model );
1910 GtkTreeModel *model;
1912 gboolean has_selection = gtk_tree_selection_get_selected( selection, &model, &iter );