Gnome::Gtk4::MultiSelection
Table of Contents
Description§
Gnome::Gtk4::MultiSelection is a Gnome::Gtk4::R-SelectionModel that allows selecting multiple elements.
Uml Diagram§
UNKNOWN image§
=for image :class<inline> :src<asset_files/images/plantuml/MultiSelection.png> :width<70\%>Class initialization§
new§
:native-object§
Create an object using a native object from an object of the same type found elsewhere. See also Gnome::N::TopLevelSupportClass.
multi method new ( N-Object() :$native-object! )
Code
new-multiselection§
Creates a new selection to handle $model.
method new-multiselection ( N-List() $model --> Gnome::Gtk4::MultiSelection )
Code
- $model; (transfer ownership: full) the Gnome::Gio::R-ListModel to manage.
Methods§
get-model§
Returns the underlying model of $self.
method get-model (--> N-List )
Code
Return value; the underlying model.
set-model§
Sets the model that $self should wrap.
If $model is undefined, $self will be empty.
method set-model ( N-List() $model )
Code
- $model; A Gnome::Gio::R-ListModel to wrap.
About my projects, examples and tutorials