The GtkLabel class is the class for instantiating text label widgets.
The class heirarchy
Object +---GtkWidget +---GtkLabel |
The methods for the GtkEntry class are documented below.
This method creates and initializes the widget.
This is a example of how to create a label entry widget.
text = 'My label' mylabel = .Gtklabel~new(text) |
The new GtkLabel object.
This method gets the text justification for the widget.
This is a example of how to get the text justification.
justify = mylabel~justify |
None.
This method sets the text justification for the widget.
This is a example of how to set the text justification.
justify = 'GTK_JUSTIFY_LEFT' mylabel~justify = justify |
None.
This method sets the text for the widget.
This is a example of how to set the text.
text = 'David' mylabel~text = text |
None.