| 1 | /* |
| 2 | * Copyright 2010 Canonical, Ltd. |
| 3 | * |
| 4 | * This program is free software: you can redistribute it and/or modify it |
| 5 | * under the terms of either or both of the following licenses: |
| 6 | * |
| 7 | * 1) the GNU Lesser General Public License version 3, as published by the |
| 8 | * Free Software Foundation; and/or |
| 9 | * 2) the GNU Lesser General Public License version 2.1, as published by |
| 10 | * the Free Software Foundation. |
| 11 | * |
| 12 | * This program is distributed in the hope that it will be useful, but |
| 13 | * WITHOUT ANY WARRANTY; without even the implied warranties of |
| 14 | * MERCHANTABILITY, SATISFACTORY QUALITY or FITNESS FOR A PARTICULAR |
| 15 | * PURPOSE. See the applicable version of the GNU Lesser General Public |
| 16 | * License for more details. |
| 17 | * |
| 18 | * You should have received a copy of both the GNU Lesser General Public |
| 19 | * License version 3 and version 2.1 along with this program. If not, see |
| 20 | * <http://www.gnu.org/licenses/> |
| 21 | * |
| 22 | * Authors: |
| 23 | * Cody Russell <[email protected]> |
| 24 | */ |
| 25 | |
| 26 | #ifndef __IDO_SCALE_MENU_ITEM_H__ |
| 27 | #define __IDO_SCALE_MENU_ITEM_H__cxx . . $ `src/idoscalemenuitem.h:27:9`! |
| 28 | |
| 29 | #include <gtk/gtk.h> |
| 30 | #include "idorange.h"cxx . . $ `<file>/src/idorange.h`/ |
| 31 | |
| 32 | G_BEGIN_DECLScxx . . $ `<external>/12741050725406041920/gmacros.h:947:9`! |
| 33 | |
| 34 | #define IDO_TYPE_SCALE_MENU_ITEMcxx . . $ `src/idoscalemenuitem.h:34:9`! (ido_scale_menu_item_get_type ()) |
| 35 | #define IDO_SCALE_MENU_ITEMcxx . . $ `src/idoscalemenuitem.h:35:9`!(o) (G_TYPE_CHECK_INSTANCE_CASTcxx . . $ `<external>/9567554376676449156/gtype.h:528:9`! ((o), IDO_TYPE_SCALE_MENU_ITEMcxx . . $ `src/idoscalemenuitem.h:34:9`!, IdoScaleMenuItem)) |
| 36 | #define IDO_SCALE_MENU_ITEM_CLASScxx . . $ `src/idoscalemenuitem.h:36:9`!(c) (G_TYPE_CHECK_CLASS_CAST ((c), IDO_TYPE_SCALE_MENU_ITEM, IdoScaleMenuItemClass)) |
| 37 | #define IDO_IS_SCALE_MENU_ITEMcxx . . $ `src/idoscalemenuitem.h:37:9`!(o) (G_TYPE_CHECK_INSTANCE_TYPEcxx . . $ `<external>/9567554376676449156/gtype.h:541:9`! ((o), IDO_TYPE_SCALE_MENU_ITEMcxx . . $ `src/idoscalemenuitem.h:34:9`!)) |
| 38 | #define IDO_IS_SCALE_MENU_ITEM_CLASScxx . . $ `src/idoscalemenuitem.h:38:9`!(c) (G_TYPE_CHECK_CLASS_TYPE ((c), IDO_TYPE_SCALE_MENU_ITEM)) |
| 39 | #define IDO_SCALE_MENU_ITEM_GET_CLASScxx . . $ `src/idoscalemenuitem.h:39:9`!(o) (G_TYPE_INSTANCE_GET_CLASS ((o), IDO_TYPE_SCALE_MENU_ITEM, IdoScaleMenuItemClass)) |
| 40 | |
| 41 | typedef enumcxx . . $ $anonymous_type_463b1b662d481c77_0# |
| 42 | { |
| 43 | IDO_SCALE_MENU_ITEM_STYLE_NONEcxx . . $ IDO_SCALE_MENU_ITEM_STYLE_NONE., |
| 44 | IDO_SCALE_MENU_ITEM_STYLE_IMAGEcxx . . $ IDO_SCALE_MENU_ITEM_STYLE_IMAGE., |
| 45 | IDO_SCALE_MENU_ITEM_STYLE_LABELcxx . . $ IDO_SCALE_MENU_ITEM_STYLE_LABEL. |
| 46 | } IdoScaleMenuItemStylecxx . . $ IdoScaleMenuItemStyle#; |
| 47 | |
| 48 | typedef struct _IdoScaleMenuItemcxx . . $ _IdoScaleMenuItem# IdoScaleMenuItemcxx . . $ IdoScaleMenuItem#; |
| 49 | typedef struct _IdoScaleMenuItemClasscxx . . $ _IdoScaleMenuItemClass# IdoScaleMenuItemClasscxx . . $ IdoScaleMenuItemClass#; |
| 50 | |
| 51 | struct _IdoScaleMenuItemcxx . . $ _IdoScaleMenuItem# |
| 52 | { |
| 53 | GtkMenuItemcxx . . $ GtkMenuItem# parent_instancecxx . . $ _IdoScaleMenuItem#parent_instance.; |
| 54 | }; |
| 55 | |
| 56 | struct _IdoScaleMenuItemClasscxx . . $ _IdoScaleMenuItemClass# |
| 57 | { |
| 58 | GtkMenuItemClasscxx . . $ GtkMenuItemClass# parent_classcxx . . $ _IdoScaleMenuItemClass#parent_class.; |
| 59 | |
| 60 | /* signal default handlers */ |
| 61 | void (*primary_clickedcxx . . $ _IdoScaleMenuItemClass#primary_clicked.)(IdoScaleMenuItemcxx . . $ IdoScaleMenuItem# * menuitem); |
| 62 | void (*secondary_clickedcxx . . $ _IdoScaleMenuItemClass#secondary_clicked.)(IdoScaleMenuItemcxx . . $ IdoScaleMenuItem# * menuitem); |
| 63 | }; |
| 64 | |
| 65 | |
| 66 | GTypecxx . . $ GType# ido_scale_menu_item_get_typecxx . . $ ido_scale_menu_item_get_type(f708dce9a8856c70). (void) G_GNUC_CONSTcxx . . $ `<external>/12741050725406041920/gmacros.h:640:9`!; |
| 67 | GtkWidgetcxx . . $ GtkWidget# *ido_scale_menu_item_newcxx . . $ ido_scale_menu_item_new(4744d7f04bcfeeab). (const gcharcxx . . $ gchar# *label, |
| 68 | IdoRangeStylecxx . . $ IdoRangeStyle# size, |
| 69 | GtkAdjustmentcxx . . $ GtkAdjustment# *adjustment); |
| 70 | GtkWidgetcxx . . $ GtkWidget# *ido_scale_menu_item_new_with_rangecxx . . $ ido_scale_menu_item_new_with_range(f3d06113bce09ca7). (const gcharcxx . . $ gchar# *label, |
| 71 | IdoRangeStylecxx . . $ IdoRangeStyle# size, |
| 72 | gdoublecxx . . $ gdouble# value, |
| 73 | gdoublecxx . . $ gdouble# min, |
| 74 | gdoublecxx . . $ gdouble# max, |
| 75 | gdoublecxx . . $ gdouble# step); |
| 76 | GtkWidgetcxx . . $ GtkWidget# *ido_scale_menu_item_get_scalecxx . . $ ido_scale_menu_item_get_scale(d8f640186648c08c). (IdoScaleMenuItemcxx . . $ IdoScaleMenuItem# *menuitem); |
| 77 | |
| 78 | IdoScaleMenuItemStylecxx . . $ IdoScaleMenuItemStyle# ido_scale_menu_item_get_stylecxx . . $ ido_scale_menu_item_get_style(297dfbabb9836fad). (IdoScaleMenuItemcxx . . $ IdoScaleMenuItem# *menuitem); |
| 79 | void ido_scale_menu_item_set_stylecxx . . $ ido_scale_menu_item_set_style(3bf4c8844a90a11d). (IdoScaleMenuItemcxx . . $ IdoScaleMenuItem# *menuitem, |
| 80 | IdoScaleMenuItemStylecxx . . $ IdoScaleMenuItemStyle# style); |
| 81 | GtkWidgetcxx . . $ GtkWidget# *ido_scale_menu_item_get_primary_imagecxx . . $ ido_scale_menu_item_get_primary_image(d8f640186648c08c). (IdoScaleMenuItemcxx . . $ IdoScaleMenuItem# *menuitem); |
| 82 | GtkWidgetcxx . . $ GtkWidget# *ido_scale_menu_item_get_secondary_imagecxx . . $ ido_scale_menu_item_get_secondary_image(d8f640186648c08c). (IdoScaleMenuItemcxx . . $ IdoScaleMenuItem# *menuitem); |
| 83 | const gcharcxx . . $ gchar# *ido_scale_menu_item_get_primary_labelcxx . . $ ido_scale_menu_item_get_primary_label(e67271a361295408). (IdoScaleMenuItemcxx . . $ IdoScaleMenuItem# *menuitem); |
| 84 | void ido_scale_menu_item_set_primary_labelcxx . . $ ido_scale_menu_item_set_primary_label(17b569fc43097e88). (IdoScaleMenuItemcxx . . $ IdoScaleMenuItem# *menuitem, |
| 85 | const gcharcxx . . $ gchar# *label); |
| 86 | const gcharcxx . . $ gchar# *ido_scale_menu_item_get_secondary_labelcxx . . $ ido_scale_menu_item_get_secondary_label(e67271a361295408). (IdoScaleMenuItemcxx . . $ IdoScaleMenuItem# *menuitem); |
| 87 | void ido_scale_menu_item_set_secondary_labelcxx . . $ ido_scale_menu_item_set_secondary_label(17b569fc43097e88). (IdoScaleMenuItemcxx . . $ IdoScaleMenuItem# *menuitem, |
| 88 | const gcharcxx . . $ gchar# *label); |
| 89 | void ido_scale_menu_item_primary_clickedcxx . . $ ido_scale_menu_item_primary_clicked(99e4a32ddccf8935). (IdoScaleMenuItemcxx . . $ IdoScaleMenuItem# *menuitem); |
| 90 | void ido_scale_menu_item_secondary_clickedcxx . . $ ido_scale_menu_item_secondary_clicked(99e4a32ddccf8935). (IdoScaleMenuItemcxx . . $ IdoScaleMenuItem# *menuitem); |
| 91 | |
| 92 | GtkMenuItemcxx . . $ GtkMenuItem# * ido_scale_menu_item_new_from_modelcxx . . $ ido_scale_menu_item_new_from_model(6312bac084feba9). (GMenuItemcxx . . $ GMenuItem# *menuitem, |
| 93 | GActionGroupcxx . . $ GActionGroup# *actions); |
| 94 | |
| 95 | G_END_DECLScxx . . $ `<external>/12741050725406041920/gmacros.h:948:9`! |
| 96 | |
| 97 | #endif /* __IDO_SCALE_MENU_ITEM_H__ */ |