diff options
author | 2013-08-19 12:27:10 +0000 | |
---|---|---|
committer | 2013-08-19 12:27:10 +0000 | |
commit | 49d8a6c11c2f0e6a7abb942980ebad3bcbb3456a (patch) | |
tree | c46a2b80fe6f2bf3a11b7b9634178378b4b89dd8 /ide | |
parent | 79e3d8bfd5629b8ceb68d3b615943a256dc0d9b1 (diff) |
Tooltips can be augmented with custom widgets, still not clickable
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@16701 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'ide')
-rw-r--r-- | ide/wg_Tooltip.ml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ide/wg_Tooltip.ml b/ide/wg_Tooltip.ml index c3ed8c32e..62598dd50 100644 --- a/ide/wg_Tooltip.ml +++ b/ide/wg_Tooltip.ml @@ -36,6 +36,7 @@ let tooltip_callback (view : GText.view) ~x ~y ~kbd tooltip = try let ss = Table.find_all table iter#offset in let msg = String.concat "\n" (CList.uniquize (List.map Lazy.force ss)) in + GtkBase.Tooltip.set_icon_from_stock tooltip `INFO `BUTTON; view#misc#set_tooltip_markup ("<tt>" ^ msg ^ "</tt>") with Not_found -> () end else begin |