From 3d4e991e161bad481d51113cbcea8b4b0a0251c5 Mon Sep 17 00:00:00 2001 From: mzimm003 <69605064+mzimm003@users.noreply.github.com> Date: Thu, 12 Dec 2024 18:11:25 -0800 Subject: [PATCH 1/6] Update dearpygui.py Fix typo for add_date_picker. --- dearpygui/dearpygui.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dearpygui/dearpygui.py b/dearpygui/dearpygui.py index 3fecfaa12..3cf3f32d2 100644 --- a/dearpygui/dearpygui.py +++ b/dearpygui/dearpygui.py @@ -3825,7 +3825,7 @@ def add_custom_series(x : Union[List[float], Tuple[float, ...]], y : Union[List[ return internal_dpg.add_custom_series(x, y, channel_count, label=label, user_data=user_data, use_internal_label=use_internal_label, tag=tag, parent=parent, before=before, source=source, callback=callback, show=show, y1=y1, y2=y2, y3=y3, tooltip=tooltip, no_fit=no_fit, **kwargs) def add_date_picker(*, label: str =None, user_data: Any =None, use_internal_label: bool =True, tag: Union[int, str] =0, indent: int =-1, parent: Union[int, str] =0, before: Union[int, str] =0, payload_type: str ='$$DPG_PAYLOAD', callback: Callable =None, drag_callback: Callable =None, drop_callback: Callable =None, show: bool =True, pos: Union[List[int], Tuple[int, ...]] =[], filter_key: str ='', tracked: bool =False, track_offset: float =0.5, default_value: dict ={'month_day': 14, 'year':20, 'month':5}, level: int =0, **kwargs) -> Union[int, str]: - """ Adds a data picker. + """ Adds a date picker. Args: label (str, optional): Overrides 'name' as label. From 3ca55905e5ae8a651b15cc86262f84d8e97bf323 Mon Sep 17 00:00:00 2001 From: mzimm003 Date: Sun, 22 Jun 2025 16:58:34 -0700 Subject: [PATCH 2/6] Fixes based on review comments --- src/mvAppItem.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mvAppItem.cpp b/src/mvAppItem.cpp index b5f393057..335944d91 100644 --- a/src/mvAppItem.cpp +++ b/src/mvAppItem.cpp @@ -2999,7 +2999,7 @@ DearPyGui::GetEntityParser(mvAppItemType type) args.push_back({ mvPyDataType::Dict, "default_value", mvArgType::KEYWORD_ARG, "{'month_day': 14, 'year':20, 'month':5}" }); args.push_back({ mvPyDataType::Integer, "level", mvArgType::KEYWORD_ARG, "0", "Use avaliable constants. mvDatePickerLevel_Day, mvDatePickerLevel_Month, mvDatePickerLevel_Year" }); - setup.about = "Adds a data picker."; + setup.about = "Adds a date picker."; break; } case mvAppItemType::mvColorButton: From 2613089b3a10997c65163b611ea542764ade1c08 Mon Sep 17 00:00:00 2001 From: mzimm003 Date: Sun, 22 Jun 2025 17:19:10 -0700 Subject: [PATCH 3/6] Fixes based on review comments --- scripts/BuildSandboxLinux.sh | 0 1 file changed, 0 insertions(+), 0 deletions(-) mode change 100644 => 100755 scripts/BuildSandboxLinux.sh diff --git a/scripts/BuildSandboxLinux.sh b/scripts/BuildSandboxLinux.sh old mode 100644 new mode 100755 From 70f64bc852e4d8ab6634479976896baa2532dd17 Mon Sep 17 00:00:00 2001 From: mzimm003 Date: Mon, 23 Jun 2025 20:39:18 -0700 Subject: [PATCH 4/6] Fixes based on review comments --- scripts/BuildSandboxLinux.sh | 33 --------------------------------- 1 file changed, 33 deletions(-) delete mode 100755 scripts/BuildSandboxLinux.sh diff --git a/scripts/BuildSandboxLinux.sh b/scripts/BuildSandboxLinux.sh deleted file mode 100755 index 5c9eec106..000000000 --- a/scripts/BuildSandboxLinux.sh +++ /dev/null @@ -1,33 +0,0 @@ -#!/bin/sh -set -e - -# Allow user to set number of jobs when compiling -while getopts 'j:' OPTION; do - case "$OPTION" in - j) - jobs="-j $OPTARG" - ;; - ?) - exit 1 - ;; - esac -done - -cd $(dirname $0) # Make sure we start in the Scripts directory - -if [ "$1" = "clean" ]; then - rm -r ../cmake-build-debug - exit 0 -fi - -# Build python first if it hasn't been already -if [ ! -f ../thirdparty/cpython/build/debug/python ]; then - ./BuildPythonForLinux.sh $jobs debug -fi - -cd .. -mkdir -p cmake-build-debug -cd cmake-build-debug -cmake .. -cd .. -cmake --build cmake-build-debug --config Debug $jobs \ No newline at end of file From f6eea297b34b026b63de74a7d0d87a0a25f58438 Mon Sep 17 00:00:00 2001 From: mzimm003 Date: Mon, 23 Jun 2025 20:43:51 -0700 Subject: [PATCH 5/6] Replace with original file. --- scripts/BuildSandboxLinux.sh | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 scripts/BuildSandboxLinux.sh diff --git a/scripts/BuildSandboxLinux.sh b/scripts/BuildSandboxLinux.sh new file mode 100644 index 000000000..5c9eec106 --- /dev/null +++ b/scripts/BuildSandboxLinux.sh @@ -0,0 +1,33 @@ +#!/bin/sh +set -e + +# Allow user to set number of jobs when compiling +while getopts 'j:' OPTION; do + case "$OPTION" in + j) + jobs="-j $OPTARG" + ;; + ?) + exit 1 + ;; + esac +done + +cd $(dirname $0) # Make sure we start in the Scripts directory + +if [ "$1" = "clean" ]; then + rm -r ../cmake-build-debug + exit 0 +fi + +# Build python first if it hasn't been already +if [ ! -f ../thirdparty/cpython/build/debug/python ]; then + ./BuildPythonForLinux.sh $jobs debug +fi + +cd .. +mkdir -p cmake-build-debug +cd cmake-build-debug +cmake .. +cd .. +cmake --build cmake-build-debug --config Debug $jobs \ No newline at end of file From 79f0acd0a5e4adbcc6711277798a54f0215e413e Mon Sep 17 00:00:00 2001 From: mzimm003 <69605064+mzimm003@users.noreply.github.com> Date: Fri, 27 Jun 2025 22:16:49 -0700 Subject: [PATCH 6/6] docs: fix data picker typo. --- dearpygui/_dearpygui.pyi | 2 +- dearpygui/_dearpygui_RTD.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dearpygui/_dearpygui.pyi b/dearpygui/_dearpygui.pyi index 3768e3f25..6a779ab7a 100644 --- a/dearpygui/_dearpygui.pyi +++ b/dearpygui/_dearpygui.pyi @@ -111,7 +111,7 @@ def add_custom_series(x : Union[List[float], Tuple[float, ...]], y : Union[List[ ... def add_date_picker(*, label: str ='', user_data: Any ='', use_internal_label: bool ='', tag: Union[int, str] ='', indent: int ='', parent: Union[int, str] ='', before: Union[int, str] ='', payload_type: str ='', callback: Callable ='', drag_callback: Callable ='', drop_callback: Callable ='', show: bool ='', pos: Union[List[int], Tuple[int, ...]] ='', filter_key: str ='', tracked: bool ='', track_offset: float ='', default_value: dict ='', level: int ='') -> Union[int, str]: - """Adds a data picker.""" + """Adds a date picker.""" ... def add_digital_series(x : Union[List[float], Tuple[float, ...]], y : Union[List[float], Tuple[float, ...]], *, label: str ='', user_data: Any ='', use_internal_label: bool ='', tag: Union[int, str] ='', parent: Union[int, str] ='', before: Union[int, str] ='', source: Union[int, str] ='', show: bool ='') -> Union[int, str]: diff --git a/dearpygui/_dearpygui_RTD.py b/dearpygui/_dearpygui_RTD.py index 65f4f23e9..c52856364 100644 --- a/dearpygui/_dearpygui_RTD.py +++ b/dearpygui/_dearpygui_RTD.py @@ -3519,7 +3519,7 @@ def add_custom_series(x, y, channel_count, **kwargs): return internal_dpg.add_custom_series(x, y, channel_count, **kwargs) def add_date_picker(**kwargs): - """ Adds a data picker. + """ Adds a date picker. Args: label (str, optional): Overrides 'name' as label.