From fe66a1202fe8e93ceca7546881bcef539f9a6130 Mon Sep 17 00:00:00 2001 From: namnguyen Date: Mon, 23 Sep 2024 15:04:52 +0700 Subject: [PATCH 01/24] docs --- taipy/gui/extension/library.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/taipy/gui/extension/library.py b/taipy/gui/extension/library.py index 72a8ac814c..5d175e5666 100644 --- a/taipy/gui/extension/library.py +++ b/taipy/gui/extension/library.py @@ -113,7 +113,7 @@ def __init__( Arguments: default_property (str): the name of the default property for this element. - properties (List[ElementProperty]): The list of properties for this element. + properties (Dict[ElementProperty]): The dictionary of properties for this element. inner_properties (Optional[List[ElementProperty]]): The optional list of inner properties for this element.
Default values are set/binded automatically. react_component (Optional[str]): The name of the component to be created on the front-end.
From 84bf6cdd029f59125d0819ebd31568ea434b4695 Mon Sep 17 00:00:00 2001 From: namnguyen Date: Wed, 2 Oct 2024 13:20:25 +0700 Subject: [PATCH 02/24] example --- doc/gui/examples/controls/input_active.py | 25 ++++++++++++ .../controls/input_change_delay_on_change.py | 32 +++++++++++++++ doc/gui/examples/controls/input_line_shown.py | 27 +++++++++++++ doc/gui/examples/controls/input_multiline.py | 40 +++++++++++++++++++ doc/gui/examples/controls/input_on_action.py | 40 +++++++++++++++++++ doc/gui/examples/controls/input_password.py | 23 +++++++++++ doc/gui/examples/controls/input_type.py | 25 ++++++++++++ 7 files changed, 212 insertions(+) create mode 100644 doc/gui/examples/controls/input_active.py create mode 100644 doc/gui/examples/controls/input_change_delay_on_change.py create mode 100644 doc/gui/examples/controls/input_line_shown.py create mode 100644 doc/gui/examples/controls/input_multiline.py create mode 100644 doc/gui/examples/controls/input_on_action.py create mode 100644 doc/gui/examples/controls/input_password.py create mode 100644 doc/gui/examples/controls/input_type.py diff --git a/doc/gui/examples/controls/input_active.py b/doc/gui/examples/controls/input_active.py new file mode 100644 index 0000000000..7e7dcc3283 --- /dev/null +++ b/doc/gui/examples/controls/input_active.py @@ -0,0 +1,25 @@ +# Copyright 2021-2024 Avaiga Private Limited +# +# Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on +# an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the +# specific language governing permissions and limitations under the License. +# ----------------------------------------------------------------------------------------- +# To execute this script, make sure that the taipy-gui package is installed in your +# Python environment and run: +# python