gtk-sharp 0.0.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. A widget that displays a small to medium amount of text This widget displays a small to medium amount of text, it is the widget used by other widgets, such as and for displaying text. Labels may contain mnemonics; mnemonics are underlined characters in the label, used for keyboard navigation. To provide the mnemonic, put an underscore before the mnemonic character, such as "_File". Gtk.Misc Atk.Implementor GLib.IWrapper GLib.IWrapper System.IDisposable Method Gtk.Label Creates a new label widget, containing the text in . The text of the label, with an optional underscore to mark the mnemonic character a new widget If characters in str are preceded by an underscore, they are underlined. If you need a literal underscore character in a label, use '__' (two underscores). The first underlined character represents a keyboard accelerator called a mnemonic. The mnemonic key can be used to activate another widget, chosen automatically, or explicitly using . If is not set, then the first activatable ancestor of the will be chosen as the mnemonic widget. For instance, if the label is inside a button or menu item, the button or menu item will automatically become the mnemonic widget and be activated by the mnemonic. Method System.Boolean To be added To be added: an object of type 'int' To be added: an object of type 'int' To be added: an object of type 'bool' To be added Method System.Void To be added To be added: an object of type 'int' To be added: an object of type 'int' To be added Method System.Void To be added To be added: an object of type 'int' To be added: an object of type 'int' To be added Method System.Void Disposes the resources associated with the object. Constructor Internal constructor Pointer to the C object. An instance of Label, wrapping the C object. This is an internal constructor, and should not be used by user code. Constructor Creates a new label with the given text inside it. You can pass to get an empty label widget. The text of the label the new label widget Creates a new label with the given text inside it. You can pass to get an empty label widget. Constructor To be added To be added: an object of type 'Gtk.Label' To be added Property System.UInt32 The GLib Type for Gtk.Label The GLib Type for the Gtk.Label class. Property System.String To be added To be added: an object of type 'string' To be added: an object of type 'string' Sets the label's text from the string . If characters in are preceded by an underscore, they are underlined indicating that they represent a keyboard accelerator called a mnemonic. The mnemonic key can be used to activate another widget, chosen automatically, or explicitly using . Property System.String Parses str which is marked up with the Pango text markup language a markup string (see Pango markup format) a GtkLabel Parses which is marked up with the Pango text markup language, setting the label's text and attribute list based on the parse results. Property System.Boolean Toggles line wrapping within the GtkLabel widget. makes it break lines if text exceeds the widget's size. lets the text get cut off by the edge of the widget if it exceeds the widget size. if the lines of the label are automatically wrapped. Property System.String The text within the GtkLabel widget. The text you want to set. a GtkLabel When setting the text within the GtkLabel widget, it overwrites any text that was there before. Property Pango.Layout Gets the PangoLayout used to display the label. the PangoLayout for this label Gets the PangoLayout used to display the label. The layout is useful to e.g. convert text positions to pixel positions, in combination with . The returned layout is owned by the label so need not be freed by the caller. Property System.String Parses which is marked up with the Pango text markup language, setting the label's text and attribute list based on the parse results. a markup string (see Pango markup format) a new label widget Parses which is marked up with the Pango text markup language, setting the label's text and attribute list based on the parse results. If characters in str are preceded by an underscore, they are underlined indicating that they represent a keyboard accelerator called a mnemonic. The mnemonic key can be used to activate another widget, chosen automatically, or explicitly using . Property System.Boolean Toggle whether or not the label allow the user to select text from the label, for copy-and-paste. to allow selecting text in the label, and to disallow. if the label is selectable, and if not. Property Gtk.Justification The alignment of the lines in the text of the label relative to each other a The justification of the label Sets the alignment of the lines in the text of the label relative to each other. is the default value when the widget is first created with . If you instead want to set the alignment of the label as a whole, set instead. This has no effect on labels containing only a single line. Property System.Int32 To be added To be added: an object of type 'int' To be added Property System.Int32 To be added To be added: an object of type 'int' To be added Property Gtk.Widget To be added To be added: an object of type 'Gtk.Widget' To be added: an object of type 'Gtk.Widget' To be added Property System.String To be added To be added: an object of type 'string' To be added: an object of type 'string' To be added Property System.String To be added To be added: an object of type 'string' To be added: an object of type 'string' To be added Property System.UInt32 To be added To be added: an object of type 'uint' To be added Property System.Boolean To be added To be added: an object of type 'bool' To be added: an object of type 'bool' To be added Property System.Boolean To be added To be added: an object of type 'bool' To be added: an object of type 'bool' To be added Property System.Boolean Whether the label's text is interpreted as marked up with the Pango text markup language. to parse the text as Pango markup, as plain-text Property Pango.AttrList To be added To be added: an object of type 'Pango.AttrList' To be added: an object of type 'Pango.AttrList' To be added Event To be added To be added Event To be added To be added Event To be added To be added Constructor Internal constructor GLib type for the type Creates a new instance of Label, using the GLib-provided type This is a constructor used by derivative types of that would have their own GLib type assigned to it. This is not typically used by C# code.