@@ -6156,20 +6156,32 @@ class ListStore(GObject.Object, ListModel):
61566156 def __init__ (self , item_type : typing .Type [typing .Any ] = ...) -> None : ...
61576157 def append (self , item : GObject .Object ) -> None : ...
61586158 def find (self , item : GObject .Object ) -> typing .Tuple [bool , int ]: ...
6159- def find_with_equal_func (self , item , equal_func , * user_data ): ... # FIXME Function
6159+ def find_with_equal_func (
6160+ self ,
6161+ item : typing .Optional [GObject .Object ],
6162+ equal_func : typing .Callable [..., bool ],
6163+ * user_data : typing .Any ,
6164+ ) -> typing .Tuple [bool , int ]: ... # FIXME Function
61606165 def find_with_equal_func_full (
61616166 self ,
61626167 item : typing .Optional [GObject .Object ],
61636168 equal_func : typing .Callable [..., bool ],
61646169 * user_data : typing .Any ,
61656170 ) -> typing .Tuple [bool , int ]: ...
61666171 def insert (self , position : int , item : GObject .Object ) -> None : ...
6167- def insert_sorted (self , item , compare_func , * user_data ): ... # FIXME Function
6172+ def insert_sorted (
6173+ self ,
6174+ item : GObject .Object ,
6175+ compare_func : typing .Callable [..., int ],
6176+ * user_data : typing .Any ,
6177+ ) -> int : ... # FIXME Function
61686178 @classmethod
61696179 def new (cls , item_type : typing .Type [typing .Any ]) -> ListStore : ...
61706180 def remove (self , position : int ) -> None : ...
61716181 def remove_all (self ) -> None : ...
6172- def sort (self , compare_func , * user_data ): ... # FIXME Function
6182+ def sort (
6183+ self , compare_func : typing .Callable [..., int ], * user_data : typing .Any
6184+ ) -> int : ... # FIXME Function
61736185 def splice (
61746186 self , position : int , n_removals : int , additions : typing .Sequence [GObject .Object ]
61756187 ) -> None : ...
0 commit comments