Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 18 additions & 3 deletions src/gi-stubs/repository/Gio.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -6156,20 +6156,35 @@ class ListStore(GObject.Object, ListModel):
def __init__(self, item_type: typing.Type[typing.Any] = ...) -> None: ...
def append(self, item: GObject.Object) -> None: ...
def find(self, item: GObject.Object) -> typing.Tuple[bool, int]: ...
def find_with_equal_func(self, item, equal_func, *user_data): ... # FIXME Function
# override
def find_with_equal_func(
self,
item: typing.Optional[GObject.Object],
equal_func: typing.Callable[..., bool],
*user_data: typing.Any,
) -> typing.Tuple[bool, int]: ...
def find_with_equal_func_full(
self,
item: typing.Optional[GObject.Object],
equal_func: typing.Callable[..., bool],
*user_data: typing.Any,
) -> typing.Tuple[bool, int]: ...
def insert(self, position: int, item: GObject.Object) -> None: ...
def insert_sorted(self, item, compare_func, *user_data): ... # FIXME Function
# override
def insert_sorted(
self,
item: GObject.Object,
compare_func: typing.Callable[..., int],
*user_data: typing.Any,
) -> int: ...
@classmethod
def new(cls, item_type: typing.Type[typing.Any]) -> ListStore: ...
def remove(self, position: int) -> None: ...
def remove_all(self) -> None: ...
def sort(self, compare_func, *user_data): ... # FIXME Function
# override
def sort(
self, compare_func: typing.Callable[..., int], *user_data: typing.Any
) -> int: ...
def splice(
self, position: int, n_removals: int, additions: typing.Sequence[GObject.Object]
) -> None: ...
Expand Down