SGfiguretopbuttons

by Alexandra Mercader, SG-Lib Toolbox: SolidGeometry 5.6 - User interface
, Creation date: 2018-10-01, Last change: 2025-09-14

creates a button row in the current figure

Description

The function is based on the concept of uibuttongroup and uicontrol. It supports the
'Style',
'CData',
'Callback'
'Tooltip'



See Also:

Example Illustration

 missing image of SGfiguretopbuttons(nrx,callback,bstyle,icfile,bsize,tiptext)

Syntax

[hf]=SGfiguretopbuttons(nrx,[callback,bstyle,icfile,bsize,tiptext])

Input Parameter

nrx: Nr of the
callback: desired function to call if pressed; default is 'beep'
bstyle: button style; default is 'pushbutton'
icfile: icon file or text
bsize: button size
tiptext: description text at tool tip

Output Parameter

[hf]:

Examples


SGfigure;
SGfiguretopbuttons(1:3,'','','test',100,'helptext');
SGfiguretopbuttons(2,'','','warning.gif',100,'Makes Beep');

This software may be used free of charge for academic research and teaching purposes only. Commercial use, redistribution, modification, or reverse engineering is strictly prohibited. Access to source code is restricted and granted only under specific agreements. For licensing inquiries or commercial use, please contact: Tim C. Lueth

Last html export of this page out of FM database by TL: 2025-09-21