Skip to content

Commit

Permalink
add a tooltip to the slider
Browse files Browse the repository at this point in the history
  • Loading branch information
petercorke committed Oct 26, 2015
1 parent 733f79e commit 55c68c6
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions ithresh.m
Expand Up @@ -120,8 +120,9 @@
'UserData', ud, ...
'Value', t, ...
'Tag', 'threshold', ...
'Callback', @thresh_callback );

'TooltipString', 'threshold' );
% ask for continuous callbacks
addlistener(slider, 'ContinuousValueChange', @thresh_callback );
set_threshold(t, ud);

%{
Expand Down

0 comments on commit 55c68c6

Please sign in to comment.