set_settings


Description:

[ Version ( deprecated = true , deprecated_since = "3.24" , since = "3.10" ) ]
public void set_settings (SourceSearchSettings? settings)

Warning: set_settings is deprecated since 3.24.

Associate a SourceSearchSettings with the search context.

Note:

The settings property will become a construct-only property in a future version.

Create a new SourceSearchContext instead, or change the SourceSearchSettings properties. When the settings property will become construct-only, it will be possible to simplify some code that needed to listen to the notify::settings signal.

If settings is null, a new one will be created.

The search context holds a reference to settings.

Parameters:

this

a SourceSearchContext.

settings

the new SourceSearchSettings, or null.




2022 vala-language.org