GtkButton::set_focus_on_click
void set_focus_on_click(bool
focus_on_click);
Use this method to set the
focus-on-click
property to the value of the focus_on_click
parameter. If it is true, the button
grabs focus when it is clicked by the mouse.
参照:
get_focus_on_click()