Method

GtkButtonget_focus_on_click

Declaration [src]

gboolean
gtk_button_get_focus_on_click (
  GtkButton* button
)

Description [src]

Returns whether the button grabs focus when it is clicked with the mouse. See gtk_button_set_focus_on_click().

Available since:2.4
Deprecated since:3.20

Use gtk_widget_get_focus_on_click() instead.

Return value

Returns: gboolean
 

TRUE if the button grabs focus when it is clicked with the mouse.