示例#1
0
文件: appgldi.go 项目: sqp/godock
func winToggleSize(win cdglobal.Window) { win.Maximize(!win.IsMaximized()) }
示例#2
0
文件: appgldi.go 项目: sqp/godock
func winMaximize(win cdglobal.Window)   { win.Maximize(true) }
示例#3
0
文件: appgldi.go 项目: sqp/godock
func winRestore(win cdglobal.Window)    { win.Maximize(false) }
示例#4
0
文件: icon.go 项目: sqp/godock
// GetAppliIcon returns the icon managing the window.
//
func GetAppliIcon(win cdglobal.Window) Icon {
	c := C.cairo_dock_get_appli_icon(win.ToNative())
	return NewIconFromNative(unsafe.Pointer(c))
}