Beast - Music Synthesizer and Composer  0.11.1+10.g2da35
gxkauxwidgets.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_AUX_WIDGETS_H__
3 #define __GXK_AUX_WIDGETS_H__
4 
5 #include "gxkutils.hh"
6 #include "gxkradget.hh"
7 
8 /* --- menu item --- */
9 #define GXK_TYPE_MENU_ITEM (gxk_menu_item_get_type ())
10 #define GXK_MENU_ITEM(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), GXK_TYPE_MENU_ITEM, GxkMenuItem))
11 #define GXK_MENU_ITEM_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GXK_TYPE_MENU_ITEM, GxkMenuItemClass))
12 #define GXK_IS_MENU_ITEM(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), GXK_TYPE_MENU_ITEM))
13 #define GXK_IS_MENU_ITEM_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GXK_TYPE_MENU_ITEM))
14 #define GXK_MENU_ITEM_GET_CLASS(object) (G_TYPE_INSTANCE_GET_CLASS ((object), GXK_TYPE_MENU_ITEM, GxkMenuItemClass))
15 typedef GtkImageMenuItem GxkMenuItem;
16 typedef GtkImageMenuItemClass GxkMenuItemClass;
17 GType gxk_menu_item_get_type (void);
18 
19 /* --- scrolled window --- */
20 #define GXK_TYPE_SCROLLED_WINDOW (gxk_scrolled_window_get_type ())
21 #define GXK_SCROLLED_WINDOW(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), GXK_TYPE_SCROLLED_WINDOW, GxkScrolledWindow))
22 #define GXK_SCROLLED_WINDOW_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GXK_TYPE_SCROLLED_WINDOW, GxkScrolledWindowClass))
23 #define GXK_IS_SCROLLED_WINDOW(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), GXK_TYPE_SCROLLED_WINDOW))
24 #define GXK_IS_SCROLLED_WINDOW_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GXK_TYPE_SCROLLED_WINDOW))
25 #define GXK_SCROLLED_WINDOW_GET_CLASS(object) (G_TYPE_INSTANCE_GET_CLASS ((object), GXK_TYPE_SCROLLED_WINDOW, GxkScrolledWindowClass))
26 typedef GtkScrolledWindow GxkScrolledWindow;
27 typedef GtkScrolledWindowClass GxkScrolledWindowClass;
28 GType gxk_scrolled_window_get_type (void);
29 
30 /* --- free radio button --- */
31 #define GXK_TYPE_FREE_RADIO_BUTTON (gxk_free_radio_button_get_type ())
32 #define GXK_FREE_RADIO_BUTTON(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GXK_TYPE_FREE_RADIO_BUTTON, GxkFreeRadioButton))
33 #define GXK_FREE_RADIO_BUTTON_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GXK_TYPE_FREE_RADIO_BUTTON, GxkFreeRadioButtonClass))
34 #define GXK_IS_FREE_RADIO_BUTTON(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GXK_TYPE_FREE_RADIO_BUTTON))
35 #define GXK_IS_FREE_RADIO_BUTTON_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GXK_TYPE_FREE_RADIO_BUTTON))
36 #define GXK_FREE_RADIO_BUTTON_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GXK_TYPE_FREE_RADIO_BUTTON, GxkFreeRadioButtonClass))
37 typedef GtkRadioButton GxkFreeRadioButton;
38 typedef GtkRadioButtonClass GxkFreeRadioButtonClass;
39 GType gxk_free_radio_button_get_type (void);
40 GtkWidget* gxk_free_radio_button_new (void);
41 
42 /* --- image --- */
43 #define GXK_TYPE_IMAGE (gxk_image_get_type ())
44 #define GXK_IMAGE(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), GXK_TYPE_IMAGE, GxkImage))
45 #define GXK_IMAGE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GXK_TYPE_IMAGE, GxkImageClass))
46 #define GXK_IS_IMAGE(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), GXK_TYPE_IMAGE))
47 #define GXK_IS_IMAGE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GXK_TYPE_IMAGE))
48 #define GXK_IMAGE_GET_CLASS(object) (G_TYPE_INSTANCE_GET_CLASS ((object), GXK_TYPE_IMAGE, GxkImageClass))
49 typedef GtkImage GxkImage;
50 typedef GtkImageClass GxkImageClass;
51 GType gxk_image_get_type (void);
52 
53 /* --- widget-patcher --- */
54 #define GXK_TYPE_WIDGET_PATCHER (gxk_widget_patcher_get_type ())
55 #define GXK_WIDGET_PATCHER(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), GXK_TYPE_WIDGET_PATCHER, GxkWidgetPatcher))
56 #define GXK_WIDGET_PATCHER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GXK_TYPE_WIDGET_PATCHER, GxkWidgetPatcherClass))
57 #define GXK_IS_WIDGET_PATCHER(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), GXK_TYPE_WIDGET_PATCHER))
58 #define GXK_IS_WIDGET_PATCHER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GXK_TYPE_WIDGET_PATCHER))
59 #define GXK_WIDGET_PATCHER_GET_CLASS(object) (G_TYPE_INSTANCE_GET_CLASS ((object), GXK_TYPE_WIDGET_PATCHER, GxkWidgetPatcherClass))
60 typedef GObjectClass GxkWidgetPatcherClass;
61 typedef struct {
62  GObject parent_instance;
63  gchar *tooltip;
64  guint tooltip_visible : 1;
65  guint mute_events : 1;
66  guint lower_windows : 1;
67  guint hide_insensitive : 1;
68  guint modify_normal_bg_as_base : 1;
69  guint modify_bg_as_base : 1;
70  guint modify_base_as_bg : 1;
71  guint modify_bg_as_active : 1;
72  gdouble resize_hsteps, resize_vsteps;
73  gdouble resize_hunits, resize_vunits;
74  gdouble width_from_height;
75  gdouble height_from_width;
77 GType gxk_widget_patcher_get_type (void);
78 extern const GxkRadgetType *gxk_widget_patcher_def;
79 
80 /* --- back shade --- */
81 #define GXK_TYPE_BACK_SHADE (gxk_back_shade_get_type ())
82 #define GXK_BACK_SHADE(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), GXK_TYPE_BACK_SHADE, GxkBackShade))
83 #define GXK_BACK_SHADE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GXK_TYPE_BACK_SHADE, GxkBackShadeClass))
84 #define GXK_IS_BACK_SHADE(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), GXK_TYPE_BACK_SHADE))
85 #define GXK_IS_BACK_SHADE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GXK_TYPE_BACK_SHADE))
86 #define GXK_BACK_SHADE_GET_CLASS(object) (G_TYPE_INSTANCE_GET_CLASS ((object), GXK_TYPE_BACK_SHADE, GxkBackShadeClass))
87 typedef GtkAlignment GxkBackShade;
88 typedef GtkAlignmentClass GxkBackShadeClass;
89 GType gxk_back_shade_get_type (void);
90 
91 
92 
93 #endif /* __GXK_AUX_WIDGETS_H__ */
Definition: gxkradget.hh:70
Definition: gxkauxwidgets.hh:61