tance.

######  [ gtk_widget_get_tooltip_markup
](method.Widget.get_tooltip_markup.html)

Gets the contents of the tooltip for ` widget ` .

since: 2.12

######  [ gtk_widget_get_tooltip_text ](method.Widget.get_tooltip_text.html)

Gets the contents of the tooltip for ` widget ` .

since: 2.12

######  [ gtk_widget_get_tooltip_window
](method.Widget.get_tooltip_window.html)

Returns the ` GtkWindow ` of the current tooltip. This can be the GtkWindow
created by default, or the custom tooltip window set using
gtk_widget_set_tooltip_window().

since: 2.12

######  [ gtk_widget_get_toplevel ](method.Widget.get_toplevel.html)

This function returns the topmost widget in the container hierarchy ` widget `
is a part of. If ` widget ` has no parent widgets, it will be returned as the
topmost widget. No reference will be added to the returned widget; it should
not be unreferenced.

######  [ gtk_widget_get_valign ](method.Widget.get_valign.html)

Gets the value of the ` GtkWidget:valign ` property.

######  [ gtk_widget_get_valign_with_baseline
](method.Widget.get_valign_with_baseline.html)

Gets the value of the ` GtkWidget:valign ` property, including `
GTK_ALIGN_BASELINE ` .

since: 3.10

######  [ gtk_widget_get_vexpand ](method.Widget.get_vexpand.html)

Gets whether the widget would like any available extra vertical space.

######  [ gtk_widget_get_vexpand_set ](method.Widget.get_vexpand_set.html)

Gets whether ` gtk_widget_set_vexpand() ` has been used to explicitly set the
expand flag on this widget.

######  [ gtk_widget_get_visible ](method.Widget.get_visible.html)

Determines whether the widget is visible. If you want to take into account
whether the widget’s parent is also marked as visible, use `
gtk_widget_is_visible() ` instead.

since: 2.18

######  [ gtk_widget_get_visual ](method.Widget.get_visual.html)

Gets the visual that will be used to render ` widget ` .

######  [ gtk_widget_get_window ](method.Widget.get_window.html)

Returns the widget’s window if it is realized, ` NULL ` otherwise.

since: 2.14

######  [ gtk_grab_add ](method.Widget.grab_add.html)

Makes ` widget ` the current grabbed widget.

######  [ gtk_widget_grab_default ](method.Widget.grab_default.html)

Causes ` widget ` to become the default widget. ` widget ` must be able to be
a default widget; typically you would ensure this yourself by calling `
gtk_widget_set_can_default() ` with a ` TRUE ` value. The default widget is
activated when the user presses Enter in a window. Default widgets must be
activatable, that is, ` gtk_widget_activate() ` should affect them. Note that
` GtkEntry ` widgets require the “activates-default” property set to ` TRUE `
before they activate the default widget when Enter is pressed and the `
GtkEntry ` is focused.

######  [ gtk_widget_grab_focus ](method.Widget.grab_focus.html)

Causes ` widget ` to have the keyboard focus for the ` GtkWindow ` it’s
inside. ` widget ` must be a focusable widget, such as a ` GtkEntry ` ;
something like ` GtkFrame ` won’t work.

######  [ gtk_grab_remove ](method.Widget.grab_remove.html)

Removes the grab from the given widget.

######  [ gtk_widget_has_default ](method.Widget.has_default.html)

Determines whether ` widget ` is the current default widget within its
toplevel. See gtk_widget_set_can_default().

since: 2.18

######  [ gtk_widget_has_focus ](method.Widget.has_focus.html)

Determines if the widget has the global input focus. See `
gtk_widget_is_focus() ` for the difference between having the global input
focus, and only having the focus within a toplevel.

since: 2.18

######  [ gtk_widget_has_grab ](method.Widget.has_grab.html)

Determines whether the widget is currently grabbing events, so it is the only
widget receiving input events (keyboard and mouse).

since: 2.18

######  [ gtk_widget_has_rc_style ](method.Widget.has_rc_style.html)

Determines if the widget style has been looked up through the rc mechanism.

deprecated: 3.0  since: 2.20

######  [ gtk_widget_has_scree