gtk.Label.Label Class Reference

Inheritance diagram for gtk.Label.Label:

gtk.Misc.Misc gtk.Widget.Widget gtk.ObjectGtk.ObjectGtk gobject.ObjectG.ObjectG gtk.AccelLabel.AccelLabel List of all members.

Public Member Functions

GtkLabelgetLabelStruct ()
 this (GtkLabel *gtkLabel)
 Sets our main struct and passes it to the parent class.
 this (char[] str, bit mnemonic=true)
 Creates a new GtkLabel, containing the text in str.
void delegate (Label)[] onCopyClipboardListeners
void addOnCopyClipboard (void delegate(Label) dlg)
 extern (C) static void callBackCopyClipboard(GtkLabel *labelStruct
void addOnMoveCursor (void delegate(GtkMovementStep, gint, gboolean, Label) dlg)
 extern (C) static void callBackMoveCursor(GtkLabel *labelStruct
void addOnPopulatePopup (void delegate(GtkMenu *, Label) dlg)
 extern (C) static void callBackPopulatePopup(GtkLabel *labelStruct

Public Attributes

int[char[]] connectedSignals
GtkMovementStep arg1
GtkMovementStep gint arg2
GtkMovementStep gint gboolean arg3
GtkMenuarg1

Protected Member Functions

void * getStruct ()
 the main Gtk struct as a void*

Protected Attributes

GtkLabelgtkLabel
 the main Gtk struct

Constructor & Destructor Documentation

gtk.Label.Label.this ( GtkLabel gtkLabel  ) 

Sets our main struct and passes it to the parent class.

gtk.Label.Label.this ( char[]  str,
bit  mnemonic = true 
)

Creates a new GtkLabel, containing the text in str.

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 gtk_label_set_mnemonic_widget(). If gtk_label_set_mnemonic_widget() is not called, then the first activatable ancestor of the GtkLabel 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. str: The text of the label, with an underscore in front of the mnemonic character mnemonic: when false uses the literal text passed in without mnemonic Returns: the new GtkLabel


Member Function Documentation

void gtk.Label.Label.addOnCopyClipboard ( void delegate(Label dlg  ) 

void gtk.Label.Label.addOnMoveCursor ( void delegate(GtkMovementStep, gint, gboolean, Label dlg  ) 

void gtk.Label.Label.addOnPopulatePopup ( void delegate(GtkMenu *, Label dlg  ) 

void gtk.Label.Label.delegate ( Label   ) 

gtk.Label.Label.extern (  ) 

Reimplemented from gtk.Widget.Widget.

gtk.Label.Label.extern (  ) 

Reimplemented from gtk.Widget.Widget.

gtk.Label.Label.extern (  ) 

Reimplemented from gtk.Widget.Widget.

GtkLabel* gtk.Label.Label.getLabelStruct (  ) 

void* gtk.Label.Label.getStruct (  )  [protected]

the main Gtk struct as a void*

Reimplemented from gtk.Misc.Misc.

Reimplemented in gtk.AccelLabel.AccelLabel.


Member Data Documentation

GtkMenu* gtk.Label.Label.arg1

Reimplemented from gtk.Widget.Widget.

GtkMovementStep gtk.Label.Label.arg1

Reimplemented from gtk.Widget.Widget.

GtkMovementStep gint gtk.Label.Label.arg2

GtkMovementStep gint gboolean gtk.Label.Label.arg3

int [char[]] gtk.Label.Label.connectedSignals

Reimplemented from gtk.Widget.Widget.

GtkLabel* gtk.Label.Label.gtkLabel [protected]

the main Gtk struct


SourceForge.net Logo DSource.org Logo digitalmars.com Logo