set_show_close_button


Description:

[ Version ( since = "0.0.6" ) ]
public void set_show_close_button (bool visible)

Shows or hides the close button.

Applications that already have a “search” toggle button should not show a close button in their search bar, as it duplicates the role of the toggle button.

Parameters:

this

a SearchBar

visible

whether the close button will be shown or not




2022 vala-language.org