[DisplayServer] Add method to check if native window is focused.
This commit is contained in:
parent
9c41c4ecb6
commit
28db3c7158
18 changed files with 71 additions and 4 deletions
|
|
@ -1258,6 +1258,13 @@
|
|||
Returns the V-Sync mode of the given window.
|
||||
</description>
|
||||
</method>
|
||||
<method name="window_is_focused" qualifiers="const">
|
||||
<return type="bool" />
|
||||
<param index="0" name="window_id" type="int" default="0" />
|
||||
<description>
|
||||
Returns [code]true[/code] if the window specified by [param window_id] is focused.
|
||||
</description>
|
||||
</method>
|
||||
<method name="window_is_maximize_allowed" qualifiers="const">
|
||||
<return type="bool" />
|
||||
<param index="0" name="window_id" type="int" default="0" />
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue