Difference between revisions of "Button Command"

From GeoGebra Manual
Jump to: navigation, search
m (1 revision: new commands)
(command syntax: changed [ ] into ( ))
 
(14 intermediate revisions by 3 users not shown)
Line 1: Line 1:
+
<noinclude>{{Manual Page|version=5.0}}</noinclude>{{command|scripting}}
<noinclude>{{Manual Page|version=4.0}}</noinclude>
+
;Button( )
{{command|scripting}}
+
:Creates a new [[Action Objects#Buttons|button]].
;Button[]
+
 
:{{description}}
+
;Button( <nowiki><</nowiki>Caption<nowiki>></nowiki> )
;Button[ <Caption> ]
+
:Creates a new [[Action Objects#Buttons|button]] with given [[Labels and Captions|caption]].
:{{description}}
+
:{{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 07:52, 12 October 2017

© 2024 International GeoGebra Institute