Skip to content

Commit

Permalink
typing: Gtk 4.0: Add overrides
Browse files Browse the repository at this point in the history
  • Loading branch information
cal0pteryx committed Nov 1, 2024
1 parent e928b1b commit f70a28b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/gi-stubs/repository/_Gtk4.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -9936,8 +9936,9 @@ class DropTarget(EventController):
def get_gtypes(self) -> Optional[list[Type]]: ...
def get_preload(self) -> bool: ...
def get_value(self) -> Optional[Any]: ...
# override
@classmethod
def new(cls, type: Type, actions: Gdk.DragAction) -> DropTarget: ...
def new(cls, type: Any, actions: Gdk.DragAction) -> DropTarget: ...
def reject(self) -> None: ...
def set_actions(self, actions: Gdk.DragAction) -> None: ...
def set_gtypes(self, types: Optional[Sequence[Type]] = None) -> None: ...
Expand Down

0 comments on commit f70a28b

Please sign in to comment.