Gnome::Gtk4::NoSelection
Table of Contents
Description§
Gnome::Gtk4::NoSelection is a Gnome::Gtk4::R-SelectionModel that does not allow selecting anything.
This model is meant to be used as a simple wrapper around a Gnome::Gio::R-ListModel when a Gnome::Gtk4::R-SelectionModel is required.
Gnome::Gtk4::NoSelection passes through sections from the underlying model.
Uml Diagram§
UNKNOWN image§
=for image :class<inline> :src<asset_files/images/plantuml/NoSelection.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-noselection§
Creates a new selection to handle $model.
method new-noselection ( N-List() $model --> Gnome::Gtk4::NoSelection )
Code
- $model; (transfer ownership: full) the Gnome::Gio::R-ListModel to manage.
Methods§
get-model§
Gets the model that $self is wrapping.
method get-model (--> N-List )
Code
Return value; The model being wrapped.
set-model§
Sets the model that $self should wrap.
If $model is undefined, this model will be empty.
method set-model ( N-List() $model )
Code
- $model; A Gnome::Gio::R-ListModel to wrap.
About my projects, examples and tutorials