PROGRAM(label);
// A simple text label.
// IMG: GTK.Label("A simple text label")
// IMG: GTK.Label("Multi\nline text\nlabel here")
// IMG: GTK.Label("Multi\nline text\nlabel here")->set_justify(GTK.JUSTIFY_LEFT)
// IMG: GTK.Label("Multi\nline text\nlabel here")->set_justify(GTK.JUSTIFY_RIGHT)
INHERIT(misc);
COMPLEX_FUNCTION(create, string);
NAME_ARGS(text);
// Creates a new label.
COMPLEX_FUNCTION(set_text, string);
NAME_ARGS(text);
// Set the text in the label
#ifndef gtk_label_set
# define gtk_label_set gtk_label_set_text
#endif
COMPLEX_FUNCTION(set, string);
NAME_ARGS(text);
// DEPRECATED Compatibility function to set the text in the label. Use
// ->set_text. This function can dissapear in the future.
COMPLEX_FUNCTION(set_justify, int);
NAME_ARGS(justify);
// one of CONST(GTK_JUSTIFY)
COMPLEX_FUNCTION(set_line_wrap, int);
// Should the label autolinewrap?

COMPLEX_FUNCTION(set_pattern, string);

int COMPLEX_FUNCTION(parse_uline, string);
// Convenience function to set the text and pattern by parsing
// a string with embedded underscores, returns the appropriate
// key symbol for the accelerator.
