Skip to content

Commit

Permalink
added tooltip with node name when hovering node (#2295)
Browse files Browse the repository at this point in the history
  • Loading branch information
giuspen committed Jun 21, 2023
1 parent e0896c7 commit 22daee6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/ct/ct_widgets.cc
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* ct_widgets.cc
*
* Copyright 2009-2021
* Copyright 2009-2023
* Giuseppe Penone <giuspen@gmail.com>
* Evgenii Gurianov <https://github.com/txe>
*
Expand Down Expand Up @@ -121,6 +121,7 @@ void CtAnchoredWidget::_on_frame_size_allocate(Gtk::Allocation& allocation)
CtTreeView::CtTreeView()
{
set_headers_visible(false);
set_tooltip_column(1); // node name
}

void CtTreeView::set_cursor_safe(const Gtk::TreeIter& treeIter)
Expand Down

0 comments on commit 22daee6

Please sign in to comment.