From a518792d89217b3e1f1d19762e733ca779101e63 Mon Sep 17 00:00:00 2001 From: Geequlim Date: Fri, 29 Apr 2016 22:27:16 +0800 Subject: [PATCH] Add more documentations for this classes: * BoxContainer * CenterContainer * ScrollContainer * SplitContainer * Vector2 * StringArray * FileDiloags --- doc/base/classes.xml | 40 +++++++++++++++++++++++++++++++++++++++- 1 file changed, 39 insertions(+), 1 deletion(-) diff --git a/doc/base/classes.xml b/doc/base/classes.xml index 4929c934387..7cdec7ab57d 100644 --- a/doc/base/classes.xml +++ b/doc/base/classes.xml @@ -5633,27 +5633,34 @@ + Add a control to the box as a spacer. + If [i]begin[/i] is true the spacer control will be inserted in front of other children. + Return the alignment of children in the container. + Set the alignment of children in the container(Must be one of ALIGN_BEGIN, ALIGN_CENTER or ALIGN_END). + Align children with beginning of the container. + Align children with center of the container. + Align children with end of the container. @@ -11879,24 +11886,28 @@ Returns an empty String "" at the end of the list. + Set the file access permission of the dialog(Must be one of [ACCESS_RESOURCES], [ACCESS_USERDATA] or [ACCESS_FILESYSTEM]). + Return the file access permission of the dialog. + Set the dialog should show hidden files. + Return true if the diaog allows show hidden files. @@ -11909,12 +11920,14 @@ Returns an empty String "" at the end of the list. + Event emitted when the user selects multiple files. + Event emitted when the user selects a directory. @@ -11941,10 +11954,13 @@ Returns an empty String "" at the end of the list. The dialog will warn when a file exists. + The dialog allows the selection of file and directory. + The dialog allows ascess files under [Resource] path(res://) . + The dialog allows ascess files in whole file system. @@ -31951,48 +31967,56 @@ This method controls whether the position between two cached points is interpola + Set allows horizontal scrool. + Return true if horizontal scrool is allowed. + Set allows vertical scrool. + Return true if vertical scrool is allowed. + Set horizontal scroll value. + Return current horizontal scroll value. + Set vertical scroll value. + Return current vertical scroll value. @@ -34252,19 +34276,21 @@ This method controls whether the position between two cached points is interpola - Return if the split is collapsed. + Return true if the split is collapsed. + Set visibility of the split dragger([i]mode[/i] must be one of [DRAGGER_VISIBLE], [DRAGGER_HIDDEN] or [DRAGGER_HIDDEN_COLLAPSED]). + Return visibility of the split dragger(One of [DRAGGER_VISIBLE], [DRAGGER_HIDDEN] or [DRAGGER_HIDDEN_COLLAPSED]). @@ -34273,15 +34299,19 @@ This method controls whether the position between two cached points is interpola + Emmited when the dragger is gragged by user. + The split dragger is visible. + The split dragger is invisible. + The split dragger is invisible and collapsed. @@ -35871,12 +35901,14 @@ This method controls whether the position between two cached points is interpola + Append a string element at end of the array. + Reset the size of the array. @@ -35891,6 +35923,7 @@ This method controls whether the position between two cached points is interpola + Return the size of the array. @@ -40432,6 +40465,7 @@ This method controls whether the position between two cached points is interpola + Remove the fractional part of x and y. @@ -40530,12 +40564,16 @@ This method controls whether the position between two cached points is interpola + The X axis value when treated as point(The first value in the pair). + The Y axis value when treated as point(The second value in the pair). + The width value when treated as size(The first value in the pair). + The height value when treated as size(The second value in the pair).