r as the parent of ` widget ` , and takes care of some
details such as updating the state and style of the child to reflect its new
location. The opposite function is gtk_widget_unparent().

######  [ gtk_widget_set_parent_window ](method.Widget.set_parent_window.html)

Sets a non default parent window for ` widget ` .

######  [ gtk_widget_set_realized ](method.Widget.set_realized.html)

Marks the widget as being realized. This function must only be called after
all ` GdkWindows ` for the ` widget ` have been created and registered.

since: 2.20

######  [ gtk_widget_set_receives_default
](method.Widget.set_receives_default.html)

Specifies whether ` widget ` will be treated as the default widget within its
toplevel when it has the focus, even if another widget is the default.

since: 2.18

######  [ gtk_widget_set_redraw_on_allocate
](method.Widget.set_redraw_on_allocate.html)

Sets whether the entire widget is queued for drawing when its size allocation
changes. By default, this setting is ` TRUE ` and the entire widget is redrawn
on every size change. If your widget leaves the upper left unchanged when made
bigger, turning this setting off will improve performance.

######  [ gtk_widget_set_sensitive ](method.Widget.set_sensitive.html)

Sets the sensitivity of a widget. A widget is sensitive if the user can
interact with it. Insensitive widgets are “grayed out” and the user can’t
interact with them. Insensitive widgets are known as “inactive”, “disabled”,
or “ghosted” in some other toolkits.

######  [ gtk_widget_set_size_request ](method.Widget.set_size_request.html)

Sets the minimum size of a widget; that is, the widget’s size request will be
at least ` width ` by ` height ` . You can use this function to force a widget
to be larger than it normally would be.

######  [ gtk_widget_set_state ](method.Widget.set_state.html)

This function is for use in widget implementations. Sets the state of a widget
(insensitive, prelighted, etc.) Usually you should set the state using wrapper
functions such as gtk_widget_set_sensitive().

deprecated: 3.0

######  [ gtk_widget_set_state_flags ](method.Widget.set_state_flags.html)

This function is for use in widget implementations. Turns on flag values in
the current widget state (insensitive, prelighted, etc.).

since: 3.0

######  [ gtk_widget_set_style ](method.Widget.set_style.html)

Used to set the ` GtkStyle ` for a widget ( ` widget ` ->style). Since  GTK
3, this function does nothing, the passed in style is ignored.

deprecated: 3.0

######  [ gtk_widget_set_support_multidevice
](method.Widget.set_support_multidevice.html)

Enables or disables multiple pointer awareness. If this setting is ` TRUE ` ,
` widget ` will start receiving multiple, per device enter/leave events. Note
that if custom ` GdkWindows ` are created in ` GtkWidget::realize ` , `
gdk_window_set_support_multidevice() ` will have to be called manually on
them.

since: 3.0

######  [ gtk_widget_set_tooltip_markup
](method.Widget.set_tooltip_markup.html)

Sets ` markup ` as the contents of the tooltip, which is marked up with the
[Pango text markup language][PangoMarkupFormat].

since: 2.12

######  [ gtk_widget_set_tooltip_text ](method.Widget.set_tooltip_text.html)

Sets ` text ` as the contents of the tooltip. This function will take care of
setting ` GtkWidget:has-tooltip ` to ` TRUE ` and of the default handler for
the ` GtkWidget::query-tooltip ` signal.

since: 2.12

######  [ gtk_widget_set_tooltip_window
](method.Widget.set_tooltip_window.html)

Replaces the default window used for displaying tooltips with ` custom_window
` .  GTK  \+ will take care of showing and hiding ` custom_window ` at the
right moment, to behave likewise as the default tooltip window. If `
custom_window ` is ` NULL ` , the default tooltip window will be used.

since: 2.12

######  [ gtk_widget_set_valign ](method.Widget.set_valign.html)

Sets the vertical alignment of ` widget ` . See the ` GtkWidget:valign `
property.

######  [ g