|
Public Member Functions |
virtual | ~Label () |
GtkLabel* | gobj () |
| Provides access to the underlying C GtkObject.
|
const GtkLabel* | gobj () const |
| Provides access to the underlying C GtkObject.
|
| Label () |
| Label (const Glib::ustring& label, bool mnemonic=false) |
| Label (const Glib::ustring& label, float xalign, float yalign, bool mnemonic=false) |
| This constructor is a shortcut for often used code when you want to create a label with alignment different than default one.
|
| Label (const Glib::ustring& label, AlignmentEnum xalign, AlignmentEnum yalign=ALIGN_CENTER, bool mnemonic=false) |
| This constructor is a shortcut for often used code when you want to create a label with alignment different than default one.
|
void | set_text (const Glib::ustring& str) |
| Doesn't use markup.
|
Glib::ustring | get_text () const |
void | set_attributes (Pango::AttrList& attrs) |
Pango::AttrList | get_attributes () const |
void | set_label (const Glib::ustring& str) |
Glib::ustring | get_label () const |
void | set_markup (const Glib::ustring& str) |
void | set_use_markup (bool setting=true) |
bool | get_use_markup () const |
void | set_use_underline (bool setting=true) |
bool | get_use_underline () const |
void | set_markup_with_mnemonic (const Glib::ustring& str) |
guint | get_mnemonic_keyval () const |
void | set_mnemonic_widget (Widget& widget) |
Widget* | get_mnemonic_widget () |
const Widget* | get_mnemonic_widget () const |
void | set_text_with_mnemonic (const Glib::ustring& str) |
void | set_justify (Justification jtype) |
Justification | get_justify () const |
void | set_pattern (const Glib::ustring& pattern) |
void | set_line_wrap (bool wrap=true) |
bool | get_line_wrap () const |
void | set_selectable (bool setting=true) |
bool | get_selectable () const |
void | select_region (int start_offset, int end_offset) |
bool | get_selection_bounds (int& start, int& end) const |
Glib::RefPtr<Pango::Layout> | get_layout () |
Glib::RefPtr<const Pango::Layout> | get_layout () const |
void | get_layout_offsets (int& x, int& y) const |
Glib::SignalProxy1< void,
Menu* > | signal_populate_popup () |
Glib::PropertyProxy<Glib::ustring> | property_label () |
| You rarely need to use properties because there are get_ and set_ methods for almost all of them.
|
Glib::PropertyProxy<Pango::AttrList> | property_attributes () |
| You rarely need to use properties because there are get_ and set_ methods for almost all of them.
|
Glib::PropertyProxy<bool> | property_use_markup () |
| You rarely need to use properties because there are get_ and set_ methods for almost all of them.
|
Glib::PropertyProxy<bool> | property_use_underline () |
| You rarely need to use properties because there are get_ and set_ methods for almost all of them.
|
Glib::PropertyProxy<Justification> | property_justify () |
| You rarely need to use properties because there are get_ and set_ methods for almost all of them.
|
Glib::PropertyProxy_WriteOnly<
Glib::ustring > | property_pattern () |
| You rarely need to use properties because there are get_ and set_ methods for almost all of them.
|
Glib::PropertyProxy<bool> | property_wrap () |
| You rarely need to use properties because there are get_ and set_ methods for almost all of them.
|
Glib::PropertyProxy<bool> | property_selectable () |
| You rarely need to use properties because there are get_ and set_ methods for almost all of them.
|
Glib::PropertyProxy_ReadOnly<
guint > | property_mnemonic_keyval () |
| You rarely need to use properties because there are get_ and set_ methods for almost all of them.
|
Glib::PropertyProxy<Widget*> | property_mnemonic_widget () |
| You rarely need to use properties because there are get_ and set_ methods for almost all of them.
|
Glib::PropertyProxy_ReadOnly<
int > | property_cursor_position () |
| You rarely need to use properties because there are get_ and set_ methods for almost all of them.
|
Glib::PropertyProxy_ReadOnly<
int > | property_selection_bound () |
| You rarely need to use properties because there are get_ and set_ methods for almost all of them.
|
Protected Member Functions |
virtual void | on_populate_popup (Menu* menu) |
Related Functions |
(Note that these are not member functions.)
|
Gtk::Label* | wrap (GtkLabel* object, bool take_copy=false) |