@@ -937,10 +937,10 @@ def gui_line(bounds: Rectangle,text: str,) -> int:
937
937
def gui_list_view (bounds : Rectangle ,text : str ,scrollIndex : Any ,active : Any ,) -> int :
938
938
"""List View control, returns selected list item index"""
939
939
...
940
- def gui_list_view_ex (bounds : Rectangle ,text : str ,count : int ,scrollIndex : Any ,active : Any ,focus : Any ,) -> int :
940
+ def gui_list_view_ex (bounds : Rectangle ,text : list [ str ] ,count : int ,scrollIndex : Any ,active : Any ,focus : Any ,) -> int :
941
941
"""List View with extended parameters"""
942
942
...
943
- def gui_load_icons (fileName : str ,loadIconsName : bool ,) -> str :
943
+ def gui_load_icons (fileName : str ,loadIconsName : bool ,) -> list [ str ] :
944
944
"""Load raygui icons file (.rgi) into internal icons data"""
945
945
...
946
946
def gui_load_style (fileName : str ,) -> None :
@@ -994,7 +994,7 @@ def gui_spinner(bounds: Rectangle,text: str,value: Any,minValue: int,maxValue: i
994
994
def gui_status_bar (bounds : Rectangle ,text : str ,) -> int :
995
995
"""Status Bar control, shows info text"""
996
996
...
997
- def gui_tab_bar (bounds : Rectangle ,text : str ,count : int ,active : Any ,) -> int :
997
+ def gui_tab_bar (bounds : Rectangle ,text : list [ str ] ,count : int ,active : Any ,) -> int :
998
998
"""Tab Bar control, returns TAB to be closed or -1"""
999
999
...
1000
1000
def gui_text_box (bounds : Rectangle ,text : str ,textSize : int ,editMode : bool ,) -> int :
@@ -1864,7 +1864,7 @@ def text_insert(text: str,insert: str,position: int,) -> str:
1864
1864
def text_is_equal (text1 : str ,text2 : str ,) -> bool :
1865
1865
"""Check if two text string are equal"""
1866
1866
...
1867
- def text_join (textList : str ,count : int ,delimiter : str ,) -> str :
1867
+ def text_join (textList : list [ str ] ,count : int ,delimiter : str ,) -> str :
1868
1868
"""Join text strings with delimiter"""
1869
1869
...
1870
1870
def text_length (text : str ,) -> int :
@@ -1873,7 +1873,7 @@ def text_length(text: str,) -> int:
1873
1873
def text_replace (text : str ,replace : str ,by : str ,) -> str :
1874
1874
"""Replace text string (WARNING: memory must be freed!)"""
1875
1875
...
1876
- def text_split (text : str ,delimiter : str ,count : Any ,) -> str :
1876
+ def text_split (text : str ,delimiter : str ,count : Any ,) -> list [ str ] :
1877
1877
"""Split text into multiple strings"""
1878
1878
...
1879
1879
def text_subtext (text : str ,position : int ,length : int ,) -> str :
@@ -2260,7 +2260,7 @@ def glfw_get_current_context() -> Any:
2260
2260
def glfw_get_cursor_pos (window : Any ,xpos : Any ,ypos : Any ,) -> None :
2261
2261
""""""
2262
2262
...
2263
- def glfw_get_error (description : str ,) -> int :
2263
+ def glfw_get_error (description : list [ str ] ,) -> int :
2264
2264
""""""
2265
2265
...
2266
2266
def glfw_get_framebuffer_size (window : Any ,width : Any ,height : Any ,) -> None :
@@ -2338,7 +2338,7 @@ def glfw_get_primary_monitor() -> Any:
2338
2338
def glfw_get_proc_address (procname : str ,) -> Any :
2339
2339
""""""
2340
2340
...
2341
- def glfw_get_required_instance_extensions (count : Any ,) -> str :
2341
+ def glfw_get_required_instance_extensions (count : Any ,) -> list [ str ] :
2342
2342
""""""
2343
2343
...
2344
2344
def glfw_get_time () -> float :
@@ -2452,7 +2452,7 @@ def glfw_set_cursor_pos(window: Any,xpos: float,ypos: float,) -> None:
2452
2452
def glfw_set_cursor_pos_callback (window : Any ,callback : Any ,) -> Any :
2453
2453
""""""
2454
2454
...
2455
- def glfw_set_drop_callback (window : Any ,callback : str ,) -> str :
2455
+ def glfw_set_drop_callback (window : Any ,callback : list [ str ] ,) -> list [ str ] :
2456
2456
""""""
2457
2457
...
2458
2458
def glfw_set_error_callback (callback : str ,) -> str :
0 commit comments