@@ -1041,10 +1041,10 @@ def GuiLine(bounds: Rectangle,text: str,) -> int:
1041
1041
def GuiListView (bounds : Rectangle ,text : str ,scrollIndex : Any ,active : Any ,) -> int :
1042
1042
"""List View control, returns selected list item index"""
1043
1043
...
1044
- def GuiListViewEx (bounds : Rectangle ,text : str ,count : int ,scrollIndex : Any ,active : Any ,focus : Any ,) -> int :
1044
+ def GuiListViewEx (bounds : Rectangle ,text : list [ str ] ,count : int ,scrollIndex : Any ,active : Any ,focus : Any ,) -> int :
1045
1045
"""List View with extended parameters"""
1046
1046
...
1047
- def GuiLoadIcons (fileName : str ,loadIconsName : bool ,) -> str :
1047
+ def GuiLoadIcons (fileName : str ,loadIconsName : bool ,) -> list [ str ] :
1048
1048
"""Load raygui icons file (.rgi) into internal icons data"""
1049
1049
...
1050
1050
def GuiLoadStyle (fileName : str ,) -> None :
@@ -1098,7 +1098,7 @@ def GuiSpinner(bounds: Rectangle,text: str,value: Any,minValue: int,maxValue: in
1098
1098
def GuiStatusBar (bounds : Rectangle ,text : str ,) -> int :
1099
1099
"""Status Bar control, shows info text"""
1100
1100
...
1101
- def GuiTabBar (bounds : Rectangle ,text : str ,count : int ,active : Any ,) -> int :
1101
+ def GuiTabBar (bounds : Rectangle ,text : list [ str ] ,count : int ,active : Any ,) -> int :
1102
1102
"""Tab Bar control, returns TAB to be closed or -1"""
1103
1103
...
1104
1104
def GuiTextBox (bounds : Rectangle ,text : str ,textSize : int ,editMode : bool ,) -> int :
@@ -2612,7 +2612,7 @@ def TextInsert(text: str,insert: str,position: int,) -> str:
2612
2612
def TextIsEqual (text1 : str ,text2 : str ,) -> bool :
2613
2613
"""Check if two text string are equal"""
2614
2614
...
2615
- def TextJoin (textList : str ,count : int ,delimiter : str ,) -> str :
2615
+ def TextJoin (textList : list [ str ] ,count : int ,delimiter : str ,) -> str :
2616
2616
"""Join text strings with delimiter"""
2617
2617
...
2618
2618
def TextLength (text : str ,) -> int :
@@ -2621,7 +2621,7 @@ def TextLength(text: str,) -> int:
2621
2621
def TextReplace (text : str ,replace : str ,by : str ,) -> str :
2622
2622
"""Replace text string (WARNING: memory must be freed!)"""
2623
2623
...
2624
- def TextSplit (text : str ,delimiter : str ,count : Any ,) -> str :
2624
+ def TextSplit (text : str ,delimiter : str ,count : Any ,) -> list [ str ] :
2625
2625
"""Split text into multiple strings"""
2626
2626
...
2627
2627
def TextSubtext (text : str ,position : int ,length : int ,) -> str :
@@ -3009,7 +3009,7 @@ def glfwGetCurrentContext() -> Any:
3009
3009
def glfwGetCursorPos (window : Any ,xpos : Any ,ypos : Any ,) -> None :
3010
3010
""""""
3011
3011
...
3012
- def glfwGetError (description : str ,) -> int :
3012
+ def glfwGetError (description : list [ str ] ,) -> int :
3013
3013
""""""
3014
3014
...
3015
3015
def glfwGetFramebufferSize (window : Any ,width : Any ,height : Any ,) -> None :
@@ -3087,7 +3087,7 @@ def glfwGetPrimaryMonitor() -> Any:
3087
3087
def glfwGetProcAddress (procname : str ,) -> Any :
3088
3088
""""""
3089
3089
...
3090
- def glfwGetRequiredInstanceExtensions (count : Any ,) -> str :
3090
+ def glfwGetRequiredInstanceExtensions (count : Any ,) -> list [ str ] :
3091
3091
""""""
3092
3092
...
3093
3093
def glfwGetTime () -> float :
@@ -3201,7 +3201,7 @@ def glfwSetCursorPos(window: Any,xpos: float,ypos: float,) -> None:
3201
3201
def glfwSetCursorPosCallback (window : Any ,callback : Any ,) -> Any :
3202
3202
""""""
3203
3203
...
3204
- def glfwSetDropCallback (window : Any ,callback : str ,) -> str :
3204
+ def glfwSetDropCallback (window : Any ,callback : list [ str ] ,) -> list [ str ] :
3205
3205
""""""
3206
3206
...
3207
3207
def glfwSetErrorCallback (callback : str ,) -> str :
0 commit comments