/usr/share/guile-gnome-2/gnome/defs/applet.defs is in guile-gnome2-dev 2.16.2-1.1ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 | ;; -*- scheme -*-
; object definitions ...
(define-object Applet
(in-module "Panel")
(parent "GtkEventBox")
(c-name "PanelApplet")
(gtype-id "PANEL_TYPE_APPLET")
)
;; Enumerations and flags ...
;(define-enum AppletBackgroundType
; (in-module "Panel")
; (c-name "PanelAppletBackgroundType")
; (gtype-id "PANEL_TYPE_APPLET_BACKGROUND_TYPE")
; (values
; '("no-background" "PANEL_NO_BACKGROUND")
; '("color-background" "PANEL_COLOR_BACKGROUND")
; '("pixmap-background" "PANEL_PIXMAP_BACKGROUND")
; )
;)
;(define-flags AppletFlags
; (in-module "Panel")
; (c-name "PanelAppletFlags")
; (gtype-id "PANEL_TYPE_APPLET_FLAGS")
; (values
; '("flags-none" "PANEL_APPLET_FLAGS_NONE")
; '("expand-major" "PANEL_APPLET_EXPAND_MAJOR")
; '("expand-minor" "PANEL_APPLET_EXPAND_MINOR")
; )
;)
;; From /home/jdahlin/cvs/gnome2/gnome-panel/libpanel-applet/panel-applet.h
(define-function panel_applet_get_type
(c-name "panel_applet_get_type")
(return-type "GType")
)
(define-function panel_applet_new
(c-name "panel_applet_new")
(is-constructor-of PanelApplet)
(return-type "GtkWidget*")
)
(define-method get_orient
(of-object "PanelApplet")
(c-name "panel_applet_get_orient")
(return-type "PanelAppletOrient")
)
(define-method get_size
(of-object "PanelApplet")
(c-name "panel_applet_get_size")
(return-type "guint")
)
(define-method get_background
(of-object "PanelApplet")
(c-name "panel_applet_get_background")
(return-type "PanelAppletBackgroundType")
(parameters
'("GdkColor*" "color")
'("GdkPixmap**" "pixmap")
)
)
(define-method get_preferences_key
(of-object "PanelApplet")
(c-name "panel_applet_get_preferences_key")
(return-type "gchar*")
)
(define-method add_preferences
(of-object "PanelApplet")
(c-name "panel_applet_add_preferences")
(return-type "none")
(parameters
'("const-gchar*" "schema_dir")
'("GError**" "opt_error")
)
)
(define-method get_flags
(of-object "PanelApplet")
(c-name "panel_applet_get_flags")
(return-type "PanelAppletFlags")
)
(define-method set_flags
(of-object "PanelApplet")
(c-name "panel_applet_set_flags")
(return-type "none")
(parameters
'("PanelAppletFlags" "flags")
)
)
(define-method get_control
(of-object "PanelApplet")
(c-name "panel_applet_get_control")
(return-type "BonoboControl*")
)
(define-method get_popup_component
(of-object "PanelApplet")
(c-name "panel_applet_get_popup_component")
(return-type "BonoboUIComponent*")
)
(define-method setup_menu
(of-object "PanelApplet")
(c-name "panel_applet_setup_menu")
(return-type "none")
(parameters
'("const-gchar*" "xml")
'("const-BonoboUIVerb*" "verb_list")
'("gpointer" "user_data")
)
)
(define-method setup_menu_from_file
(of-object "PanelApplet")
(c-name "panel_applet_setup_menu_from_file")
(return-type "none")
(parameters
'("const-gchar*" "opt_datadir")
'("const-gchar*" "file")
'("const-gchar*" "opt_app_name")
'("const-BonoboUIVerb*" "verb_list")
'("gpointer" "user_data")
)
)
(define-function factory_main
(c-name "panel_applet_factory_main")
(return-type "int")
(parameters
'("const-gchar*" "iid")
'("GType" "applet_type")
'("PanelAppletFactoryCallback" "callback")
'("gpointer" "data")
)
)
(define-function factory_main
(c-name "panel_applet_factory_main_closure")
(return-type "int")
(parameters
'("const-gchar*" "iid")
'("GType" "applet_type")
'("GClosure*" "closure")
)
)
(define-function panel_applet_shlib_factory
(c-name "panel_applet_shlib_factory")
(return-type "Bonobo_Unknown")
(parameters
'("const-char*" "iid")
'("GType" "applet_type")
'("PortableServer_POA" "poa")
'("gpointer" "impl_ptr")
'("PanelAppletFactoryCallback" "callback")
'("gpointer" "user_data")
'("CORBA_Environment*" "ev")
)
)
(define-function panel_applet_shlib_factory_closure
(c-name "panel_applet_shlib_factory_closure")
(return-type "Bonobo_Unknown")
(parameters
'("const-char*" "iid")
'("GType" "applet_type")
'("PortableServer_POA" "poa")
'("gpointer" "impl_ptr")
'("GClosure*" "closure")
'("CORBA_Environment*" "ev")
)
)
(define-function main
(c-name "main")
(return-type "int")
(parameters
'("int" "argc")
'("char*-argv" "[]")
)
)
(define-function bonobo_factory
(c-name "panel__applet_bonobo_factory")
(return-type "none")
(parameters
'("char*" "iid")
'("GType" "type")
'("char*" "name")
'("char*" "version")
'("PanelAppletFactoryCallback" "callback")
'("gpointer" "data")
)
)
|