string ->
object
  method allocation : LTerm_geom.rect
  method can_focus : bool
  method children : t list
  method cursor_position : LTerm_geom.coord option
  method draw : LTerm_draw.context -> t -> unit
  method on_event : ?switch:switch -> (LTerm_event.t -> bool) -> unit
  method parent : 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 : t option -> unit
  method set_queue_draw : (unit -> unit) -> unit
  method set_resource_class : string -> unit
  method set_resources : LTerm_resources.t -> unit
  method set_text : string -> unit
  method size_request : LTerm_geom.size
  method text : string
  method update_resources : unit
end