Difference between revisions of "Button Command"

From GeoGebra Manual
Jump to: navigation, search
m (Text replace - "<div class="box info"> 48px|left This page is part of the official manual for print and pdf. For structural reasons normal users can't edit this page. If you found any errors on this page please contact )
(command syntax: changed [ ] into ( ))
 
(8 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<noinclude>{{Manual Page|version=4.2}}</noinclude>
+
<noinclude>{{Manual Page|version=5.0}}</noinclude>{{command|scripting}}
{{command|scripting}}
+
;Button( )
;Button[]
+
:Creates a new [[Action Objects#Buttons|button]].
:Creates new [[Action Objects#Buttons|button]].
+
 
;Button[ Caption ]
+
;Button( <nowiki><</nowiki>Caption<nowiki>></nowiki> )
:Creates 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=<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

© 2021 International GeoGebra Institute