# Module GtkBase.Widget

    module Widget: sig .. end

    include GtkBaseProps.Widget

    val size_params : cont:(([> `widget ] as 'a) Gobject.param list -> 'b) ->
           'a Gobject.param list -> ?width:int -> ?height:int -> 'b

    val unparent : [> `widget ] Gtk.obj -> unit

    val show : [> `widget ] Gtk.obj -> unit

    val show_now : [> `widget ] Gtk.obj -> unit

    val show_all : [> `widget ] Gtk.obj -> unit

    val hide : [> `widget ] Gtk.obj -> unit

    val hide_all : [> `widget ] Gtk.obj -> unit

    val map : [> `widget ] Gtk.obj -> unit

    val unmap : [> `widget ] Gtk.obj -> unit

    val realize : [> `widget ] Gtk.obj -> unit

    val unrealize : [> `widget ] Gtk.obj -> unit

    val queue_draw : [> `widget ] Gtk.obj -> unit

    val queue_resize : [> `widget ] Gtk.obj -> unit

    val draw : [> `widget ] Gtk.obj -> Gdk.Rectangle.t option -> unit

    val event : [> `widget ] Gtk.obj -> 'a Gdk.event -> bool

    val activate : [> `widget ] Gtk.obj -> bool

    val reparent : [> `widget ] Gtk.obj -> [> `widget ] Gtk.obj -> unit

    val intersect : [> `widget ] Gtk.obj -> Gdk.Rectangle.t -> Gdk.Rectangle.t option

    val set_state : [> `widget ] Gtk.obj -> Gtk.Tags.state_type -> unit

    val set_uposition : [> `widget ] Gtk.obj -> x:int -> y:int -> unit

    val add_events : [> `widget ] Gtk.obj -> Gdk.Tags.event_mask list -> unit

    val get_toplevel : [> `widget ] Gtk.obj -> Gtk.widget Gtk.obj

    val get_ancestor : [> `widget ] Gtk.obj -> Gobject.g_type -> Gtk.widget Gtk.obj

    val get_colormap : [> `widget ] Gtk.obj -> Gdk.colormap

    val get_visual : [> `widget ] Gtk.obj -> Gdk.visual

    val get_pointer : [> `widget ] Gtk.obj -> int * int

    val is_ancestor : [> `widget ] Gtk.obj -> [> `widget ] Gtk.obj -> bool

    val ensure_style : [> `widget ] Gtk.obj -> unit

    val modify_fg : [> `widget ] Gtk.obj -> Gtk.Tags.state_type -> Gdk.color -> unit

    val modify_bg : [> `widget ] Gtk.obj -> Gtk.Tags.state_type -> Gdk.color -> unit

    val modify_text : [> `widget ] Gtk.obj -> Gtk.Tags.state_type -> Gdk.color -> unit

    val modify_base : [> `widget ] Gtk.obj -> Gtk.Tags.state_type -> Gdk.color -> unit

    val modify_font : [> `widget ] Gtk.obj -> Pango.font_description -> unit

    val get_pango_context : [> `widget ] Gtk.obj -> Pango.context

    val create_pango_context : [> `widget ] Gtk.obj -> Pango.context

    val render_icon : [> `widget ] Gtk.obj ->
           string -> Gtk.Tags.icon_size -> string option -> GdkPixbuf.pixbuf

    val add_accelerator : ([> `widget ] as 'a) Gtk.obj ->
           sgn:('a, unit -> unit) GtkSignal.t ->
           Gtk.accel_group ->
           key:Gdk.keysym ->
           ?modi:Gdk.Tags.modifier list -> ?flags:Gtk.Tags.accel_flag list -> unit

    val remove_accelerator : [> `widget ] Gtk.obj ->
           Gtk.accel_group -> key:Gdk.keysym -> ?modi:Gdk.Tags.modifier list -> unit

    val set_accel_path : [> `widget ] Gtk.obj -> string -> Gtk.accel_group -> unit

    val window : [> `widget ] Gtk.obj -> Gdk.window

    val allocation : [> `widget ] Gtk.obj -> Gtk.rectangle

    val set_colormap : [> `widget ] Gtk.obj -> Gdk.colormap -> unit

    val set_visual : [> `widget ] Gtk.obj -> Gdk.visual -> unit

    val set_default_colormap : Gdk.colormap -> unit

    val set_default_visual : Gdk.visual -> unit

    val get_default_colormap : unit -> Gdk.colormap

    val get_default_visual : unit -> Gdk.visual

    val push_colormap : Gdk.colormap -> unit

    val push_visual : Gdk.visual -> unit

    val pop_colormap : unit -> unit

    val pop_visual : unit -> unit

    module Tooltip: sig .. end

    module Signals: sig .. end