Skip to content

Commit

Permalink
v0.2.9
Browse files Browse the repository at this point in the history
  • Loading branch information
lijy91 committed Jan 3, 2023
1 parent cf8f7e5 commit 9c4ee80
Show file tree
Hide file tree
Showing 6 changed files with 232 additions and 203 deletions.
13 changes: 13 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,16 @@
## 0.2.9

* [windows] Fix set maximizable throwing an error (#267)
* [linux] clean up unused includes (#260)
* [linux] fix window geometry hints (#257)
* [linux] pass the plugin instance around as user data (#256)
* [linux] fix `getOpacity()` (#255)
* [Linux] use g_strcmp0() (#254)
* [Linux] remove misleading C++-style default values (#253)
* [Linux] implement `setBrightness()` (#252)
* [Linux] fix frameless window & background color (#250)
* [Linux] make `setTitleBarStyle()` GTK/HDY/CSD/SSD compatible (#249)

## 0.2.8

* Bump screen_retriever from 0.1.2 to 0.1.4
Expand Down
206 changes: 107 additions & 99 deletions README-ZH.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,102 +21,103 @@
<!-- START doctoc generated TOC please keep comment here to allow auto update -->
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->

- [window_manager](#window_manager)
- [平台支持](#平台支持)
- [快速开始](#快速开始)
- [安装](#安装)
- [用法](#用法)
- [监听事件](#监听事件)
- [关闭时退出](#关闭时退出)
- [macOS](#macos)
- [关闭前确认](#关闭前确认)
- [在启动时隐藏](#在启动时隐藏)
- [Linux](#linux)
- [macOS](#macos-1)
- [Windows](#windows)
- [文章](#文章)
- [谁在用使用它?](#谁在用使用它)
- [API](#api)
- [WindowManager](#windowmanager)
- [Methods](#methods)
- [waitUntilReadyToShow](#waituntilreadytoshow)
- [destroy](#destroy)
- [close](#close)
- [isPreventClose](#ispreventclose)
- [setPreventClose](#setpreventclose)
- [focus](#focus)
- [blur `macos` `windows`](#blur--macos--windows)
- [isFocused `macos` `windows`](#isfocused--macos--windows)
- [show](#show)
- [hide](#hide)
- [isVisible](#isvisible)
- [isMaximized](#ismaximized)
- [maximize](#maximize)
- [unmaximize](#unmaximize)
- [isMinimized](#isminimized)
- [minimize](#minimize)
- [restore](#restore)
- [isFullScreen](#isfullscreen)
- [setFullScreen](#setfullscreen)
- [setAspectRatio](#setaspectratio)
- [setBackgroundColor](#setbackgroundcolor)
- [setAlignment](#setalignment)
- [center](#center)
- [getBounds](#getbounds)
- [setBounds](#setbounds)
- [getSize](#getsize)
- [setSize](#setsize)
- [getPosition](#getposition)
- [setPosition](#setposition)
- [setMinimumSize](#setminimumsize)
- [setMaximumSize](#setmaximumsize)
- [isResizable](#isresizable)
- [setResizable](#setresizable)
- [isMovable `macos`](#ismovable--macos)
- [setMovable `macos`](#setmovable--macos)
- [isMinimizable `macos` `windows`](#isminimizable--macos--windows)
- [setMinimizable `macos` `windows`](#setminimizable--macos--windows)
- [isClosable `windows`](#isclosable--windows)
- [isMaximizable `windows`](#ismaximizable--windows)
- [setMaximizable](#setmaximizable)
- [setClosable `macos` `windows`](#setclosable--macos--windows)
- [isAlwaysOnTop](#isalwaysontop)
- [setAlwaysOnTop](#setalwaysontop)
- [isAlwaysOnBottom](#isalwaysonbottom)
- [setAlwaysOnBottom `linux`](#setalwaysonbottom--linux)
- [getTitle](#gettitle)
- [setTitle](#settitle)
- [setTitleBarStyle](#settitlebarstyle)
- [getTitleBarHeight](#gettitlebarheight)
- [isSkipTaskbar](#isskiptaskbar)
- [setSkipTaskbar](#setskiptaskbar)
- [setProgressBar `macos`](#setprogressbar--macos)
- [setIcon `windows`](#seticon--windows)
- [hasShadow `macos` `windows`](#hasshadow--macos--windows)
- [setHasShadow `macos` `windows`](#sethasshadow--macos--windows)
- [getOpacity](#getopacity)
- [setOpacity](#setopacity)
- [setBrightness `macos` `windows`](#setbrightness--macos--windows)
- [setIgnoreMouseEvents](#setignoremouseevents)
- [startDragging](#startdragging)
- [startResizing `linux` `windows`](#startresizing--linux--windows)
- [WindowListener](#windowlistener)
- [Methods](#methods-1)
- [onWindowClose](#onwindowclose)
- [onWindowFocus](#onwindowfocus)
- [onWindowBlur](#onwindowblur)
- [onWindowMaximize](#onwindowmaximize)
- [onWindowUnmaximize](#onwindowunmaximize)
- [onWindowMinimize](#onwindowminimize)
- [onWindowRestore](#onwindowrestore)
- [onWindowResize](#onwindowresize)
- [onWindowResized `macos` `windows`](#onwindowresized--macos--windows)
- [onWindowMove](#onwindowmove)
- [onWindowMoved `macos` `windows`](#onwindowmoved--macos--windows)
- [onWindowEnterFullScreen](#onwindowenterfullscreen)
- [onWindowLeaveFullScreen](#onwindowleavefullscreen)
- [onWindowEvent](#onwindowevent)
- [许可证](#许可证)
- [平台支持](#%E5%B9%B3%E5%8F%B0%E6%94%AF%E6%8C%81)
- [快速开始](#%E5%BF%AB%E9%80%9F%E5%BC%80%E5%A7%8B)
- [安装](#%E5%AE%89%E8%A3%85)
- [用法](#%E7%94%A8%E6%B3%95)
- [监听事件](#%E7%9B%91%E5%90%AC%E4%BA%8B%E4%BB%B6)
- [关闭时退出](#%E5%85%B3%E9%97%AD%E6%97%B6%E9%80%80%E5%87%BA)
- [macOS](#macos)
- [关闭前确认](#%E5%85%B3%E9%97%AD%E5%89%8D%E7%A1%AE%E8%AE%A4)
- [在启动时隐藏](#%E5%9C%A8%E5%90%AF%E5%8A%A8%E6%97%B6%E9%9A%90%E8%97%8F)
- [Linux](#linux)
- [macOS](#macos-1)
- [Windows](#windows)
- [文章](#%E6%96%87%E7%AB%A0)
- [谁在用使用它?](#%E8%B0%81%E5%9C%A8%E7%94%A8%E4%BD%BF%E7%94%A8%E5%AE%83)
- [API](#api)
- [WindowManager](#windowmanager)
- [Methods](#methods)
- [waitUntilReadyToShow](#waituntilreadytoshow)
- [destroy](#destroy)
- [close](#close)
- [isPreventClose](#ispreventclose)
- [setPreventClose](#setpreventclose)
- [focus](#focus)
- [blur `macos` `windows`](#blur--macos--windows)
- [isFocused `macos` `windows`](#isfocused--macos--windows)
- [show](#show)
- [hide](#hide)
- [isVisible](#isvisible)
- [isMaximized](#ismaximized)
- [maximize](#maximize)
- [unmaximize](#unmaximize)
- [isMinimized](#isminimized)
- [minimize](#minimize)
- [restore](#restore)
- [isFullScreen](#isfullscreen)
- [setFullScreen](#setfullscreen)
- [setAspectRatio](#setaspectratio)
- [setBackgroundColor](#setbackgroundcolor)
- [setAlignment](#setalignment)
- [center](#center)
- [getBounds](#getbounds)
- [setBounds](#setbounds)
- [getSize](#getsize)
- [setSize](#setsize)
- [getPosition](#getposition)
- [setPosition](#setposition)
- [setMinimumSize](#setminimumsize)
- [setMaximumSize](#setmaximumsize)
- [isResizable](#isresizable)
- [setResizable](#setresizable)
- [isMovable `macos`](#ismovable--macos)
- [setMovable `macos`](#setmovable--macos)
- [isMinimizable `macos` `windows`](#isminimizable--macos--windows)
- [setMinimizable `macos` `windows`](#setminimizable--macos--windows)
- [isClosable `windows`](#isclosable--windows)
- [isMaximizable `windows`](#ismaximizable--windows)
- [setMaximizable](#setmaximizable)
- [setClosable `macos` `windows`](#setclosable--macos--windows)
- [isAlwaysOnTop](#isalwaysontop)
- [setAlwaysOnTop](#setalwaysontop)
- [isAlwaysOnBottom](#isalwaysonbottom)
- [setAlwaysOnBottom `linux`](#setalwaysonbottom--linux)
- [getTitle](#gettitle)
- [setTitle](#settitle)
- [setTitleBarStyle](#settitlebarstyle)
- [getTitleBarHeight](#gettitlebarheight)
- [isSkipTaskbar](#isskiptaskbar)
- [setSkipTaskbar](#setskiptaskbar)
- [setProgressBar `macos`](#setprogressbar--macos)
- [setIcon `windows`](#seticon--windows)
- [hasShadow `macos` `windows`](#hasshadow--macos--windows)
- [setHasShadow `macos` `windows`](#sethasshadow--macos--windows)
- [getOpacity](#getopacity)
- [setOpacity](#setopacity)
- [setBrightness](#setbrightness)
- [setIgnoreMouseEvents](#setignoremouseevents)
- [startDragging](#startdragging)
- [startResizing `linux` `windows`](#startresizing--linux--windows)
- [grabKeyboard `linux`](#grabkeyboard--linux)
- [ungrabKeyboard `linux`](#ungrabkeyboard--linux)
- [WindowListener](#windowlistener)
- [Methods](#methods-1)
- [onWindowClose](#onwindowclose)
- [onWindowFocus](#onwindowfocus)
- [onWindowBlur](#onwindowblur)
- [onWindowMaximize](#onwindowmaximize)
- [onWindowUnmaximize](#onwindowunmaximize)
- [onWindowMinimize](#onwindowminimize)
- [onWindowRestore](#onwindowrestore)
- [onWindowResize](#onwindowresize)
- [onWindowResized `macos` `windows`](#onwindowresized--macos--windows)
- [onWindowMove](#onwindowmove)
- [onWindowMoved `macos` `windows`](#onwindowmoved--macos--windows)
- [onWindowEnterFullScreen](#onwindowenterfullscreen)
- [onWindowLeaveFullScreen](#onwindowleavefullscreen)
- [onWindowEvent](#onwindowevent)
- [许可证](#%E8%AE%B8%E5%8F%AF%E8%AF%81)

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

Expand All @@ -134,7 +135,7 @@

```yaml
dependencies:
window_manager: ^0.2.8
window_manager: ^0.2.9
```

Expand Down Expand Up @@ -743,11 +744,10 @@ Returns `double` - between 0.0 (fully transparent) and 1.0 (fully opaque).

Sets the opacity of the window.

##### setBrightness `macos` `windows`
##### setBrightness

Sets the brightness of the window.


##### setIgnoreMouseEvents

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


##### grabKeyboard `linux`

Grabs the keyboard.

##### ungrabKeyboard `linux`

Ungrabs the keyboard.

### WindowListener

#### Methods
Expand Down
Loading

0 comments on commit 9c4ee80

Please sign in to comment.