NO_TITLE
Gnome::Gtk4::N-Border
![](images/border.png)
Description
A struct that specifies a border around a rectangular area.
Each side can have different width.
Record N-Border
class N-Border:auth<github:MARTIMM>:api<2> is export is repr('CStruct') { has gint16 $.left; has gint16 $.right; has gint16 $.top; has gint16 $.bottom; }
left; The width of the left border
right; The width of the right border
top; The width of the top border
bottom; The width of the bottom border
Class initialization
new
:native-object
Create an object using a native object from elsewhere. See also Gnome::N::TopLevelSupportClass.
multi method new ( N-Object :$native-object! )
new-border
Allocates a new Gnome::Gtk4::N-Border struct and initializes its elements to zero.
method new-border ( --> Gnome::Gtk4::Border \)
Methods
copy
Copies a Gnome::Gtk4::N-Border.
method copy (--> CArray[N-Border] )
Return value; a copy of $border_
..
free
Frees a Gnome::Gtk4::N-Border.
method free ( )