Documentation ¶
Index ¶
- Constants
- Variables
- func EventSourceRemove(source EventSource)
- func EventSourceTimerUpdate(source EventSource, msDelay int32) bool
- func Exec(bin string, arg ...string)
- func GeometryContains(a, b Geometry) bool
- func GeometryEquals(a, b Geometry) bool
- func GetWLDisplay() *C.struct_wl_display
- func HandleGetUserData(handle View) unsafe.Pointer
- func HandleSetUserData(handle View, userdata unsafe.Pointer)
- func Init() bool
- func KeyboardGetCurrentKeys() []uint32
- func KeyboardGetKeysymForKey(key uint32, mods *Modifiers) uint32
- func KeyboardGetUtf32ForKey(key uint32, mods *Modifiers) uint32
- func KeyboardGetXKBKeymap() *C.struct_xkb_keymap
- func KeyboardGetXKBState() *C.struct_xkb_state
- func LogSetHandler(handler func(LogType, string))
- func OutputUnfocus()
- func PixelsRead(format PixelFormat, geometry Geometry, outGeometry *Geometry, ...)
- func PixelsWrite(format PixelFormat, geometry Geometry, data unsafe.Pointer)
- func PointEquals(a, b Point) bool
- func PointerSetPosition(pos Point)
- func Run()
- func SetCompositorReadyCb(cb func())
- func SetCompositorTerminateCb(cb func())
- func SetInputCreatedCb(cb func(*C.struct_libinput_device) bool)
- func SetInputDestroyedCb(cb func(*C.struct_libinput_device))
- func SetKeyboardKeyCb(cb func(View, uint32, Modifiers, uint32, KeyState) bool)
- func SetOutputContextCreated(cb func(Output))
- func SetOutputContextDestroyed(cb func(Output))
- func SetOutputCreatedCb(cb func(Output) bool)
- func SetOutputDestroyedCb(cb func(Output))
- func SetOutputFocusCb(fn func(Output, bool))
- func SetOutputRenderPostCb(cb func(Output))
- func SetOutputRenderPreCb(cb func(Output))
- func SetOutputResolutionCb(cb func(Output, *Size, *Size))
- func SetPointerButtonCb(cb func(View, uint32, Modifiers, uint32, ButtonState, *Point) bool)
- func SetPointerMotionCb(cb func(View, uint32, *Point) bool)
- func SetPointerScrollCb(cb func(View, uint32, Modifiers, uint8, [2]float64) bool)
- func SetTouchCb(cb func(View, uint32, Modifiers, TouchType, int32, *Point) bool)
- func SetViewCreatedCb(cb func(View) bool)
- func SetViewDestroyedCb(cb func(View))
- func SetViewFocusCb(cb func(View, bool))
- func SetViewMoveToOutputCb(cb func(View, Output, Output))
- func SetViewPropertiesUpdatedCb(cb func(View, ViewPropertyUpdateBit))
- func SetViewRenderPostCb(cb func(View))
- func SetViewRenderPreCb(cb func(View))
- func SetViewRequestGeometryCb(cb func(View, *Geometry))
- func SetViewRequestMoveCb(cb func(View, *Point))
- func SetViewRequestResizeCb(cb func(View, uint32, *Point))
- func SetViewRequestStateCb(cb func(View, ViewStateBit, bool))
- func SizeEquals(a, b Size) bool
- func SurfaceGetWLResource(surface Resource) *C.struct_wl_resource
- func Terminate()
- func ViewUnfocus()
- type BackendType
- type ButtonState
- type EventBit
- type EventSource
- type Geometry
- type KeyState
- type LedBit
- type LogType
- type ModifierBit
- type Modifiers
- type Output
- func (o Output) Focus()
- func (o Output) GetMask() uint32
- func (o Output) GetMutableViews() []View
- func (o Output) GetRenderer() Renderer
- func (o Output) GetResolution() *Size
- func (o Output) GetScale() uint32
- func (o Output) GetSleep() bool
- func (o Output) GetViews() []View
- func (o Output) GetVirtualResolution() *Size
- func (o Output) Name() string
- func (o Output) ScheduleRender()
- func (o Output) SetMask(mask uint32)
- func (o Output) SetResolution(resolution Size, scale uint32)
- func (o Output) SetSleep(sleep bool)
- func (o Output) SetViews(views []View) bool
- type PixelFormat
- type Point
- type PositionerAnchorBit
- type PositionerConstraintAdjustmentBit
- type PositionerGravityBit
- type Renderer
- type ResizeEdge
- type Resource
- type ScrollAxisBit
- type Size
- type SurfaceFormat
- type TouchType
- type View
- func (v View) BringAbove(other View)
- func (v View) BringToFront()
- func (v View) Close()
- func (v View) Focus()
- func (v View) GetAppID() string
- func (v View) GetClass() string
- func (v View) GetGeometry() *Geometry
- func (v View) GetMask() uint32
- func (v View) GetOutput() Output
- func (v View) GetPID() int
- func (v View) GetParent() View
- func (v View) GetRole() *C.struct_wl_resource
- func (v View) GetState() uint32
- func (v View) GetSurface() Resource
- func (v View) GetType() uint32
- func (v View) GetVisibleGeometry() Geometry
- func (v View) GetWlClient() *C.struct_wl_client
- func (v View) Instance() string
- func (v View) PositionerGetAnchor() PositionerAnchorBit
- func (v View) PositionerGetAnchorRect() *Geometry
- func (v View) PositionerGetConstraintAdjustment() PositionerConstraintAdjustmentBit
- func (v View) PositionerGetGravity() PositionerGravityBit
- func (v View) PositionerGetOffset() *Point
- func (v View) PositionerGetSize() *Size
- func (v View) SendBelow(other View)
- func (v View) SendToBack()
- func (v View) SetGeometry(edges uint32, geometry Geometry)
- func (v View) SetMask(mask uint32)
- func (v View) SetOutput(output Output)
- func (v View) SetParent(parent View)
- func (v View) SetState(state ViewStateBit, toggle bool)
- func (v View) SetType(typ ViewTypeBit, toggle bool)
- func (v View) Title() string
- type ViewPropertyUpdateBit
- type ViewStateBit
- type ViewTypeBit
Constants ¶
const ( EventReadable EventBit = 0x01 EventWriteable = 0x02 EventHangup = 0x04 EventError = 0x08 )
const ( BitMaximized ViewStateBit = 1 << 0 BitFullscreen = 1 << 1 BitResizing = 1 << 2 BitMoving = 1 << 3 BitActivated = 1 << 4 )
const ( BitOverrideRedirect ViewTypeBit = 1 << 0 BitUnmanaged = 1 << 1 BitSplash = 1 << 2 BitModal = 1 << 3 BitPopup = 1 << 4 )
const ( PropertyTitle ViewPropertyUpdateBit = 1 << 0 PropertyClass = 1 << 1 PropertyAppID = 1 << 2 PropertyPID = 1 << 3 )
const ( ResizeEdgeNone ResizeEdge = 0 ResizeEdgeTop = 1 ResizeEdgeBottom = 2 ResizeEdgeLeft = 4 ResizeEdgeTopLeft = 5 ResizeEdgeBottomLeft = 6 ResizeEdgeRight = 8 ResizeEdgeTopRight = 9 ResizeEdgeBottomRight = 10 )
const ( BitModShift ModifierBit = 1 << 0 BitModCaps = 1 << 1 BitModCtrl = 1 << 2 BitModAlt = 1 << 3 BitModMod2 = 1 << 4 BitModMod3 = 1 << 5 BitModLogo = 1 << 6 BitModMod5 = 1 << 7 )
const ( BitLedNum LedBit = 1 << 0 BitLedCaps = 1 << 1 BitLedScroll = 1 << 2 )
const ( ButtonStateReleased = 0 ButtonStatePressed = 1 )
const ( BitAnchorNone = 0 BitAnchorTop = 1 << 0 BitAnchorBottom = 1 << 1 BitAnchorLeft = 1 << 2 BitAnchorRight = 1 << 3 )
const ( BitGravityNone = 0 BitGravityTop = 1 << 0 BitGravityBottom = 1 << 1 BitGravityLeft = 1 << 2 BitGravityRight = 1 << 3 )
const ( BitConstraintAdjustmentNone = 0 BitConstraintAdjustmentSlideX = 1 << 0 BitConstraintAdjustmentSlideY = 1 << 1 BitConstraintAdjustmentFlipX = 1 << 2 BitConstraintAdjustmentFlipY = 1 << 3 BitConstraintAdjustmentResizeX = 1 << 4 BitConstraintAdjustmentResizeY = 1 << 5 )
Variables ¶
Functions ¶
func EventSourceRemove ¶
func EventSourceRemove(source EventSource)
EventSourceRemove removes event source from event loop.
func EventSourceTimerUpdate ¶
func EventSourceTimerUpdate(source EventSource, msDelay int32) bool
EventSourceTimerUpdate updates timer to trigger after delay. Returns true on success.
func GeometryContains ¶
GeometryContains check if b is contained in a.
func GeometryEquals ¶
GeometryEquals compares two geometries.
func HandleGetUserData ¶
HandleGetUserData gets custom linked user data from handle.
func HandleSetUserData ¶
HandleSetUserData can be used to link custom data to handle. Client must allocate and handle the data as some C type.
func Init ¶
func Init() bool
Init initializeses wlc. Returns false on failure.
Avoid running unverified code before Init as wlc compositor may be run with higher privileges on non logind systems where compositor binary needs to be suid.
Init's purpose is to initialize and drop privileges as soon as possible.
func KeyboardGetCurrentKeys ¶
func KeyboardGetCurrentKeys() []uint32
KeyboardGetCurrentKeys gets currently held keys.
func KeyboardGetKeysymForKey ¶
KeyboardGetKeysymForKey is an utility function to convert raw keycode to keysym. Passed modifiers may transform the key.
func KeyboardGetUtf32ForKey ¶
KeyboardGetUtf32ForKey is an utility function to convert raw keycode to Unicdoe/UTF-32 codepoint. Passed modifiers may transform the key.
func KeyboardGetXKBKeymap ¶
func KeyboardGetXKBKeymap() *C.struct_xkb_keymap
KeyboardGetXKBKeymap exposes xkb_keymap. Can be used for more advanced key handling. This is currently only exposed as a C struct.
func KeyboardGetXKBState ¶
func KeyboardGetXKBState() *C.struct_xkb_state
KeyboardGetXKBState exposes xkb_state. Can be used for more advanced key handling. This is currently only exposed as a C struct.
func LogSetHandler ¶
LogSetHandler sets log handler. Can be set before Init.
func PixelsRead ¶
func PixelsRead(format PixelFormat, geometry Geometry, outGeometry *Geometry, outData unsafe.Pointer)
PixelsRead read pixel data from output's framebuffer. If the geometry is out of bounds, it will be automatically clamped. Potentially clamped geometry will be stored in out_geometry, to indicate width / height of the returned data. TODO: make more go friendly
func PixelsWrite ¶
func PixelsWrite(format PixelFormat, geometry Geometry, data unsafe.Pointer)
PixelsWrite write pixel data with the specific format to outputs framebuffer. If geometry is out of bounds, it will be automatically clamped. TODO: make more go friendly
func PointerSetPosition ¶
func PointerSetPosition(pos Point)
PointerSetPosition sets pointer position.
func SetCompositorReadyCb ¶
func SetCompositorReadyCb(cb func())
SetCompositorReadyCb sets callback to trigger when compositor is ready to accept clients.
func SetCompositorTerminateCb ¶
func SetCompositorTerminateCb(cb func())
SetCompositorTerminateCb sets callback to trigger when compositor is about to terminate.
func SetInputCreatedCb ¶
func SetInputCreatedCb(cb func(*C.struct_libinput_device) bool)
SetInputCreatedCb sets callback to trigger when input device is created. Return value of callback does nothing. (Experimental).
func SetInputDestroyedCb ¶
func SetInputDestroyedCb(cb func(*C.struct_libinput_device))
SetInputDestroyedCb sets callback to trigger when input device was destroyed. (Experimental).
func SetKeyboardKeyCb ¶
SetKeyboardKeyCb sets callback to trigger when key event was triggered, view handle will be zero if there was no focus. Callback can return true to prevent sending the event to clients.
func SetOutputContextCreated ¶
func SetOutputContextCreated(cb func(Output))
SetOutputContextCreated sets callback to trigger when output context is created. This generally happens on startup and when current tty changes.
func SetOutputContextDestroyed ¶
func SetOutputContextDestroyed(cb func(Output))
SetOutputContextDestroyed sets callback to trigger when output context is destroyed.
func SetOutputCreatedCb ¶
SetOutputCreatedCb sets callback to trigger when output is created. Callback should return false if you want to destroy the output. (e.g. failed to allocate data related to view)
func SetOutputDestroyedCb ¶
func SetOutputDestroyedCb(cb func(Output))
SetOutputDestroyedCb sets callback to trigger when output is destroyed.
func SetOutputFocusCb ¶
SetOutputFocusCb sets callback to trigger when output got or lost focus.
func SetOutputRenderPostCb ¶
func SetOutputRenderPostCb(cb func(Output))
SetOutputRenderPostCb sets the post render hook for output.
func SetOutputRenderPreCb ¶
func SetOutputRenderPreCb(cb func(Output))
SetOutputRenderPreCb sets the pre render hook for output.
func SetOutputResolutionCb ¶
SetOutputResolutionCb sets callback to trigger when output resolution changed.
func SetPointerButtonCb ¶
SetPointerButtonCb sets callback to trigger when button event was triggered, view handle will be zero if there was no focus. Callback can return true to prevent sending the event to clients.
func SetPointerMotionCb ¶
SetPointerMotionCb sets callback to trigger when motion event was triggered, view handle will be zero if there was no focus. Apply with wlc_pointer_set_position to agree. Callback can return true to prevent sending the event to clients.
func SetPointerScrollCb ¶
SetPointerScrollCb sets callback to trigger when scroll event was triggered, view handle will be zero if there was no focus. Callback can return true to prevent sending the event to clients.
func SetTouchCb ¶
SetTouchCb sets callback to trigger when touch event was triggered, view handle will be zero if there was no focus. Callback can return true to prevent sending the event to clients.
func SetViewCreatedCb ¶
SetViewCreatedCb sets callback to trigger when view is created. Callback should return false if you want to destroy the view. (e.g. failed to allocate data related to view).
func SetViewDestroyedCb ¶
func SetViewDestroyedCb(cb func(View))
SetViewDestroyedCb sets callback to trigger when view is destroyed.
func SetViewFocusCb ¶
SetViewFocusCb sets callback to trigger when view got or lost focus.
func SetViewMoveToOutputCb ¶
SetViewMoveToOutputCb sets callback to trigger when view is moved to an output.
func SetViewPropertiesUpdatedCb ¶
func SetViewPropertiesUpdatedCb(cb func(View, ViewPropertyUpdateBit))
SetViewPropertiesUpdatedCb sets callback to trigger when view properties are updated.
func SetViewRenderPostCb ¶
func SetViewRenderPostCb(cb func(View))
SetViewRenderPostCb sets the post render hook for view.
func SetViewRenderPreCb ¶
func SetViewRenderPreCb(cb func(View))
SetViewRenderPreCb sets the pre render hook for view.
func SetViewRequestGeometryCb ¶
SetViewRequestGeometryCb sets callback to trigger when a view requests to set geometry. Apply using View.SetGeometry to agree.
func SetViewRequestMoveCb ¶
SetViewRequestMoveCb sets callback to trigger when view requests to move itself. Start an interactive move to agree.
func SetViewRequestResizeCb ¶
SetViewRequestResizeCb sets callback to trigger when view requests to resize iteself with the given edge. Start an interactive resize to agree.
func SetViewRequestStateCb ¶
func SetViewRequestStateCb(cb func(View, ViewStateBit, bool))
SetViewRequestStateCb sets callback to trigger when a view requests to disable or enable the given state. Apply using View.SetState to agree.
func SurfaceGetWLResource ¶
func SurfaceGetWLResource(surface Resource) *C.struct_wl_resource
SurfaceGetWLResource returns wl_surface resource from internal wlc surface.
Types ¶
type BackendType ¶
type BackendType C.enum_wlc_backend_type
const ( BackendNone BackendType = iota BackendDrm BackendX11 )
func GetBackendType ¶
func GetBackendType() BackendType
GetBackendType queries for the backend wlc is using.
type ButtonState ¶
type ButtonState C.enum_wlc_button_state
type EventBit ¶
type EventBit C.enum_wlc_event_bit
type EventSource ¶
type EventSource *C.struct_wlc_event_source
EventSource is a reference to struct wlc_event_source which is handled internally by wlc.
func EventLoopAddFd ¶
func EventLoopAddFd(fd int, mask uint32, cb func(int, uint32, interface{}), arg interface{}) EventSource
EventLoopAddFd adds fd to event loop.
func EventLoopAddTimer ¶
func EventLoopAddTimer(cb func(interface{}), arg interface{}) EventSource
EventLoopAddTimer adds timer to event loop.
type KeyState ¶
type KeyState C.enum_wlc_key_state
const ( KeyStateReleased KeyState = 0 KeyStatePressed = 1 )
type LedBit ¶
type LedBit C.enum_wlc_led_bit
type LogType ¶
type LogType C.enum_wlc_log_type
type ModifierBit ¶
type ModifierBit C.enum_wlc_modifier_bit
type Output ¶
type Output C.wlc_handle
Output is a wlc_handle describing an output object in wlc.
func HandleFromWLOutputResource ¶
func HandleFromWLOutputResource(resource *C.struct_wl_resource) Output
HandleFromWLOutputResource returns output handle from wl_output resource.
func (Output) GetMutableViews ¶
GetMutableViews gets mutable views in creation order. This is mainly useful for wm's who need another view stack for inplace sorting. For example tiling wms, may want to use this to keep their tiling order separated from floating order.
func (Output) GetRenderer ¶
GetRenderer returns currently active renderer on the given output.
func (Output) GetResolution ¶
GetResolution gets real output resolution applied by either wlc_output_set_resolution call or initially. Do not use this for coordinate boundary.
func (Output) GetVirtualResolution ¶
GetVirtualResolution gets virtual output resolution with transformations applied for proper rendering for example on high density displays. Use this to figure out coordinate boundary.
func (Output) ScheduleRender ¶
func (o Output) ScheduleRender()
ScheduleRender schedules output for rendering next frame. If output was already scheduled this is no-op, if output is currently rendering, it will render immediately after.
func (Output) SetResolution ¶
SetResolution sets output resolution.
type PixelFormat ¶
type PixelFormat C.enum_wlc_pixel_format
PixelFormat describes the pixelformat used when writing/reading pixels.
const ( // RGBA8888 defines a color format where each channel is 8 bits. RGBA8888 PixelFormat = iota )
type Point ¶
type Point struct {
X, Y int32
}
Point is a fixed 2D point.
func PointerGetPosition ¶
func PointerGetPosition() *Point
PointerGetPosition gets current pointer position.
type PositionerAnchorBit ¶
type PositionerAnchorBit C.enum_wlc_positioner_anchor_bit
type PositionerConstraintAdjustmentBit ¶
type PositionerConstraintAdjustmentBit C.enum_wlc_positioner_constraint_adjustment_bit
type PositionerGravityBit ¶
type PositionerGravityBit C.enum_wlc_positioner_gravity_bit
type ResizeEdge ¶
type ResizeEdge C.enum_wlc_resize_edge
type Resource ¶
type Resource C.wlc_resource
Resource is a wlc resource.
func HandleFromWLSurfaceResource ¶
func HandleFromWLSurfaceResource(resource *C.struct_wl_resource) Resource
HandleFromWLSurfaceResource returns internal wlc surface from wl_surface resource.
func (Resource) FlushFrameCallbacks ¶
func (s Resource) FlushFrameCallbacks()
FlushFrameCallbacks adds frame callbacks of the given surface for the next output frame. It applies recursively to all subsurfaces. Useful when the compositor creates custom animations which require disabling internal rendering, but still need to update the surface textures (for ex. video players).
func (Resource) GetSubsurfaceGeometry ¶
GetSubsurfaceGeometry returns the size of a subsurface and its position relative to parent surface.
func (Resource) GetSubsurfaces ¶
GetSubsurfaces returns a list of subsurfaces for a surface.
func (Resource) GetTextures ¶
func (s Resource) GetTextures() ([3]uint32, SurfaceFormat, error)
GetTextures returns an array with the textures of a surface. Returns error if surface is invalid. Note that these are not only OpenGL textures but rather render-specific.
type ScrollAxisBit ¶
type ScrollAxisBit C.enum_wlc_scroll_axis_bit
const ( ScrollAxisVertical ScrollAxisBit = 1 << 0 ScrollAxisHorizontal = 1 << 1 )
type SurfaceFormat ¶
type SurfaceFormat C.enum_wlc_surface_format
SurfaceFormat defines the format returned by GetTextures.
const ( // SurfaceRGB defines surface format RGB. SurfaceRGB SurfaceFormat = iota // SurfaceRGBA defines surface format RGBA. SurfaceRGBA // SurfaceEGL defines surface format EGL. SurfaceEGL // SurfaceYUv defines surface format yuv. SurfaceYUv // SurfaceYUV defines surface format YUV. SurfaceYUV // SurfaceYXUXV defines surface format YXUXV. SurfaceYXUXV )
type TouchType ¶
type TouchType C.enum_wlc_touch_type
type View ¶
type View C.wlc_handle
View is a wlc_handle describing a view object in wlc.
func HandleFromWLSurface ¶
func HandleFromWLSurface(resource *C.struct_wl_resource) View
HandleFromWLSurface returns view handle from wl_surface resource.
func ViewFromSurface ¶
func ViewFromSurface(surface Resource, client *C.struct_wl_client, interf *C.struct_wl_interface, implementation unsafe.Pointer, version, id uint32, userdata unsafe.Pointer) View
ViewFromSurface turns wl_surface into a wlc view. Returns 0 on failure. This will also trigger view.created callback as any view would.
func (View) BringAbove ¶
BringAbove brings view above another view.
func (View) BringToFront ¶
func (v View) BringToFront()
BringToFront brings view to front of everything.
func (View) GetGeometry ¶
GetGeometry gets current geometry (what the client sees).
func (View) GetRole ¶
func (v View) GetRole() *C.struct_wl_resource
GetRole returns surface role resource from view handle. Return value will be nil if the view was not assigned role or created with ViewCreateFromSurface().
func (View) GetSurface ¶
GetSurface returns internal wlc surface from view handle.
func (View) GetVisibleGeometry ¶
GetVisibleGeometry gets current visible geometry (what wlc displays).
func (View) GetWlClient ¶
func (v View) GetWlClient() *C.struct_wl_client
GetWlClient returns wlc_client from view.
func (View) PositionerGetAnchor ¶
func (v View) PositionerGetAnchor() PositionerAnchorBit
PositionerGetAnchor gets anchor requested by positioner, as defined in xdg-shell v6. Returns default value WLC_BIT_ANCHOR_NONE if view has no valid positioner or if positioner has no anchor set.
func (View) PositionerGetAnchorRect ¶
PositionerGetAnchorRect gets anchor rectangle requested by positioner, as defined in xdg-shell v6. Returns nil if view has no valid positioner.
func (View) PositionerGetConstraintAdjustment ¶
func (v View) PositionerGetConstraintAdjustment() PositionerConstraintAdjustmentBit
PositionerGetConstraintAdjustment gets constraint adjustment requested by positioner, as defined in xdg-shell v6. Returns default value WLC_BIT_CONSTRAINT_ADJUSTMENT_NONE if view has no valid positioner or if positioner has no constraint adjustment set.
func (View) PositionerGetGravity ¶
func (v View) PositionerGetGravity() PositionerGravityBit
PositionerGetGravity gets anchor requested by positioner, as defined in xdg-shell v6. Returns default value WLC_BIT_GRAVITY_NONE if view has no valid positioner or if positioner has no gravity set.
func (View) PositionerGetOffset ¶
PositionerGetOffset gets offset requested by positioner, as defined in xdg-shell v6. Returns NULL if view has no valid positioner, or default value (0, 0) if positioner has no offset set.
func (View) PositionerGetSize ¶
PositionerGetSize gets size requested by positioner, as defined in xdg-shell v6.
func (View) SetGeometry ¶
SetGeometry sets geometry. Set edges if the geometry change is caused by interactive resize.
func (View) SetOutput ¶
SetOutput sets output for view. Alternatively output.SetViews() can be used.
func (View) SetState ¶
func (v View) SetState(state ViewStateBit, toggle bool)
SetState sets state bit. Toggle indicates whether it is set or not.
func (View) SetType ¶
func (v View) SetType(typ ViewTypeBit, toggle bool)
SetType sets type bit. TOggle indicates whether it is set or not.
type ViewPropertyUpdateBit ¶
type ViewPropertyUpdateBit C.enum_wlc_view_property_update_bit
type ViewStateBit ¶
type ViewStateBit C.enum_wlc_view_state_bit
type ViewTypeBit ¶
type ViewTypeBit C.enum_wlc_view_type_bit