Beast - Music Synthesizer and Composer  0.11.1+10.g2da35
gxksimplelabel.hh
Go to the documentation of this file.
1  // Licensed GNU LGPL v2.1 or later: http://www.gnu.org/licenses/lgpl.html
2 #ifndef __GXK_SIMPLE_LABEL_H__
3 #define __GXK_SIMPLE_LABEL_H__
4 
5 #include <gxk/gxkutils.hh>
6 
7 #define GXK_TYPE_SIMPLE_LABEL (gxk_simple_label_get_type ())
8 #define GXK_SIMPLE_LABEL(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GXK_TYPE_SIMPLE_LABEL, GxkSimpleLabel))
9 #define GXK_SIMPLE_LABEL_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GXK_TYPE_SIMPLE_LABEL, GxkSimpleLabelClass))
10 #define GXK_IS_SIMPLE_LABEL(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GXK_TYPE_SIMPLE_LABEL))
11 #define GXK_IS_SIMPLE_LABEL_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GXK_TYPE_SIMPLE_LABEL))
12 #define GXK_SIMPLE_LABEL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GXK_TYPE_SIMPLE_LABEL, GxkSimpleLabelClass))
13 
14 typedef struct {
15  GtkMisc parent_instance;
16 
17  gchar *label;
18  guint8 jtype;
19  guint use_underline : 1;
20  guint auto_cut : 1;
21  guint needs_cutting : 1;
22  gchar *text;
23  guint mnemonic_keyval;
24  GtkWidget *mnemonic_widget;
25  GtkWindow *mnemonic_window;
26  PangoAttrList *effective_attrs;
27  PangoLayout *layout;
29 typedef GtkMiscClass GxkSimpleLabelClass;
30 
31 GType gxk_simple_label_get_type (void) G_GNUC_CONST;
32 void gxk_simple_label_set_mnemonic_widget (GxkSimpleLabel *self,
33  GtkWidget *widget);
34 
35 #endif /* __GXK_SIMPLE_LABEL_H__ */
Definition: gxksimplelabel.hh:14