@@ -4,6 +4,7 @@ from gi.repository import Gdk
44from gi .repository import GObject
55from gi .repository import Pango
66from gi .repository import xlib
7+ from typing_extensions import Self
78
89T = typing .TypeVar ("T" )
910
@@ -44,8 +45,7 @@ class X11AppLaunchContext(Gdk.AppLaunchContext):
4445 Signals from GObject:
4546 notify (GParam)
4647 """
47-
48- class Props :
48+ class Props (Gdk .AppLaunchContext .Props ):
4949 display : Gdk .Display
5050
5151 props : Props = ...
@@ -72,8 +72,7 @@ class X11DeviceManagerXI2(GObject.Object):
7272 Signals from GObject:
7373 notify (GParam)
7474 """
75-
76- class Props :
75+ class Props (GObject .Object .Props ):
7776 display : Gdk .Display
7877 major : int
7978 minor : int
@@ -130,8 +129,7 @@ class X11DeviceXI2(Gdk.Device):
130129 Signals from GObject:
131130 notify (GParam)
132131 """
133-
134- class Props :
132+ class Props (Gdk .Device .Props ):
135133 device_id : int
136134 active_layout_index : int
137135 caps_lock_state : bool
@@ -198,8 +196,7 @@ class X11Display(Gdk.Display):
198196 Signals from GObject:
199197 notify (GParam)
200198 """
201-
202- class Props :
199+ class Props (Gdk .Display .Props ):
203200 composited : bool
204201 dmabuf_formats : Gdk .DmabufFormats
205202 input_shapes : bool
@@ -272,8 +269,7 @@ class X11Drag(Gdk.Drag):
272269 Signals from GObject:
273270 notify (GParam)
274271 """
275-
276- class Props :
272+ class Props (Gdk .Drag .Props ):
277273 actions : Gdk .DragAction
278274 content : Gdk .ContentProvider
279275 device : Gdk .Device
@@ -317,8 +313,7 @@ class X11GLContext(Gdk.GLContext):
317313 Signals from GObject:
318314 notify (GParam)
319315 """
320-
321- class Props :
316+ class Props (Gdk .GLContext .Props ):
322317 allowed_apis : Gdk .GLAPI
323318 api : Gdk .GLAPI
324319 shared_context : typing .Optional [Gdk .GLContext ]
@@ -367,8 +362,7 @@ class X11Monitor(Gdk.Monitor):
367362 Signals from GObject:
368363 notify (GParam)
369364 """
370-
371- class Props :
365+ class Props (Gdk .Monitor .Props ):
372366 connector : typing .Optional [str ]
373367 description : typing .Optional [str ]
374368 display : Gdk .Display
@@ -406,7 +400,6 @@ class X11Screen(GObject.Object):
406400 Signals from GObject:
407401 notify (GParam)
408402 """
409-
410403 def get_current_desktop (self ) -> int : ...
411404 def get_monitor_output (self , monitor_num : int ) -> int : ...
412405 def get_number_of_desktops (self ) -> int : ...
@@ -447,8 +440,7 @@ class X11Surface(Gdk.Surface):
447440 Signals from GObject:
448441 notify (GParam)
449442 """
450-
451- class Props :
443+ class Props (Gdk .Surface .Props ):
452444 cursor : typing .Optional [Gdk .Cursor ]
453445 display : Gdk .Display
454446 frame_clock : Gdk .FrameClock
0 commit comments