Skip to content

Commit 4f9dd3f

Browse files
committed
i don't know why but checks say so
1 parent 66baeac commit 4f9dd3f

File tree

2 files changed

+36
-36
lines changed

2 files changed

+36
-36
lines changed

doc/classes/DisplayServer.xml

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -2246,25 +2246,6 @@
22462246
Makes the window specified by [param window_id] request attention, which is materialized by the window title and taskbar entry blinking until the window is focused. This usually has no visible effect if the window is currently focused. The exact behavior varies depending on the operating system.
22472247
</description>
22482248
</method>
2249-
<method name="window_set_taskbar_progress_value">
2250-
<return type="void" />
2251-
<param index="0" name="value" type="float" />
2252-
<param index="1" name="window_id" type="int" default="0" />
2253-
<description>
2254-
Create a progress bar on taskbar icon of the window specified by [param window_id] if not exists, set the progress of the taskbar icon.
2255-
[param value] act as a percentage relative, ranges from [code]0.0[/code] (lowest) to [code]1.0[/code] (highest).
2256-
[b]Note:[/b] This method is implemented only on Windows.
2257-
</description>
2258-
</method>
2259-
<method name="window_set_taskbar_progress_state">
2260-
<return type="void" />
2261-
<param index="0" name="state" type="int" enum="DisplayServer.ProgressState" />
2262-
<param index="1" name="window_id" type="int" default="0" />
2263-
<description>
2264-
Sets the type and state of the progress bar on the taskbar icon of the window specified by [param window_id]. See [enum ProgressState] for possible values and how each mode behaves.
2265-
[b]Note:[/b] This method is implemented only on Windows.
2266-
</description>
2267-
</method>
22682249
<method name="window_set_current_screen">
22692250
<return type="void" />
22702251
<param index="0" name="screen" type="int" />
@@ -2445,6 +2426,25 @@
24452426
[b]Note:[/b] It's recommended to change this value using [member Window.size] instead.
24462427
</description>
24472428
</method>
2429+
<method name="window_set_taskbar_progress_value">
2430+
<return type="void" />
2431+
<param index="0" name="value" type="float" />
2432+
<param index="1" name="window_id" type="int" default="0" />
2433+
<description>
2434+
Create a progress bar on taskbar icon of the window specified by [param window_id] if not exists, set the progress of the taskbar icon.
2435+
[param value] act as a percentage relative, ranges from [code]0.0[/code] (lowest) to [code]1.0[/code] (highest).
2436+
[b]Note:[/b] This method is implemented only on Windows.
2437+
</description>
2438+
</method>
2439+
<method name="window_set_taskbar_progress_state">
2440+
<return type="void" />
2441+
<param index="0" name="state" type="int" enum="DisplayServer.ProgressState" />
2442+
<param index="1" name="window_id" type="int" default="0" />
2443+
<description>
2444+
Sets the type and state of the progress bar on the taskbar icon of the window specified by [param window_id]. See [enum ProgressState] for possible values and how each mode behaves.
2445+
[b]Note:[/b] This method is implemented only on Windows.
2446+
</description>
2447+
</method>
24482448
<method name="window_set_title">
24492449
<return type="void" />
24502450
<param index="0" name="title" type="String" />

doc/classes/Window.xml

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -507,23 +507,6 @@
507507
Tells the OS that the [Window] needs an attention. This makes the window stand out in some way depending on the system, e.g. it might blink on the task bar.
508508
</description>
509509
</method>
510-
<method name="set_taskbar_progress_value">
511-
<return type="void" />
512-
<param index="0" name="value" type="float" />
513-
<description>
514-
Create a progress bar on taskbar icon of the [Window] if not exists, set the progress of the taskbar icon.
515-
[param value] act as a percentage relative, ranges from [code]0.0[/code] (lowest) to [code]1.0[/code] (highest).
516-
[b]Note:[/b] This method is implemented only on Windows.
517-
</description>
518-
</method>
519-
<method name="set_taskbar_progress_state">
520-
<return type="void" />
521-
<param index="0" name="state" type="int" enum="DisplayServer.ProgressState" />
522-
<description>
523-
Sets the type and state of the progress bar on the taskbar icon of the [Window]. See [enum DisplayServer.ProgressState] for possible values and how each mode behaves.
524-
[b]Note:[/b] This method is implemented only on Windows.
525-
</description>
526-
</method>
527510
<method name="reset_size">
528511
<return type="void" />
529512
<description>
@@ -559,6 +542,23 @@
559542
Sets layout direction and text writing direction. Right-to-left layouts are necessary for certain languages (e.g. Arabic and Hebrew).
560543
</description>
561544
</method>
545+
<method name="set_taskbar_progress_value">
546+
<return type="void" />
547+
<param index="0" name="value" type="float" />
548+
<description>
549+
Create a progress bar on taskbar icon of the [Window] if not exists, set the progress of the taskbar icon.
550+
[param value] act as a percentage relative, ranges from [code]0.0[/code] (lowest) to [code]1.0[/code] (highest).
551+
[b]Note:[/b] This method is implemented only on Windows.
552+
</description>
553+
</method>
554+
<method name="set_taskbar_progress_state">
555+
<return type="void" />
556+
<param index="0" name="state" type="int" enum="DisplayServer.ProgressState" />
557+
<description>
558+
Sets the type and state of the progress bar on the taskbar icon of the [Window]. See [enum DisplayServer.ProgressState] for possible values and how each mode behaves.
559+
[b]Note:[/b] This method is implemented only on Windows.
560+
</description>
561+
</method>
562562
<method name="set_unparent_when_invisible">
563563
<return type="void" />
564564
<param index="0" name="unparent" type="bool" />

0 commit comments

Comments
 (0)