DearPyGui
DearPyGui copied to clipboard
two imnode attributes into a line
the following code want put two attributes into a line, but raise an exception. with dpg.group: dpg.add_node_attribute dpg.add_node_attribute
"imgui.SameLine()" can put two attributes together which from 'py-imgui-redux' repo
As a workaround, take a look at this script. https://github.com/my1e5/dpg-examples/blob/main/misc/multiple_node_attributes_one_line.py
Pretty complicated, but you can wrap that set of attributes with a context manager and use just like any other container in DPG (i.e. something like with node_input_output(...):).