Package org.gnome.gtk

Class Inscription

java.lang.Object
All Implemented Interfaces:
Proxy, Accessible, AccessibleText, Buildable, ConstraintTarget

@Generated("io.github.jwharm.JavaGI") public class Inscription extends Widget implements Accessible, AccessibleText, Buildable, ConstraintTarget
GtkInscription is a widget to show text in a predefined area.

You likely want to use GtkLabel instead as this widget is intended only for a small subset of use cases. The main scenario envisaged is inside lists such as GtkColumnView.

While a GtkLabel sizes itself depending on the text that is displayed, GtkInscription is given a size and inscribes the given text into that space as well as it can.

Users of this widget should take care to plan behaviour for the common case where the text doesn't fit exactly in the allocated space.