Skip to content

Commit

Permalink
typing: Adw: Rerun generator
Browse files Browse the repository at this point in the history
  • Loading branch information
matperc committed Nov 23, 2023
1 parent 3da955f commit 98eb0fd
Showing 1 changed file with 24 additions and 16 deletions.
40 changes: 24 additions & 16 deletions src/gi-stubs/repository/Adw.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ from gi.repository import GLib
from gi.repository import GObject
from gi.repository import Gtk
from gi.repository import Pango
from typing_extensions import Concatenate
from typing_extensions import ParamSpec

_VarArgs = ParamSpec("_VarArgs")

DURATION_INFINITE: int = 4294967295
MAJOR_VERSION: int = 1
Expand Down Expand Up @@ -634,7 +638,7 @@ class ActionRowClass(GObject.GPointer):

parent_class: PreferencesRowClass = ...
activate: Callable[[ActionRow], None] = ...
padding: list[None] = ...
padding: list[Any] = ...

class Animation(GObject.Object):
"""
Expand Down Expand Up @@ -807,7 +811,7 @@ class ApplicationClass(GObject.GPointer):
"""

parent_class: Gtk.ApplicationClass = ...
padding: list[None] = ...
padding: list[Any] = ...

class ApplicationWindow(
Gtk.ApplicationWindow,
Expand Down Expand Up @@ -1079,7 +1083,7 @@ class ApplicationWindowClass(GObject.GPointer):
"""

parent_class: Gtk.ApplicationWindowClass = ...
padding: list[None] = ...
padding: list[Any] = ...

class Avatar(Gtk.Widget, Gtk.Accessible, Gtk.Buildable, Gtk.ConstraintTarget):
"""
Expand Down Expand Up @@ -1801,7 +1805,7 @@ class BreakpointBinClass(GObject.GPointer):
"""

parent_class: Gtk.WidgetClass = ...
padding: list[None] = ...
padding: list[Any] = ...

class BreakpointClass(GObject.GPointer):
"""
Expand Down Expand Up @@ -2037,7 +2041,7 @@ class CallbackAnimationTarget(AnimationTarget):

@classmethod
def new(
cls, callback: Callable[..., None], *user_data: Any
cls, callback: Callable[Concatenate[float, _VarArgs], None], *user_data: Any
) -> CallbackAnimationTarget: ...

class CallbackAnimationTargetClass(GObject.GPointer): ...
Expand Down Expand Up @@ -3244,7 +3248,7 @@ class ComboRowClass(GObject.GPointer):
"""

parent_class: ActionRowClass = ...
padding: list[None] = ...
padding: list[Any] = ...

class EntryRow(
PreferencesRow,
Expand Down Expand Up @@ -3801,7 +3805,7 @@ class ExpanderRowClass(GObject.GPointer):
"""

parent_class: PreferencesRowClass = ...
padding: list[None] = ...
padding: list[Any] = ...

class Flap(
Gtk.Widget,
Expand Down Expand Up @@ -4769,7 +4773,11 @@ class MessageDialog(
def choose(
self,
cancellable: Optional[Gio.Cancellable] = None,
callback: Optional[Callable[..., None]] = None,
callback: Optional[
Callable[
Concatenate[Optional[GObject.Object], Gio.AsyncResult, _VarArgs], None
]
] = None,
*user_data: Any,
) -> None: ...
def choose_finish(self, result: Gio.AsyncResult) -> str: ...
Expand Down Expand Up @@ -4817,7 +4825,7 @@ class MessageDialogClass(GObject.GPointer):

parent_class: Gtk.WindowClass = ...
response: Callable[[MessageDialog, str], None] = ...
padding: list[None] = ...
padding: list[Any] = ...

class NavigationPage(Gtk.Widget, Gtk.Accessible, Gtk.Buildable, Gtk.ConstraintTarget):
"""
Expand Down Expand Up @@ -5010,7 +5018,7 @@ class NavigationPageClass(GObject.GPointer):
shown: Callable[[NavigationPage], None] = ...
hiding: Callable[[NavigationPage], None] = ...
hidden: Callable[[NavigationPage], None] = ...
padding: list[None] = ...
padding: list[Any] = ...

class NavigationSplitView(
Gtk.Widget, Gtk.Accessible, Gtk.Buildable, Gtk.ConstraintTarget
Expand Down Expand Up @@ -6013,7 +6021,7 @@ class PreferencesGroupClass(GObject.GPointer):
"""

parent_class: Gtk.WidgetClass = ...
padding: list[None] = ...
padding: list[Any] = ...

class PreferencesPage(Gtk.Widget, Gtk.Accessible, Gtk.Buildable, Gtk.ConstraintTarget):
"""
Expand Down Expand Up @@ -6193,7 +6201,7 @@ class PreferencesPageClass(GObject.GPointer):
"""

parent_class: Gtk.WidgetClass = ...
padding: list[None] = ...
padding: list[Any] = ...

class PreferencesRow(
Gtk.ListBoxRow, Gtk.Accessible, Gtk.Actionable, Gtk.Buildable, Gtk.ConstraintTarget
Expand Down Expand Up @@ -6387,7 +6395,7 @@ class PreferencesRowClass(GObject.GPointer):
"""

parent_class: Gtk.ListBoxRowClass = ...
padding: list[None] = ...
padding: list[Any] = ...

class PreferencesWindow(
Window,
Expand Down Expand Up @@ -6665,7 +6673,7 @@ class PreferencesWindowClass(GObject.GPointer):
"""

parent_class: WindowClass = ...
padding: list[None] = ...
padding: list[Any] = ...

class PropertyAnimationTarget(AnimationTarget):
"""
Expand Down Expand Up @@ -7905,7 +7913,7 @@ class SwipeableInterface(GObject.GPointer):
get_swipe_area: Callable[
[Swipeable, NavigationDirection, bool], Gdk.Rectangle
] = ...
padding: list[None] = ...
padding: list[Any] = ...

class SwitchRow(
ActionRow, Gtk.Accessible, Gtk.Actionable, Gtk.Buildable, Gtk.ConstraintTarget
Expand Down Expand Up @@ -10625,7 +10633,7 @@ class WindowClass(GObject.GPointer):
"""

parent_class: Gtk.WindowClass = ...
padding: list[None] = ...
padding: list[Any] = ...

class WindowTitle(Gtk.Widget, Gtk.Accessible, Gtk.Buildable, Gtk.ConstraintTarget):
"""
Expand Down

0 comments on commit 98eb0fd

Please sign in to comment.