set_custom_title


Description:

[ Version ( since = "1.2" ) ]
public void set_custom_title (Widget? widget)

Sets the custom title widget of this.

It will be displayed instead of the title if set. In this case, [property@Toast:title] is ignored.

Setting a custom title will unset [property@Toast:title].

Parameters:

this

a toast

widget

the custom title widget