Raw bindings.
Note: The Cairo
type (C cairo_t*
) is from Graphics.Rendering.Cairo.Types, whose haddock is (as of writing) hidden
- data C'Aosd = C'Aosd
- type C'AosdCoordinate = CUInt
- c'COORDINATE_MINIMUM :: Num a => a
- c'COORDINATE_CENTER :: Num a => a
- c'COORDINATE_MAXIMUM :: Num a => a
- data C'AosdMouseEvent = C'AosdMouseEvent {}
- type C'AosdRenderer = FunPtr (Cairo -> Ptr () -> IO ())
- type C'AosdMouseEventCb = FunPtr (Ptr C'AosdMouseEvent -> Ptr () -> IO ())
- mk'AosdRenderer :: (Cairo -> Ptr () -> IO ()) -> IO C'AosdRenderer
- mk'AosdMouseEventCb :: (Ptr C'AosdMouseEvent -> Ptr () -> IO ()) -> IO C'AosdMouseEventCb
- type C'AosdTransparency = CUInt
- mK'AosdRenderer :: C'AosdRenderer -> Cairo -> Ptr () -> IO ()
- mK'AosdMouseEventCb :: C'AosdMouseEventCb -> Ptr C'AosdMouseEvent -> Ptr () -> IO ()
- c'TRANSPARENCY_NONE :: Num a => a
- c'TRANSPARENCY_FAKE :: Num a => a
- c'TRANSPARENCY_COMPOSITE :: Num a => a
- p'AosdMouseEvent'x :: Ptr C'AosdMouseEvent -> Ptr CInt
- p'AosdMouseEvent'y :: Ptr C'AosdMouseEvent -> Ptr CInt
- p'AosdMouseEvent'x_root :: Ptr C'AosdMouseEvent -> Ptr CInt
- data C'XClassHint = C'XClassHint {}
- p'AosdMouseEvent'y_root :: Ptr C'AosdMouseEvent -> Ptr CInt
- c'aosd_new :: IO (Ptr C'Aosd)
- c'aosd_destroy :: Ptr C'Aosd -> IO ()
- p'AosdMouseEvent'button :: Ptr C'AosdMouseEvent -> Ptr CUInt
- p'aosd_new :: FunPtr (IO (Ptr C'Aosd))
- p'XClassHint'res_name :: Ptr C'XClassHint -> Ptr CString
- p'aosd_destroy :: FunPtr (Ptr C'Aosd -> IO ())
- p'AosdMouseEvent'time :: Ptr C'AosdMouseEvent -> Ptr CULong
- p'XClassHint'res_class :: Ptr C'XClassHint -> Ptr CString
- c'aosd_set_name :: Ptr C'Aosd -> Ptr C'XClassHint -> IO ()
- c'aosd_set_names :: Ptr C'Aosd -> CString -> CString -> IO ()
- c'aosd_set_transparency :: Ptr C'Aosd -> C'AosdTransparency -> IO ()
- p'aosd_set_name :: FunPtr (Ptr C'Aosd -> Ptr C'XClassHint -> IO ())
- p'aosd_set_names :: FunPtr (Ptr C'Aosd -> CString -> CString -> IO ())
- c'aosd_set_geometry :: Ptr C'Aosd -> CInt -> CInt -> CInt -> CInt -> IO ()
- c'aosd_set_position :: Ptr C'Aosd -> CUInt -> CInt -> CInt -> IO ()
- p'aosd_set_transparency :: FunPtr (Ptr C'Aosd -> C'AosdTransparency -> IO ())
- c'aosd_set_position_offset :: Ptr C'Aosd -> CInt -> CInt -> IO ()
- p'aosd_set_geometry :: FunPtr (Ptr C'Aosd -> CInt -> CInt -> CInt -> CInt -> IO ())
- p'aosd_set_position :: FunPtr (Ptr C'Aosd -> CUInt -> CInt -> CInt -> IO ())
- c'aosd_set_position_with_offset :: Ptr C'Aosd -> C'AosdCoordinate -> C'AosdCoordinate -> CInt -> CInt -> CInt -> CInt -> IO ()
- p'aosd_set_position_offset :: FunPtr (Ptr C'Aosd -> CInt -> CInt -> IO ())
- c'aosd_set_renderer :: Ptr C'Aosd -> C'AosdRenderer -> Ptr () -> IO ()
- c'aosd_set_mouse_event_cb :: Ptr C'Aosd -> C'AosdMouseEventCb -> Ptr () -> IO ()
- p'aosd_set_position_with_offset :: FunPtr (Ptr C'Aosd -> C'AosdCoordinate -> C'AosdCoordinate -> CInt -> CInt -> CInt -> CInt -> IO ())
- c'aosd_set_hide_upon_mouse_event :: Ptr C'Aosd -> CInt -> IO ()
- p'aosd_set_renderer :: FunPtr (Ptr C'Aosd -> C'AosdRenderer -> Ptr () -> IO ())
- p'aosd_set_mouse_event_cb :: FunPtr (Ptr C'Aosd -> C'AosdMouseEventCb -> Ptr () -> IO ())
- p'aosd_set_hide_upon_mouse_event :: FunPtr (Ptr C'Aosd -> CInt -> IO ())
- c'aosd_render :: Ptr C'Aosd -> IO ()
- c'aosd_show :: Ptr C'Aosd -> IO ()
- c'aosd_hide :: Ptr C'Aosd -> IO ()
- p'aosd_render :: FunPtr (Ptr C'Aosd -> IO ())
- p'aosd_show :: FunPtr (Ptr C'Aosd -> IO ())
- p'aosd_hide :: FunPtr (Ptr C'Aosd -> IO ())
- c'aosd_loop_once :: Ptr C'Aosd -> IO ()
- c'aosd_loop_for :: Ptr C'Aosd -> CUInt -> IO ()
- p'aosd_loop_once :: FunPtr (Ptr C'Aosd -> IO ())
- p'aosd_loop_for :: FunPtr (Ptr C'Aosd -> CUInt -> IO ())
- c'aosd_flash :: Ptr C'Aosd -> CUInt -> CUInt -> CUInt -> IO ()
- p'aosd_flash :: FunPtr (Ptr C'Aosd -> CUInt -> CUInt -> CUInt -> IO ())
Documentation
type C'AosdCoordinate = CUIntSource
c'COORDINATE_MINIMUM :: Num a => aSource
c'COORDINATE_CENTER :: Num a => aSource
c'COORDINATE_MAXIMUM :: Num a => aSource
type C'AosdMouseEventCb = FunPtr (Ptr C'AosdMouseEvent -> Ptr () -> IO ())Source
mk'AosdRenderer :: (Cairo -> Ptr () -> IO ()) -> IO C'AosdRendererSource
mk'AosdMouseEventCb :: (Ptr C'AosdMouseEvent -> Ptr () -> IO ()) -> IO C'AosdMouseEventCbSource
type C'AosdTransparency = CUIntSource
mK'AosdRenderer :: C'AosdRenderer -> Cairo -> Ptr () -> IO ()Source
mK'AosdMouseEventCb :: C'AosdMouseEventCb -> Ptr C'AosdMouseEvent -> Ptr () -> IO ()Source
c'TRANSPARENCY_NONE :: Num a => aSource
c'TRANSPARENCY_FAKE :: Num a => aSource
c'TRANSPARENCY_COMPOSITE :: Num a => aSource
data C'XClassHint Source
c'aosd_new :: IO (Ptr C'Aosd)Source
object configurators
c'aosd_set_name :: Ptr C'Aosd -> Ptr C'XClassHint -> IO ()Source
p'aosd_set_name :: FunPtr (Ptr C'Aosd -> Ptr C'XClassHint -> IO ())Source
p'aosd_set_transparency :: FunPtr (Ptr C'Aosd -> C'AosdTransparency -> IO ())Source
c'aosd_set_position_with_offset :: Ptr C'Aosd -> C'AosdCoordinate -> C'AosdCoordinate -> CInt -> CInt -> CInt -> CInt -> IO ()Source
c'aosd_set_renderer :: Ptr C'Aosd -> C'AosdRenderer -> Ptr () -> IO ()Source
c'aosd_set_mouse_event_cb :: Ptr C'Aosd -> C'AosdMouseEventCb -> Ptr () -> IO ()Source
p'aosd_set_position_with_offset :: FunPtr (Ptr C'Aosd -> C'AosdCoordinate -> C'AosdCoordinate -> CInt -> CInt -> CInt -> CInt -> IO ())Source
p'aosd_set_renderer :: FunPtr (Ptr C'Aosd -> C'AosdRenderer -> Ptr () -> IO ())Source
p'aosd_set_mouse_event_cb :: FunPtr (Ptr C'Aosd -> C'AosdMouseEventCb -> Ptr () -> IO ())Source