From a5b27ce7444ce8356aa9df098c7dc2dadb7cd890 Mon Sep 17 00:00:00 2001 From: Samuel GOUGEON Date: Thu, 29 Aug 2019 23:12:00 +0200 Subject: [PATCH] * Bug 16177 fixed [doc]: 1st example was KO in uicontrol page http://bugzilla.scilab.org/16177 Change-Id: I5454a67f7c675713287407098429ba3920fb54e2 --- scilab/CHANGES.md | 2 + scilab/modules/gui/help/en_US/uicontrol.xml | 66 ++++++++++++++++++--------- scilab/modules/gui/help/ja_JP/uicontrol.xml | 23 ++++++---- 3 files changed, 59 insertions(+), 32 deletions(-) diff --git a/scilab/CHANGES.md b/scilab/CHANGES.md index b91f9e6..2c7ca15 100644 --- a/scilab/CHANGES.md +++ b/scilab/CHANGES.md @@ -272,6 +272,7 @@ Bug Fixes * [#16160](http://bugzilla.scilab.org/show_bug.cgi?id=16160): `ppol` changed values of third input variable. * [#16164](http://bugzilla.scilab.org/show_bug.cgi?id=16164): Help pages in elementary_functions/signal_processing were mislocated. * [#16174](http://bugzilla.scilab.org/show_bug.cgi?id=16174): `libraryinfo` yielded 0x0 matrix of strings for libs without macro +* [#16177](http://bugzilla.scilab.org/show_bug.cgi?id=16177): In the uicontrol help page, the first example was bugged. * [#16178](http://bugzilla.scilab.org/show_bug.cgi?id=16178): `sci2exp` yielded an error for any input macro without output argument. * [#16197](http://bugzilla.scilab.org/show_bug.cgi?id=16197): result of extraction was not decomplexified when applicable. * [#16200](http://bugzilla.scilab.org/show_bug.cgi?id=16200): Concatenation of transposed cells crashed Scilab. @@ -294,3 +295,4 @@ Bug Fixes * [#16293](http://bugzilla.scilab.org/show_bug.cgi?id=16293): Some demos run in step-by-step console mode(4) did not focus user's attention to the console to proceed. * [#16299](http://bugzilla.scilab.org/show_bug.cgi?id=16299): After `graypolarplot()`, `colorbar()` displayed an empty ungraduated color bar. * [#16303](http://bugzilla.scilab.org/show_bug.cgi?id=16303): log10(x) had wrong dimensions when x is an hypermatrix. + diff --git a/scilab/modules/gui/help/en_US/uicontrol.xml b/scilab/modules/gui/help/en_US/uicontrol.xml index 2a98a4f..eec449c 100644 --- a/scilab/modules/gui/help/en_US/uicontrol.xml +++ b/scilab/modules/gui/help/en_US/uicontrol.xml @@ -1,5 +1,8 @@ - + uicontrol create a Graphic User Interface object @@ -50,16 +53,21 @@ specified by uich. - All available properties and their description are given in the uicontrol properties help page. + All available properties and their description are given in the + uicontrol properties help page. - Uicontrols rendering and properties display can be customized using Console properties. + Uicontrols rendering and properties display can be customized using + Console properties. Available styles - The available styles are listed below. The style of an uicontrol must be set at creation using the "Style" property and can not be changed once the uicontrol is created. + The available styles are listed below. The style of an + uicontrol must be set at creation using the + "Style" property and can not be changed once the + uicontrol is created. @@ -78,11 +86,14 @@ - Layer: a container for frame style uicontrols enabling to switch between them programmatically using the value property. + Layer: a container for frame style uicontrols enabling to + switch between them programmatically using the value property. - Listbox: a control representing a list of items that can be scrolled. The items can be selected with the mouse. + Listbox: a control representing a list of items that can be scrolled. + The items can be selected with the mouse. + Popupmenu: a button which make a menu appear when clicked. @@ -92,21 +103,32 @@ - Radiobutton: a button with two states. RadioButtons are intended to be mutually exclusive. + + Radiobutton: a button with two states. RadioButtons are intended to be mutually + exclusive. + Your code must implement mutually exclusive behavior if you do not use groups - (See GroupName property in uicontrol properties). + (See GroupName property in + uicontrol properties). - Slider: a scale control, that is a slider used to set values between in range with the mouse. + + Slider: a scale control, that is a slider used to set a value in a given + interval, with the mouse. + - Spinner: a component which enables the user to select/edit a value between bounds with a fixed step. + + Spinner: a component which enables the user to select/edit a value between + bounds with a fixed step. + - Tab: a container for frame style uicontrols enabling to switch between them by clicking on a tab with a given title and/or icon. + Tab: a container for frame style uicontrols enabling to + switch between them by clicking on a tab with a given title and/or icon. The font related properties set on the frame will be used for the tab label. @@ -121,17 +143,17 @@ Examples 1 to allow multiple selection, and select items 1 and 3 +set(h, "min",0, "max",2, "value", [1 3]); ]]> uicontrol function can be overloaded - + uicontrol グラフィックユーザーインターフェイスオブジェクトを作成 @@ -155,17 +158,17 @@ Examples 1 to allow multiple selection, and select items 1 and 3 +set(h, "min",0, "max",2, "value", [1 3]); ]]> uicontrol関数はオーバーロードできます