Method

GtkFileChooserButtonset_focus_on_click

deprecated: 3.20 since: 2.10

Declaration [src]

void
gtk_file_chooser_button_set_focus_on_click (
  GtkFileChooserButton* button,
  gboolean focus_on_click
)

Description [src]

Sets whether the button will grab focus when it is clicked with the mouse. Making mouse clicks not grab focus is useful in places like toolbars where you don’t want the keyboard focus removed from the main area of the application.

Available since: 2.10

Deprecated since: 3.20

Use gtk_widget_set_focus_on_click() instead.

Parameters

focus_on_click

Type: gboolean

Whether the button grabs focus when clicked with the mouse.