26 #ifndef __GTK_LABEL_H__
27 #define __GTK_LABEL_H__
30 #if defined(GTK_DISABLE_SINGLE_INCLUDES) && !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION)
31 #error "Only <gtk/gtk.h> can be included directly."
41 #define GTK_TYPE_LABEL (gtk_label_get_type ())
42 #define GTK_LABEL(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_LABEL, GtkLabel))
43 #define GTK_LABEL_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_LABEL, GtkLabelClass))
44 #define GTK_IS_LABEL(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_LABEL))
45 #define GTK_IS_LABEL_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_LABEL))
46 #define GTK_LABEL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_LABEL, GtkLabelClass))
60 guint
GSEAL (jtype) : 2;
61 guint
GSEAL (wrap) : 1;
62 guint
GSEAL (use_underline) : 1;
63 guint
GSEAL (use_markup) : 1;
64 guint
GSEAL (ellipsize) : 3;
65 guint
GSEAL (single_line_mode) : 1;
66 guint
GSEAL (have_transform) : 1;
67 guint
GSEAL (in_click) : 1;
68 guint
GSEAL (wrap_mode) : 3;
69 guint
GSEAL (pattern_set) : 1;
70 guint
GSEAL (track_links) : 1;
76 PangoAttrList *
GSEAL (effective_attrs);
93 gboolean extend_selection);
116 PangoAttrList *attrs);
142 PangoEllipsizeMode mode);
151 const gchar *pattern);
156 PangoWrapMode wrap_mode);
177 gboolean single_line_mode);
182 gboolean track_links);
185 #ifndef GTK_DISABLE_DEPRECATED
187 #define gtk_label_set gtk_label_set_text
196 const gchar *
string);
203 gboolean mnemonics_visible);
Gdk::Color wrap(GdkColor *object, bool take_copy=false)
void _gtk_label_mnemonics_visible_apply_recursively(GtkWidget *widget, gboolean mnemonics_visible)
struct _GtkLabelSelectionInfo GtkLabelSelectionInfo
void gtk_label_set_use_underline(GtkLabel *label, gboolean setting)
void gtk_label_set_markup(GtkLabel *label, const gchar *str)
void gtk_label_set_mnemonic_widget(GtkLabel *label, GtkWidget *widget)
void gtk_label_set_angle(GtkLabel *label, gdouble angle)
void gtk_label_get_layout_offsets(GtkLabel *label, gint *x, gint *y)
gboolean gtk_label_get_use_markup(GtkLabel *label)
gboolean gtk_label_get_track_visited_links(GtkLabel *label)
const gchar * gtk_label_get_current_uri(GtkLabel *label)
void gtk_label_set_pattern(GtkLabel *label, const gchar *pattern)
GType gtk_label_get_type(void) G_GNUC_CONST
void gtk_label_set_line_wrap(GtkLabel *label, gboolean wrap)
PangoEllipsizeMode gtk_label_get_ellipsize(GtkLabel *label)
PangoWrapMode gtk_label_get_line_wrap_mode(GtkLabel *label)
gboolean gtk_label_get_selection_bounds(GtkLabel *label, gint *start, gint *end)
void gtk_label_set_max_width_chars(GtkLabel *label, gint n_chars)
const gchar * gtk_label_get_label(GtkLabel *label)
void gtk_label_get(GtkLabel *label, gchar **str)
void gtk_label_set_markup_with_mnemonic(GtkLabel *label, const gchar *str)
GtkWidget * gtk_label_get_mnemonic_widget(GtkLabel *label)
PangoLayout * gtk_label_get_layout(GtkLabel *label)
gint gtk_label_get_max_width_chars(GtkLabel *label)
void gtk_label_set_track_visited_links(GtkLabel *label, gboolean track_links)
void gtk_label_set_single_line_mode(GtkLabel *label, gboolean single_line_mode)
void gtk_label_set_text(GtkLabel *label, const gchar *str)
void gtk_label_set_attributes(GtkLabel *label, PangoAttrList *attrs)
void gtk_label_set_justify(GtkLabel *label, GtkJustification jtype)
gint gtk_label_get_width_chars(GtkLabel *label)
void gtk_label_set_use_markup(GtkLabel *label, gboolean setting)
guint gtk_label_parse_uline(GtkLabel *label, const gchar *string)
GtkWidget * gtk_label_new(const gchar *str)
void gtk_label_select_region(GtkLabel *label, gint start_offset, gint end_offset)
gboolean gtk_label_get_selectable(GtkLabel *label)
gdouble gtk_label_get_angle(GtkLabel *label)
void gtk_label_set_text_with_mnemonic(GtkLabel *label, const gchar *str)
gboolean gtk_label_get_use_underline(GtkLabel *label)
gboolean gtk_label_get_single_line_mode(GtkLabel *label)
const gchar * gtk_label_get_text(GtkLabel *label)
guint gtk_label_get_mnemonic_keyval(GtkLabel *label)
GtkWidget * gtk_label_new_with_mnemonic(const gchar *str)
gboolean gtk_label_get_line_wrap(GtkLabel *label)
GtkJustification gtk_label_get_justify(GtkLabel *label)
PangoAttrList * gtk_label_get_attributes(GtkLabel *label)
void gtk_label_set_ellipsize(GtkLabel *label, PangoEllipsizeMode mode)
void gtk_label_set_label(GtkLabel *label, const gchar *str)
void gtk_label_set_line_wrap_mode(GtkLabel *label, PangoWrapMode wrap_mode)
void gtk_label_set_width_chars(GtkLabel *label, gint n_chars)
void gtk_label_set_selectable(GtkLabel *label, gboolean setting)
PBD::PropertyDescriptor< timepos_t > start
void(* move_cursor)(GtkLabel *label, GtkMovementStep step, gint count, gboolean extend_selection)
void(* copy_clipboard)(GtkLabel *label)
gboolean(* activate_link)(GtkLabel *label, const gchar *uri)
void(* populate_popup)(GtkLabel *label, GtkMenu *menu)
GtkMiscClass parent_class
void(* _gtk_reserved2)(void)
void(* _gtk_reserved3)(void)
void(* _gtk_reserved1)(void)
GtkLabelSelectionInfo * GSEAL(select_info)
PangoAttrList * GSEAL(attrs)
PangoLayout * GSEAL(layout)
GtkWindow * GSEAL(mnemonic_window)
PangoAttrList * GSEAL(effective_attrs)
GtkWidget * GSEAL(mnemonic_widget)
guint GSEAL(jtype) guint GSEAL(wrap) guint GSEAL(use_underline) guint GSEAL(use_markup) guint GSEAL(ellipsize) guint GSEAL(single_line_mode) guint GSEAL(have_transform) guint GSEAL(in_click) guint GSEAL(wrap_mode) guint GSEAL(pattern_set) guint GSEAL(track_links) guint GSEAL(mnemonic_keyval)