代码拉取完成,页面将自动刷新
同步操作将从 Gitee 极速下载/Fyne 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
package fyne
// Window describes a user interface window. Depending on the platform an app
// may have many windows or just the one.
type Window interface {
// Title returns the current window title.
// This is typically displayed in the window decorations.
Title() string
// SetTitle updates the current title of the window.
SetTitle(string)
// FullScreen returns whether or not this window is currently full screen.
FullScreen() bool
// SetFullScreen changes the requested fullScreen property
// true for a fullScreen window and false to unset this.
SetFullScreen(bool)
// Resize this window to the requested content size.
// The result may not be exactly as desired due to various desktop or
// platform constraints.
Resize(Size)
// RequestFocus attempts to raise and focus this window.
// This should only be called when you are sure the user would want this window
// to steal focus from any current focused window.
RequestFocus()
// FixedSize returns whether or not this window should disable resizing.
FixedSize() bool
// SetFixedSize sets a hint that states whether the window should be a fixed
// size or allow resizing.
SetFixedSize(bool)
// CenterOnScreen places a window at the center of the monitor
// the Window object is currently positioned on.
CenterOnScreen()
// Padded, normally true, states whether the window should have inner
// padding so that components do not touch the window edge.
Padded() bool
// SetPadded allows applications to specify that a window should have
// no inner padding. Useful for fullscreen or graphic based applications.
SetPadded(bool)
// Icon returns the window icon, this is used in various ways
// depending on operating system.
// Most commonly this is displayed on the window border or task switcher.
Icon() Resource
// SetIcon sets the icon resource used for this window.
// If none is set should return the application icon.
SetIcon(Resource)
SetOnClosed(func())
// Show the window on screen.
Show()
// Hide the window from the user.
// This will not destroy the window or cause the app to exit.
Hide()
// Close the window.
// If it is the only open window, or the "master" window the app will Quit.
Close()
// ShowAndRun is a shortcut to show the window and then run the application.
// This should be called near the end of a main() function as it will block.
ShowAndRun()
// Content returns the content of this window.
Content() CanvasObject
// SetContent sets the content of this window.
SetContent(CanvasObject)
// Canvas returns the canvas context to render in the window.
// This can be useful to set a key handler for the window, for example.
Canvas() Canvas
//Clipboard returns the system clipboard
Clipboard() Clipboard
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。