DropDown


Description:

[ CCode ( has_construct_function = false , type = "GtkWidget*" ) ]
public DropDown (owned ListModel? model, owned Expression? expression)

Creates a new `GtkDropDown`.

You may want to call [method@Gtk.DropDown.set_factory] to set up a way to map its items to widgets.

Parameters:

model

the model to use

expression

the expression to use

Returns:

a new `GtkDropDown`