Skip to content

Commit 9c4ee80

Browse files
committed
v0.2.9
1 parent cf8f7e5 commit 9c4ee80

File tree

6 files changed

+232
-203
lines changed

6 files changed

+232
-203
lines changed

CHANGELOG.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,16 @@
1+
## 0.2.9
2+
3+
* [windows] Fix set maximizable throwing an error (#267)
4+
* [linux] clean up unused includes (#260)
5+
* [linux] fix window geometry hints (#257)
6+
* [linux] pass the plugin instance around as user data (#256)
7+
* [linux] fix `getOpacity()` (#255)
8+
* [Linux] use g_strcmp0() (#254)
9+
* [Linux] remove misleading C++-style default values (#253)
10+
* [Linux] implement `setBrightness()` (#252)
11+
* [Linux] fix frameless window & background color (#250)
12+
* [Linux] make `setTitleBarStyle()` GTK/HDY/CSD/SSD compatible (#249)
13+
114
## 0.2.8
215

316
* Bump screen_retriever from 0.1.2 to 0.1.4

README-ZH.md

Lines changed: 107 additions & 99 deletions
Original file line numberDiff line numberDiff line change
@@ -21,102 +21,103 @@
2121
<!-- START doctoc generated TOC please keep comment here to allow auto update -->
2222
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
2323

24-
- [window_manager](#window_manager)
25-
- [平台支持](#平台支持)
26-
- [快速开始](#快速开始)
27-
- [安装](#安装)
28-
- [用法](#用法)
29-
- [监听事件](#监听事件)
30-
- [关闭时退出](#关闭时退出)
31-
- [macOS](#macos)
32-
- [关闭前确认](#关闭前确认)
33-
- [在启动时隐藏](#在启动时隐藏)
34-
- [Linux](#linux)
35-
- [macOS](#macos-1)
36-
- [Windows](#windows)
37-
- [文章](#文章)
38-
- [谁在用使用它?](#谁在用使用它)
39-
- [API](#api)
40-
- [WindowManager](#windowmanager)
41-
- [Methods](#methods)
42-
- [waitUntilReadyToShow](#waituntilreadytoshow)
43-
- [destroy](#destroy)
44-
- [close](#close)
45-
- [isPreventClose](#ispreventclose)
46-
- [setPreventClose](#setpreventclose)
47-
- [focus](#focus)
48-
- [blur `macos` `windows`](#blur--macos--windows)
49-
- [isFocused `macos` `windows`](#isfocused--macos--windows)
50-
- [show](#show)
51-
- [hide](#hide)
52-
- [isVisible](#isvisible)
53-
- [isMaximized](#ismaximized)
54-
- [maximize](#maximize)
55-
- [unmaximize](#unmaximize)
56-
- [isMinimized](#isminimized)
57-
- [minimize](#minimize)
58-
- [restore](#restore)
59-
- [isFullScreen](#isfullscreen)
60-
- [setFullScreen](#setfullscreen)
61-
- [setAspectRatio](#setaspectratio)
62-
- [setBackgroundColor](#setbackgroundcolor)
63-
- [setAlignment](#setalignment)
64-
- [center](#center)
65-
- [getBounds](#getbounds)
66-
- [setBounds](#setbounds)
67-
- [getSize](#getsize)
68-
- [setSize](#setsize)
69-
- [getPosition](#getposition)
70-
- [setPosition](#setposition)
71-
- [setMinimumSize](#setminimumsize)
72-
- [setMaximumSize](#setmaximumsize)
73-
- [isResizable](#isresizable)
74-
- [setResizable](#setresizable)
75-
- [isMovable `macos`](#ismovable--macos)
76-
- [setMovable `macos`](#setmovable--macos)
77-
- [isMinimizable `macos` `windows`](#isminimizable--macos--windows)
78-
- [setMinimizable `macos` `windows`](#setminimizable--macos--windows)
79-
- [isClosable `windows`](#isclosable--windows)
80-
- [isMaximizable `windows`](#ismaximizable--windows)
81-
- [setMaximizable](#setmaximizable)
82-
- [setClosable `macos` `windows`](#setclosable--macos--windows)
83-
- [isAlwaysOnTop](#isalwaysontop)
84-
- [setAlwaysOnTop](#setalwaysontop)
85-
- [isAlwaysOnBottom](#isalwaysonbottom)
86-
- [setAlwaysOnBottom `linux`](#setalwaysonbottom--linux)
87-
- [getTitle](#gettitle)
88-
- [setTitle](#settitle)
89-
- [setTitleBarStyle](#settitlebarstyle)
90-
- [getTitleBarHeight](#gettitlebarheight)
91-
- [isSkipTaskbar](#isskiptaskbar)
92-
- [setSkipTaskbar](#setskiptaskbar)
93-
- [setProgressBar `macos`](#setprogressbar--macos)
94-
- [setIcon `windows`](#seticon--windows)
95-
- [hasShadow `macos` `windows`](#hasshadow--macos--windows)
96-
- [setHasShadow `macos` `windows`](#sethasshadow--macos--windows)
97-
- [getOpacity](#getopacity)
98-
- [setOpacity](#setopacity)
99-
- [setBrightness `macos` `windows`](#setbrightness--macos--windows)
100-
- [setIgnoreMouseEvents](#setignoremouseevents)
101-
- [startDragging](#startdragging)
102-
- [startResizing `linux` `windows`](#startresizing--linux--windows)
103-
- [WindowListener](#windowlistener)
104-
- [Methods](#methods-1)
105-
- [onWindowClose](#onwindowclose)
106-
- [onWindowFocus](#onwindowfocus)
107-
- [onWindowBlur](#onwindowblur)
108-
- [onWindowMaximize](#onwindowmaximize)
109-
- [onWindowUnmaximize](#onwindowunmaximize)
110-
- [onWindowMinimize](#onwindowminimize)
111-
- [onWindowRestore](#onwindowrestore)
112-
- [onWindowResize](#onwindowresize)
113-
- [onWindowResized `macos` `windows`](#onwindowresized--macos--windows)
114-
- [onWindowMove](#onwindowmove)
115-
- [onWindowMoved `macos` `windows`](#onwindowmoved--macos--windows)
116-
- [onWindowEnterFullScreen](#onwindowenterfullscreen)
117-
- [onWindowLeaveFullScreen](#onwindowleavefullscreen)
118-
- [onWindowEvent](#onwindowevent)
119-
- [许可证](#许可证)
24+
- [平台支持](#%E5%B9%B3%E5%8F%B0%E6%94%AF%E6%8C%81)
25+
- [快速开始](#%E5%BF%AB%E9%80%9F%E5%BC%80%E5%A7%8B)
26+
- [安装](#%E5%AE%89%E8%A3%85)
27+
- [用法](#%E7%94%A8%E6%B3%95)
28+
- [监听事件](#%E7%9B%91%E5%90%AC%E4%BA%8B%E4%BB%B6)
29+
- [关闭时退出](#%E5%85%B3%E9%97%AD%E6%97%B6%E9%80%80%E5%87%BA)
30+
- [macOS](#macos)
31+
- [关闭前确认](#%E5%85%B3%E9%97%AD%E5%89%8D%E7%A1%AE%E8%AE%A4)
32+
- [在启动时隐藏](#%E5%9C%A8%E5%90%AF%E5%8A%A8%E6%97%B6%E9%9A%90%E8%97%8F)
33+
- [Linux](#linux)
34+
- [macOS](#macos-1)
35+
- [Windows](#windows)
36+
- [文章](#%E6%96%87%E7%AB%A0)
37+
- [谁在用使用它?](#%E8%B0%81%E5%9C%A8%E7%94%A8%E4%BD%BF%E7%94%A8%E5%AE%83)
38+
- [API](#api)
39+
- [WindowManager](#windowmanager)
40+
- [Methods](#methods)
41+
- [waitUntilReadyToShow](#waituntilreadytoshow)
42+
- [destroy](#destroy)
43+
- [close](#close)
44+
- [isPreventClose](#ispreventclose)
45+
- [setPreventClose](#setpreventclose)
46+
- [focus](#focus)
47+
- [blur `macos` `windows`](#blur--macos--windows)
48+
- [isFocused `macos` `windows`](#isfocused--macos--windows)
49+
- [show](#show)
50+
- [hide](#hide)
51+
- [isVisible](#isvisible)
52+
- [isMaximized](#ismaximized)
53+
- [maximize](#maximize)
54+
- [unmaximize](#unmaximize)
55+
- [isMinimized](#isminimized)
56+
- [minimize](#minimize)
57+
- [restore](#restore)
58+
- [isFullScreen](#isfullscreen)
59+
- [setFullScreen](#setfullscreen)
60+
- [setAspectRatio](#setaspectratio)
61+
- [setBackgroundColor](#setbackgroundcolor)
62+
- [setAlignment](#setalignment)
63+
- [center](#center)
64+
- [getBounds](#getbounds)
65+
- [setBounds](#setbounds)
66+
- [getSize](#getsize)
67+
- [setSize](#setsize)
68+
- [getPosition](#getposition)
69+
- [setPosition](#setposition)
70+
- [setMinimumSize](#setminimumsize)
71+
- [setMaximumSize](#setmaximumsize)
72+
- [isResizable](#isresizable)
73+
- [setResizable](#setresizable)
74+
- [isMovable `macos`](#ismovable--macos)
75+
- [setMovable `macos`](#setmovable--macos)
76+
- [isMinimizable `macos` `windows`](#isminimizable--macos--windows)
77+
- [setMinimizable `macos` `windows`](#setminimizable--macos--windows)
78+
- [isClosable `windows`](#isclosable--windows)
79+
- [isMaximizable `windows`](#ismaximizable--windows)
80+
- [setMaximizable](#setmaximizable)
81+
- [setClosable `macos` `windows`](#setclosable--macos--windows)
82+
- [isAlwaysOnTop](#isalwaysontop)
83+
- [setAlwaysOnTop](#setalwaysontop)
84+
- [isAlwaysOnBottom](#isalwaysonbottom)
85+
- [setAlwaysOnBottom `linux`](#setalwaysonbottom--linux)
86+
- [getTitle](#gettitle)
87+
- [setTitle](#settitle)
88+
- [setTitleBarStyle](#settitlebarstyle)
89+
- [getTitleBarHeight](#gettitlebarheight)
90+
- [isSkipTaskbar](#isskiptaskbar)
91+
- [setSkipTaskbar](#setskiptaskbar)
92+
- [setProgressBar `macos`](#setprogressbar--macos)
93+
- [setIcon `windows`](#seticon--windows)
94+
- [hasShadow `macos` `windows`](#hasshadow--macos--windows)
95+
- [setHasShadow `macos` `windows`](#sethasshadow--macos--windows)
96+
- [getOpacity](#getopacity)
97+
- [setOpacity](#setopacity)
98+
- [setBrightness](#setbrightness)
99+
- [setIgnoreMouseEvents](#setignoremouseevents)
100+
- [startDragging](#startdragging)
101+
- [startResizing `linux` `windows`](#startresizing--linux--windows)
102+
- [grabKeyboard `linux`](#grabkeyboard--linux)
103+
- [ungrabKeyboard `linux`](#ungrabkeyboard--linux)
104+
- [WindowListener](#windowlistener)
105+
- [Methods](#methods-1)
106+
- [onWindowClose](#onwindowclose)
107+
- [onWindowFocus](#onwindowfocus)
108+
- [onWindowBlur](#onwindowblur)
109+
- [onWindowMaximize](#onwindowmaximize)
110+
- [onWindowUnmaximize](#onwindowunmaximize)
111+
- [onWindowMinimize](#onwindowminimize)
112+
- [onWindowRestore](#onwindowrestore)
113+
- [onWindowResize](#onwindowresize)
114+
- [onWindowResized `macos` `windows`](#onwindowresized--macos--windows)
115+
- [onWindowMove](#onwindowmove)
116+
- [onWindowMoved `macos` `windows`](#onwindowmoved--macos--windows)
117+
- [onWindowEnterFullScreen](#onwindowenterfullscreen)
118+
- [onWindowLeaveFullScreen](#onwindowleavefullscreen)
119+
- [onWindowEvent](#onwindowevent)
120+
- [许可证](#%E8%AE%B8%E5%8F%AF%E8%AF%81)
120121

121122
<!-- END doctoc generated TOC please keep comment here to allow auto update -->
122123

@@ -134,7 +135,7 @@
134135

135136
```yaml
136137
dependencies:
137-
window_manager: ^0.2.8
138+
window_manager: ^0.2.9
138139
```
139140
140141
@@ -743,11 +744,10 @@ Returns `double` - between 0.0 (fully transparent) and 1.0 (fully opaque).
743744

744745
Sets the opacity of the window.
745746

746-
##### setBrightness `macos` `windows`
747+
##### setBrightness
747748

748749
Sets the brightness of the window.
749750

750-
751751
##### setIgnoreMouseEvents
752752

753753
Makes the window ignore all mouse events.
@@ -763,6 +763,14 @@ Starts a window drag based on the specified mouse-down event.
763763
Starts a window resize based on the specified mouse-down & mouse-move event.
764764

765765

766+
##### grabKeyboard `linux`
767+
768+
Grabs the keyboard.
769+
770+
##### ungrabKeyboard `linux`
771+
772+
Ungrabs the keyboard.
773+
766774
### WindowListener
767775

768776
#### Methods

0 commit comments

Comments
 (0)