Lines Matching refs:_tree
349 if ( _tree.get_selection()->count_selected_rows() != 0 ) {
350 _tree.get_selection()->unselect_all();
366 _tree.expand_to_path( path );
368 Glib::RefPtr<Gtk::TreeSelection> select = _tree.get_selection();
419 _tree.expand_to_path( _store->get_path(iter) );
421 Glib::RefPtr<Gtk::TreeSelection> select = _tree.get_selection();
437 Gtk::TreeModel::iterator iter = _tree.get_selection()->get_selected();
467 if ( _tree.get_selection()->count_selected_rows() > 0 ) {
509 Gtk::TreeModel::Children::iterator iter = _tree.get_model()->get_iter(str);
551 Gtk::TreeModel::iterator iter = _tree.get_selection()->get_selected();
556 _tree.set_cursor(*path, *_name_column, true);
575 if ( _tree.get_path_at_pos( x, y, path ) ) {
590 if ( _tree.get_path_at_pos( x, y, path, col, x2, y2 ) ) {
591 if (col == _tree.get_column(COL_VISIBLE-1) ||
592 col == _tree.get_column(COL_LOCKED-1)) {
608 if ( _tree.get_path_at_pos( x, y, path, col, x2, y2 ) ) {
611 if (col == _tree.get_column(COL_VISIBLE - 1)) {
613 } else if (col == _tree.get_column(COL_LOCKED - 1)) {
622 if (col == _tree.get_column(COL_VISIBLE - 1)) {
625 } else if (col == _tree.get_column(COL_LOCKED - 1)) {
647 if ( _tree.get_path_at_pos( x, y, path, col, x2, y2 ) && col == _name_column) {
650 _tree.set_cursor (path, *_name_column, true);
673 if (_tree.get_path_at_pos (x, y, target_path, target_column, cell_x, cell_y)) {
676 _tree.get_background_area (target_path, *target_column, rect);
737 Gtk::TreeModel::iterator iter = _tree.get_model()->get_iter(path);
815 _tree.set_model( _store );
816 _tree.set_headers_visible(false);
817 _tree.set_reorderable(true);
818 _tree.enable_model_drag_dest (Gdk::ACTION_MOVE);
822 int visibleColNum = _tree.append_column("vis", *eyeRenderer) - 1;
826 Gtk::TreeViewColumn* col = _tree.get_column(visibleColNum);
834 int lockedColNum = _tree.append_column("lock", *renderer) - 1;
838 col = _tree.get_column(lockedColNum);
844 int nameColNum = _tree.append_column("Name", *_text_renderer) - 1;
845 _name_column = _tree.get_column(nameColNum);
848 _tree.set_expander_column( *_tree.get_column(nameColNum) );
849 _tree.set_search_column(nameColNum + 1);
853 _selectedConnection = _tree.get_selection()->signal_changed().connect( sigc::mem_fun(*this, &LayersPanel::_pushTreeSelectionToCurrent) );
854 _tree.get_selection()->set_select_function( sigc::mem_fun(*this, &LayersPanel::_rowSelectFunction) );
856 _tree.signal_drag_drop().connect( sigc::mem_fun(*this, &LayersPanel::_handleDragDrop), false);
861 _tree.signal_button_press_event().connect( sigc::mem_fun(*this, &LayersPanel::_handleButtonEvent), false );
862 _tree.signal_button_release_event().connect( sigc::mem_fun(*this, &LayersPanel::_handleButtonEvent), false );
863 _tree.signal_key_press_event().connect( sigc::mem_fun(*this, &LayersPanel::_handleKeyEvent), false );
865 _scroller.add( _tree );