Merge pull request #157 from lytico/lytico_gdk_screen_signals

Gdk.Screen: SizeChanged, CompositedChanged, MonitorsChanged as signals
This commit is contained in:
Harry 2020-04-22 20:16:32 +02:00 committed by GitHub
commit 4cb093bc20
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2472,9 +2472,9 @@
<method vm="query_depths" /> <method vm="query_depths" />
<method vm="query_visual_types" /> <method vm="query_visual_types" />
<method vm="get_monitor_scale_factor" /> <method vm="get_monitor_scale_factor" />
<method vm="size_changed" /> <signal vm="size_changed" />
<method vm="composited_changed" /> <signal vm="composited_changed" />
<method vm="monitors_changed" /> <signal vm="monitors_changed" />
</class_struct> </class_struct>
<virtual_method name="GetDisplay" cname="get_display"> <virtual_method name="GetDisplay" cname="get_display">
<return-type type="GdkDisplay*" /> <return-type type="GdkDisplay*" />
@ -2636,18 +2636,18 @@
<parameter type="gint" name="monitor_num" /> <parameter type="gint" name="monitor_num" />
</parameters> </parameters>
</virtual_method> </virtual_method>
<virtual_method name="SizeChanged" cname="size_changed"> <signal name="SizeChanged" cname="size-changed" when="LAST" field_name="size_changed">
<return-type type="void" /> <return-type type="void" />
<parameters /> <parameters />
</virtual_method> </signal>
<virtual_method name="CompositedChanged" cname="composited_changed"> <signal name="CompositedChanged" cname="composited-changed" when="LAST" field_name="composited_changed">
<return-type type="void" /> <return-type type="void" />
<parameters /> <parameters />
</virtual_method> </signal>
<virtual_method name="MonitorsChanged" cname="monitors_changed"> <signal name="MonitorsChanged" cname="monitors-changed" when="LAST" field_name="monitors_changed">
<return-type type="void" /> <return-type type="void" />
<parameters /> <parameters />
</virtual_method> </signal>
<method name="GetActiveWindow" cname="gdk_screen_get_active_window" deprecated="1"> <method name="GetActiveWindow" cname="gdk_screen_get_active_window" deprecated="1">
<return-type type="GdkWindow*" /> <return-type type="GdkWindow*" />
</method> </method>