Difference between revisions of "Button Command"

From GeoGebra Manual
Jump to: navigation, search
m (Text replace - ";(.*)\[(.*)\]" to ";$1($2)")
(command syntax: changed [ ] into ( ))
 
Line 5: Line 5:
 
;Button( <nowiki><</nowiki>Caption<nowiki>></nowiki> )
 
;Button( <nowiki><</nowiki>Caption<nowiki>></nowiki> )
 
:Creates a new [[Action Objects#Buttons|button]] with given [[Labels and Captions|caption]].
 
:Creates a new [[Action Objects#Buttons|button]] with given [[Labels and Captions|caption]].
:{{example|1=<div><code><nowiki>Button["Ok"]</nowiki></code> creates a button in the left upper corner of the [[File:Menu view graphics.svg|link=|16px]] [[Graphics View]] with the caption ''Ok''.</div>}}
+
:{{example|1=<code><nowiki>Button("Ok")</nowiki></code> creates a button in the left upper corner of the [[File:Menu view graphics.svg|link=|16px]] [[Graphics View]] with the caption ''Ok''.}}

Latest revision as of 08:52, 12 October 2017

© 2024 International GeoGebra Institute