v2.3.54 Fixed Chinese input and gtk3 issues for linux packagin,

And Windows Drag Region
This commit is contained in:
杨红岩 2023-01-24 16:51:13 +08:00
parent d3b578c044
commit baa61ac9a9
3 changed files with 8 additions and 7 deletions

View File

@ -35,9 +35,9 @@ type ITray interface {
ShowBalloon() //显示托盘气泡
SetBalloon(title, content string, timeout int32) ITray //设置托盘气泡内容
Tray() ITray //获得 LCLTray, ( CefTray 返回 nil )
AsViewsFrameTray() *ViewsFrameTray
AsCEFTray() *CEFTray
AsLCLTray() *LCLTray
AsViewsFrameTray() *ViewsFrameTray //
AsCEFTray() *CEFTray //
AsLCLTray() *LCLTray //
}
//LCL 系统托盘
@ -68,6 +68,3 @@ type CEFTray struct {
isClosing bool
url string
}
type SysTray struct {
}

View File

@ -7,3 +7,7 @@
//----------------------------------------
package cef
//Sys 系统托盘
type SysTray struct {
}

View File

@ -21,7 +21,7 @@ func main() {
cef.BrowserWindow.Config.IconFS = "resources/icon.ico"
//cef.BrowserWindow.Config.EnableWebkitAppRegion = false
//cef.BrowserWindow.Config.EnableResize = false
cef.BrowserWindow.Config.EnableWebkitAppRegionDClk = false
//cef.BrowserWindow.Config.EnableWebkitAppRegionDClk = false
cef.BrowserWindow.SetBrowserInit(func(event *cef.BrowserEvent, window cef.IBrowserWindow) {
//event.SetOnWidgetCompMsg(func(sender lcl.IObject, message types.TMessage, aHandled bool) {
// fmt.Println("SetOnWidgetCompMsg:", message)