Closed IoIxD closed 2 years ago
I think, you mean the line here: https://github.com/jezek/xgb/blob/7a4fade77cf2a8406e63409d11ac844dfb150679/examples/shapes/main.go#L34
The xproto.Drawable is not a function, but a Drawable type. It is used in various xproto functions (CreateGC, PolyLine, CopyArea, ...) as an idicator of window where to draw (or do some drawing operation).
xproto
Ah, my bad.
I think, you mean the line here: https://github.com/jezek/xgb/blob/7a4fade77cf2a8406e63409d11ac844dfb150679/examples/shapes/main.go#L34
The xproto.Drawable is not a function, but a Drawable type. It is used in various
xproto
functions (CreateGC, PolyLine, CopyArea, ...) as an idicator of window where to draw (or do some drawing operation).