Scilab 5.5.2
- Aide de Scilab
- Interface graphique
- Borders
- Layouts
- uitree
- exportUI
- getvalue
- root_properties
- x_choices
- x_choose
- x_dialog
- x_mdialog
- about
- addmenu
- clipboard
- close
- Console properties
- createWindow
- delmenu
- figure
- findobj
- gcbo
- getcallbackobject
- getinstalledlookandfeels
- getlookandfeel
- Interactive Editor
- loadGui
- messagebox
- printfigure
- printsetupbox
- progressionbar
- saveGui
- setlookandfeel
- setmenu
- toolbar
- toprint
- tree_show
- uicontextmenu
- uicontrol
- uicontrol properties
- uigetcolor
- uigetdir
- uigetfile
- uigetfont
- uimenu
- uimenu properties
- uiputfile
- unsetmenu
- usecanvas
- waitbar
- x_choose_modeless
- x_matrix
Please note that the recommended version of Scilab is 2025.0.0. This page might be outdated.
See the recommended documentation of this function
setlookandfeel
sets the current default look and feel.
Calling Sequence
bok=setlookandfeel() bok=setlookandfeel(lnf)
Arguments
- lnf
a string with a look and feel.
- bok
a boolean.
Description
Sets the current default Look and Feel.
setlookandfeel() without parameter set system default look and feel.
Examples
currentlnf = getlookandfeel(); // Look and feel Windows Classic setlookandfeel("com.sun.java.swing.plaf.windows.WindowsClassicLookAndFeel") // Look and feel Windows setlookandfeel("com.sun.java.swing.plaf.windows.WindowsLookAndFeel") sleep(3000); // Look and feel CDE/Motif setlookandfeel("com.sun.java.swing.plaf.motif.MotifLookAndFeel") sleep(3000); // Look and feel GTK+ setlookandfeel("com.sun.java.swing.plaf.gtk.GTKLookAndFeel") sleep(3000); // Look and feel métal setlookandfeel("javax.swing.plaf.metal.MetalLookAndFeel") sleep(3000); // Look and feel Macintosh setlookandfeel("it.unitn.ing.swing.plaf.macos.MacOSLookAndFeel") // System default look and feel setlookandfeel() sleep(3000); // restore previous look and feel setlookandfeel(currentlnf)
See Also
- getinstalledlookandfeels — returns a string matrix with all Look and Feels.
- getlookandfeel — gets the current default look and feel.
Report an issue | ||
<< saveGui | Interface graphique | setmenu >> |