set_position_func


Description:

[ Version ( since = "3.26" ) ]
public void set_position_func (owned SuggestionPositionFunc? func)

Sets a position func to position the popover.

In func, you should set the height of the rectangle to the maximum height that the popover should be allowed to grow.

Parameters:

this

a SuggestionEntry

func

A function to call to position the popover, or null to set the default.

func_data

closure data for func

func_data_destroy

a destroy notify for func_data