Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion dearpygui/_dearpygui.pyi

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions src/dearpygui_commands.h
Original file line number Diff line number Diff line change
Expand Up @@ -2739,6 +2739,9 @@ configure_app(PyObject* self, PyObject* args, PyObject* kwargs)

if (PyObject* item = PyDict_GetItemString(kwargs, "win32_alt_enter_fullscreen")) GContext->IO.altEnterFullscreen = ToBool(item);

ImGuiIO& io = ImGui::GetIO();
if (PyObject* item = PyDict_GetItemString(kwargs, "input_trickle_event_queue")) io.ConfigInputTrickleEventQueue = ToBool(item);

return GetPyNone();
}

Expand Down Expand Up @@ -2776,6 +2779,9 @@ get_app_configuration(PyObject* self, PyObject* args, PyObject* kwargs)

PyDict_SetItemString(pdict, "win32_alt_enter_fullscreen", mvPyObject(ToPyBool(GContext->IO.altEnterFullscreen)));

ImGuiIO& io = ImGui::GetIO();
PyDict_SetItemString(pdict, "input_trickle_event_queue", mvPyObject(ToPyBool(io.ConfigInputTrickleEventQueue)));

return pdict;
}

Expand Down
1 change: 1 addition & 0 deletions src/dearpygui_parsers.h
Original file line number Diff line number Diff line change
Expand Up @@ -539,6 +539,7 @@ InsertParser_Block1(std::map<std::string, mvPythonParser>& parsers)
args.push_back({ mvPyDataType::Bool, "anti_aliased_lines_use_tex", mvArgType::KEYWORD_ARG, "False", "Enable anti-aliased lines/borders using textures where possible. Require backend to render with bilinear filtering (NOT point/nearest filtering). Latched at the beginning of the frame." });
args.push_back({ mvPyDataType::Bool, "anti_aliased_fill", mvArgType::KEYWORD_ARG, "False", "Enable anti-aliased edges around filled shapes (rounded rectangles, circles, etc.). Disable if you are really tight on CPU/GPU. Latched at the beginning of the frame." });
args.push_back({ mvPyDataType::Bool, "win32_alt_enter_fullscreen", mvArgType::KEYWORD_ARG, "False", "Windows only: configures Alt+Enter as a fullscreen hotkey." });
args.push_back({ mvPyDataType::Bool, "input_trickle_event_queue", mvArgType::KEYWORD_ARG, "True", "Enable input event trickling: distributes rapid input events across multiple frames to prevent missed inputs at low framerates. Disable for high-frequency input devices like barcode scanners." });

mvPythonParserSetup setup;
setup.about = "Configures app.";
Expand Down