Skip to content

Commit

Permalink
typing: GObject: Fix GObject.bind_property() override
Browse files Browse the repository at this point in the history
  • Loading branch information
matperc authored and lovetox committed Jun 6, 2023
1 parent 131b11e commit 97a1be6
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions src/gi-stubs/repository/GObject.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -1190,7 +1190,10 @@ class GInterface(Protocol):
source_property: str,
target: Object,
target_property: str,
flags: BindingFlags,
flags: BindingFlags = BindingFlags.DEFAULT,
transform_to: Optional[Callable[..., Any]] = None,
transform_from: Optional[Callable[..., Any]] = None,
user_data: Optional[Any] = None,
) -> Binding: ...
def bind_property_full(self, *args, **kargs): ... # FIXME Function
def chain(self, *args, **kwargs): ... # FIXME Function
Expand Down Expand Up @@ -1518,7 +1521,10 @@ class Object:
source_property: str,
target: Object,
target_property: str,
flags: BindingFlags,
flags: BindingFlags = BindingFlags.DEFAULT,
transform_to: Optional[Callable[..., Any]] = None,
transform_from: Optional[Callable[..., Any]] = None,
user_data: Optional[Any] = None,
) -> Binding: ...
def bind_property_full(self, *args, **kargs): ... # FIXME Function
def chain(self, *args, **kwargs): ... # FIXME Function
Expand Down

0 comments on commit 97a1be6

Please sign in to comment.