Coding Custom Widgets with GTK 3 and GJS
GTK provides a lot of useful widgets,
but it inevitably can’t cover every possible use case. What if, for example, you
need an image widget that resizes itself based on the available width, and
clips its corners to fit in a popover?
Fortunately, GTK makes it easy to create your own widgets that do whatever you
want.