method virtual set_width  : int -> unit