string -> object   method allocation : LTerm_geom.rect   method can_focus : bool   method children : LTerm_widget.t list   method cursor_position : LTerm_geom.coord option   method draw : LTerm_draw.context -> LTerm_widget.t -> unit   method on_event :     ?switch:LTerm_widget_callbacks.switch -> (LTerm_event.t -> bool) -> unit   method parent : LTerm_widget.t option   method queue_draw : unit   method resource_class : string   method resources : LTerm_resources.t   method send_event : LTerm_event.t -> unit   method set_allocation : LTerm_geom.rect -> unit   method set_parent : LTerm_widget.t option -> unit   method set_queue_draw : (unit -> unit) -> unit   method set_resource_class : string -> unit   method set_resources : LTerm_resources.t -> unit   method size_request : LTerm_geom.size   method update_resources : unit end