Module Bimage_display.WindowSource
Sourceval create :
?callback:('a t -> unit) ->
?width:int ->
?height:int ->
string ->
('a, 'b, [< `Rgb | `Rgba ]) Bimage.Image.t ->
'a ->
'a t Sourceval set_data : 'a t -> 'a -> unit Sourceval set_callback : 'a t -> ('a t -> unit) option -> unit Sourceval mouse_position : 'a t -> float -> float -> float * float Sourceval on_mouse_move : ('a t -> float -> float -> unit) -> 'a t -> unit Sourceval get_mouse_position : 'a t -> float * float