Skip to content

Commit 4f3c50e

Browse files
v-einhoffstadt
authored andcommitted
feat: Added mvScrollHandler
1 parent cc23d00 commit 4f3c50e

19 files changed

+357
-214
lines changed

dearpygui/_dearpygui.pyi

Lines changed: 16 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dearpygui/_dearpygui_RTD.py

Lines changed: 36 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dearpygui/dearpygui.py

Lines changed: 40 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/dearpygui.cpp

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,16 @@ GetModuleConstants()
7474
ModuleConstants.push_back({"mvEventType_On", mvEventType_On });
7575
ModuleConstants.push_back({"mvEventType_Leave", mvEventType_Leave });
7676

77+
// We're not adding 'None' because it's useless in the API
78+
ModuleConstants.push_back({"mvSetScrollFlags_Now", mvSetScrollFlags_Now });
79+
ModuleConstants.push_back({"mvSetScrollFlags_Delayed", mvSetScrollFlags_Delayed });
80+
ModuleConstants.push_back({"mvSetScrollFlags_Both", mvSetScrollFlags_Both });
81+
82+
ModuleConstants.push_back({"mvScrollDirection_XAxis", mvScrollDirection_XAxis });
83+
ModuleConstants.push_back({"mvScrollDirection_YAxis", mvScrollDirection_YAxis });
84+
ModuleConstants.push_back({"mvScrollDirection_Horizontal", mvScrollDirection_Horizontal });
85+
ModuleConstants.push_back({"mvScrollDirection_Vertical", mvScrollDirection_Vertical });
86+
7787
ModuleConstants.push_back({"mvPlatform_Windows", 0L });
7888
ModuleConstants.push_back({"mvPlatform_Apple", 1L });
7989
ModuleConstants.push_back({"mvPlatform_Linux", 2L });

0 commit comments

Comments
 (0)