You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am writing an auto parser which converts dpg code to python dataclasses. More on it here ...
While doing so, I am able to find some inconsistencies in dpg code.
I can highlight more in future but for now please check this.
methods dpg.add_file_extension and dpg.add_text
color : Union[List[float], Tuple[float, ...]] > color : Union[List[int], Tuple[int, ...]]
These changes are minor and I could have generated PR. But I think you need to code the parser which auto generates this method. So I hope that my suggestions are not irritating ;)
Version of Dear PyGui
Version: 1.0.2
Operating System: Win 11
My Issue/Question
I am writing an auto parser which converts dpg code to python dataclasses. More on it here ...
While doing so, I am able to find some inconsistencies in dpg code.
I can highlight more in future but for now please check this.
methods
dpg.add_file_extension
anddpg.add_text
color : Union[List[float], Tuple[float, ...]]
>color : Union[List[int], Tuple[int, ...]]
method
dpg.add_colormap
colors : List[List[int]]
>colors : List[Union[List[int], Tuple[int, ...]]]
Note that everywhere in dpg the color type is
Union[List[int], Tuple[int, ...]]
so this will make things consistent.The text was updated successfully, but these errors were encountered: