@@ -937,10 +937,10 @@ def gui_line(bounds: Rectangle,text: str,) -> int:
937937def gui_list_view (bounds : Rectangle ,text : str ,scrollIndex : Any ,active : Any ,) -> int :
938938 """List View control, returns selected list item index"""
939939 ...
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 :
941941 """List View with extended parameters"""
942942 ...
943- def gui_load_icons (fileName : str ,loadIconsName : bool ,) -> str :
943+ def gui_load_icons (fileName : str ,loadIconsName : bool ,) -> list [ str ] :
944944 """Load raygui icons file (.rgi) into internal icons data"""
945945 ...
946946def gui_load_style (fileName : str ,) -> None :
@@ -994,7 +994,7 @@ def gui_spinner(bounds: Rectangle,text: str,value: Any,minValue: int,maxValue: i
994994def gui_status_bar (bounds : Rectangle ,text : str ,) -> int :
995995 """Status Bar control, shows info text"""
996996 ...
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 :
998998 """Tab Bar control, returns TAB to be closed or -1"""
999999 ...
10001000def 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:
18641864def text_is_equal (text1 : str ,text2 : str ,) -> bool :
18651865 """Check if two text string are equal"""
18661866 ...
1867- def text_join (textList : str ,count : int ,delimiter : str ,) -> str :
1867+ def text_join (textList : list [ str ] ,count : int ,delimiter : str ,) -> str :
18681868 """Join text strings with delimiter"""
18691869 ...
18701870def text_length (text : str ,) -> int :
@@ -1873,7 +1873,7 @@ def text_length(text: str,) -> int:
18731873def text_replace (text : str ,replace : str ,by : str ,) -> str :
18741874 """Replace text string (WARNING: memory must be freed!)"""
18751875 ...
1876- def text_split (text : str ,delimiter : str ,count : Any ,) -> str :
1876+ def text_split (text : str ,delimiter : str ,count : Any ,) -> list [ str ] :
18771877 """Split text into multiple strings"""
18781878 ...
18791879def text_subtext (text : str ,position : int ,length : int ,) -> str :
@@ -2260,7 +2260,7 @@ def glfw_get_current_context() -> Any:
22602260def glfw_get_cursor_pos (window : Any ,xpos : Any ,ypos : Any ,) -> None :
22612261 """"""
22622262 ...
2263- def glfw_get_error (description : str ,) -> int :
2263+ def glfw_get_error (description : list [ str ] ,) -> int :
22642264 """"""
22652265 ...
22662266def glfw_get_framebuffer_size (window : Any ,width : Any ,height : Any ,) -> None :
@@ -2338,7 +2338,7 @@ def glfw_get_primary_monitor() -> Any:
23382338def glfw_get_proc_address (procname : str ,) -> Any :
23392339 """"""
23402340 ...
2341- def glfw_get_required_instance_extensions (count : Any ,) -> str :
2341+ def glfw_get_required_instance_extensions (count : Any ,) -> list [ str ] :
23422342 """"""
23432343 ...
23442344def glfw_get_time () -> float :
@@ -2452,7 +2452,7 @@ def glfw_set_cursor_pos(window: Any,xpos: float,ypos: float,) -> None:
24522452def glfw_set_cursor_pos_callback (window : Any ,callback : Any ,) -> Any :
24532453 """"""
24542454 ...
2455- def glfw_set_drop_callback (window : Any ,callback : str ,) -> str :
2455+ def glfw_set_drop_callback (window : Any ,callback : list [ str ] ,) -> list [ str ] :
24562456 """"""
24572457 ...
24582458def glfw_set_error_callback (callback : str ,) -> str :
0 commit comments