mirror of
https://gitee.com/energye/energy.git
synced 2024-11-30 10:47:57 +08:00
v2.3.54 Fixed Chinese input and gtk3 issues for linux packagin,
And Windows Drag Region
This commit is contained in:
parent
d3b578c044
commit
baa61ac9a9
@ -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 {
|
||||
}
|
||||
|
@ -7,3 +7,7 @@
|
||||
//----------------------------------------
|
||||
|
||||
package cef
|
||||
|
||||
//Sys 系统托盘
|
||||
type SysTray struct {
|
||||
}
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user