et.set_font_map.html)

Sets the font map to use for Pango rendering. When not set, the widget will
inherit the font map from its parent.

since: 3.18

######  [ gtk_widget_set_font_options ](method.Widget.set_font_options.html)

Sets the #cairo_font_options_t used for Pango rendering in this widget. When
not set, the default font options for the ` GdkScreen ` will be used.

since: 3.18

######  [ gtk_widget_set_halign ](method.Widget.set_halign.html)

Sets the horizontal alignment of ` widget ` . See the ` GtkWidget:halign `
property.

######  [ gtk_widget_set_has_tooltip ](method.Widget.set_has_tooltip.html)

Sets the has-tooltip property on ` widget ` to ` has_tooltip ` . See `
GtkWidget:has-tooltip ` for more information.

since: 2.12

######  [ gtk_widget_set_has_window ](method.Widget.set_has_window.html)

Specifies whether ` widget ` has a ` GdkWindow ` of its own. Note that all
realized widgets have a non- ` NULL ` “window” pointer
(gtk_widget_get_window() never returns a ` NULL ` window when a widget is
realized), but for many of them it’s actually the ` GdkWindow ` of one of its
parent widgets. Widgets that do not create a %window for themselves in `
GtkWidget::realize ` must announce this by calling this function with `
has_window ` = ` FALSE ` .

since: 2.18

######  [ gtk_widget_set_hexpand ](method.Widget.set_hexpand.html)

Sets whether the widget would like any available extra horizontal space. When
a user resizes a ` GtkWindow ` , widgets with expand=  TRUE  generally receive
the extra space. For example, a list or scrollable area or document in your
window would often be set to expand.

######  [ gtk_widget_set_hexpand_set ](method.Widget.set_hexpand_set.html)

Sets whether the hexpand flag (see gtk_widget_get_hexpand()) will be used.

######  [ gtk_widget_set_mapped ](method.Widget.set_mapped.html)

Marks the widget as being mapped.

since: 2.20

######  [ gtk_widget_set_margin_bottom ](method.Widget.set_margin_bottom.html)

Sets the bottom margin of ` widget ` . See the ` GtkWidget:margin-bottom `
property.

since: 3.0

######  [ gtk_widget_set_margin_end ](method.Widget.set_margin_end.html)

Sets the end margin of ` widget ` . See the ` GtkWidget:margin-end ` property.

since: 3.12

######  [ gtk_widget_set_margin_left ](method.Widget.set_margin_left.html)

Sets the left margin of ` widget ` . See the ` GtkWidget:margin-left `
property.

deprecated: 3.12  since: 3.0

######  [ gtk_widget_set_margin_right ](method.Widget.set_margin_right.html)

Sets the right margin of ` widget ` . See the ` GtkWidget:margin-right `
property.

deprecated: 3.12  since: 3.0

######  [ gtk_widget_set_margin_start ](method.Widget.set_margin_start.html)

Sets the start margin of ` widget ` . See the ` GtkWidget:margin-start `
property.

since: 3.12

######  [ gtk_widget_set_margin_top ](method.Widget.set_margin_top.html)

Sets the top margin of ` widget ` . See the ` GtkWidget:margin-top ` property.

since: 3.0

######  [ gtk_widget_set_name ](method.Widget.set_name.html)

Widgets can be named, which allows you to refer to them from a  CSS  file. You
can apply a style to widgets with a particular name in the  CSS  file. See the
documentation for the  CSS  syntax (on the same page as the docs for `
GtkStyleContext ` ).

######  [ gtk_widget_set_no_show_all ](method.Widget.set_no_show_all.html)

Sets the ` GtkWidget:no-show-all ` property, which determines whether calls to
` gtk_widget_show_all() ` will affect this widget.

since: 2.4

######  [ gtk_widget_set_opacity ](method.Widget.set_opacity.html)

Request the ` widget ` to be rendered partially transparent, with opacity 0
being fully transparent and 1 fully opaque. (Opacity values are clamped to the
[0,1] range.). This works on both toplevel widget, and child widgets, although
there are some limitations:

since: 3.8

######  [ gtk_widget_set_parent ](method.Widget.set_parent.html)

This function is useful only when implementing subclasses of ` GtkContainer `
. Sets the containe