/usr/share/gir-1.0/PeasGtk-1.0.gir is in libpeas-dev 1.12.1-2.
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 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 | <?xml version="1.0"?>
<!-- This file was automatically generated from C sources - DO NOT EDIT!
To affect the contents of this file, edit the original C definitions,
and/or use gtk-doc annotations. -->
<repository version="1.2"
xmlns="http://www.gtk.org/introspection/core/1.0"
xmlns:c="http://www.gtk.org/introspection/c/1.0"
xmlns:glib="http://www.gtk.org/introspection/glib/1.0">
<include name="GObject" version="2.0"/>
<include name="Gtk" version="3.0"/>
<include name="Peas" version="1.0"/>
<package name="libpeas-gtk-1.0"/>
<c:include name="libpeas-gtk/peas-gtk.h"/>
<namespace name="PeasGtk"
version="1.0"
shared-library="libpeas-1.0.so.0,libpeas-gtk-1.0.so.0"
c:identifier-prefixes="PeasGtk"
c:symbol-prefixes="peas_gtk">
<interface name="Configurable"
c:symbol-prefix="configurable"
c:type="PeasGtkConfigurable"
glib:type-name="PeasGtkConfigurable"
glib:get-type="peas_gtk_configurable_get_type"
glib:type-struct="ConfigurableInterface">
<doc xml:space="preserve">Interface for configurable plugins.</doc>
<virtual-method name="create_configure_widget"
invoker="create_configure_widget">
<doc xml:space="preserve">Creates the configure widget for the plugin. The returned widget
should allow configuring all the relevant aspects of the plugin, and should
allow instant-apply, as promoted by the Gnome Human Interface Guidelines.
#PeasGtkPluginManager will embed the returned widget into a dialog box,
but you shouldn't take this behaviour for granted as other implementations
of a plugin manager UI might do otherwise.
This method should always return a valid #GtkWidget instance, never %NULL.</doc>
<return-value transfer-ownership="full">
<doc xml:space="preserve">A #GtkWidget used for configuration.</doc>
<type name="Gtk.Widget" c:type="GtkWidget*"/>
</return-value>
<parameters>
<instance-parameter name="configurable" transfer-ownership="none">
<doc xml:space="preserve">A #PeasGtkConfigurable</doc>
<type name="Configurable" c:type="PeasGtkConfigurable*"/>
</instance-parameter>
</parameters>
</virtual-method>
<method name="create_configure_widget"
c:identifier="peas_gtk_configurable_create_configure_widget">
<doc xml:space="preserve">Creates the configure widget for the plugin. The returned widget
should allow configuring all the relevant aspects of the plugin, and should
allow instant-apply, as promoted by the Gnome Human Interface Guidelines.
#PeasGtkPluginManager will embed the returned widget into a dialog box,
but you shouldn't take this behaviour for granted as other implementations
of a plugin manager UI might do otherwise.
This method should always return a valid #GtkWidget instance, never %NULL.</doc>
<return-value transfer-ownership="full">
<doc xml:space="preserve">A #GtkWidget used for configuration.</doc>
<type name="Gtk.Widget" c:type="GtkWidget*"/>
</return-value>
<parameters>
<instance-parameter name="configurable" transfer-ownership="none">
<doc xml:space="preserve">A #PeasGtkConfigurable</doc>
<type name="Configurable" c:type="PeasGtkConfigurable*"/>
</instance-parameter>
</parameters>
</method>
</interface>
<record name="ConfigurableInterface"
c:type="PeasGtkConfigurableInterface"
glib:is-gtype-struct-for="Configurable">
<doc xml:space="preserve">Provides an interface for configurable plugins.</doc>
<field name="g_iface">
<doc xml:space="preserve">The parent interface.</doc>
<type name="GObject.TypeInterface" c:type="GTypeInterface"/>
</field>
<field name="create_configure_widget">
<callback name="create_configure_widget">
<return-value transfer-ownership="full">
<doc xml:space="preserve">A #GtkWidget used for configuration.</doc>
<type name="Gtk.Widget" c:type="GtkWidget*"/>
</return-value>
<parameters>
<parameter name="configurable" transfer-ownership="none">
<doc xml:space="preserve">A #PeasGtkConfigurable</doc>
<type name="Configurable" c:type="PeasGtkConfigurable*"/>
</parameter>
</parameters>
</callback>
</field>
</record>
<class name="PluginManager"
c:symbol-prefix="plugin_manager"
c:type="PeasGtkPluginManager"
parent="Gtk.Box"
glib:type-name="PeasGtkPluginManager"
glib:get-type="peas_gtk_plugin_manager_get_type"
glib:type-struct="PluginManagerClass">
<doc xml:space="preserve">The #PeasGtkPluginManager structure contains only private data
and should only be accessed using the provided API.</doc>
<implements name="Atk.ImplementorIface"/>
<implements name="Gtk.Buildable"/>
<implements name="Gtk.Orientable"/>
<constructor name="new" c:identifier="peas_gtk_plugin_manager_new">
<doc xml:space="preserve">Creates a new plugin manager for the given #PeasEngine.
If @engine is %NULL, then the default engine will be used.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">the new #PeasGtkPluginManager.</doc>
<type name="Gtk.Widget" c:type="GtkWidget*"/>
</return-value>
<parameters>
<parameter name="engine"
transfer-ownership="none"
nullable="1"
allow-none="1">
<doc xml:space="preserve">A #PeasEngine, or %NULL.</doc>
<type name="Peas.Engine" c:type="PeasEngine*"/>
</parameter>
</parameters>
</constructor>
<method name="get_view" c:identifier="peas_gtk_plugin_manager_get_view">
<doc xml:space="preserve">Returns the #PeasGtkPluginManagerView of @pm.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">the #GtkTreeView of @pm.</doc>
<type name="Gtk.Widget" c:type="GtkWidget*"/>
</return-value>
<parameters>
<instance-parameter name="pm" transfer-ownership="none">
<doc xml:space="preserve">A #PeasGtkPluginManager.</doc>
<type name="PluginManager" c:type="PeasGtkPluginManager*"/>
</instance-parameter>
</parameters>
</method>
<property name="engine"
writable="1"
construct-only="1"
transfer-ownership="none">
<doc xml:space="preserve">The #PeasEngine this manager is attached to.</doc>
<type name="Peas.Engine"/>
</property>
<property name="view"
writable="1"
construct-only="1"
transfer-ownership="none">
<doc xml:space="preserve">The #PeasGtkPluginManagerView shown in the #PeasGtkPluginManager.</doc>
<type name="PluginManagerView"/>
</property>
<field name="box">
<type name="Gtk.Box" c:type="GtkBox"/>
</field>
<field name="priv" readable="0" private="1">
<type name="PluginManagerPrivate"
c:type="PeasGtkPluginManagerPrivate*"/>
</field>
</class>
<record name="PluginManagerClass"
c:type="PeasGtkPluginManagerClass"
glib:is-gtype-struct-for="PluginManager">
<doc xml:space="preserve">The class structure for #PeasGtkPluginManager.</doc>
<field name="parent_class">
<doc xml:space="preserve">The parent class.</doc>
<type name="Gtk.BoxClass" c:type="GtkBoxClass"/>
</field>
<field name="padding" readable="0" private="1">
<array zero-terminated="0" c:type="gpointer" fixed-size="8">
<type name="gpointer" c:type="gpointer"/>
</array>
</field>
</record>
<record name="PluginManagerPrivate"
c:type="PeasGtkPluginManagerPrivate"
disguised="1">
</record>
<class name="PluginManagerView"
c:symbol-prefix="plugin_manager_view"
c:type="PeasGtkPluginManagerView"
parent="Gtk.TreeView"
glib:type-name="PeasGtkPluginManagerView"
glib:get-type="peas_gtk_plugin_manager_view_get_type"
glib:type-struct="PluginManagerViewClass">
<doc xml:space="preserve">The #PeasGtkPluginManagerView structure contains only private data
and should only be accessed using the provided API.</doc>
<implements name="Atk.ImplementorIface"/>
<implements name="Gtk.Buildable"/>
<implements name="Gtk.Scrollable"/>
<constructor name="new" c:identifier="peas_gtk_plugin_manager_view_new">
<doc xml:space="preserve">Creates a new plugin manager view for the given #PeasEngine.
If @engine is %NULL, then the default engine will be used.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">the new #PeasGtkPluginManagerView.</doc>
<type name="Gtk.Widget" c:type="GtkWidget*"/>
</return-value>
<parameters>
<parameter name="engine"
transfer-ownership="none"
nullable="1"
allow-none="1">
<doc xml:space="preserve">A #PeasEngine, or %NULL.</doc>
<type name="Peas.Engine" c:type="PeasEngine*"/>
</parameter>
</parameters>
</constructor>
<virtual-method name="populate_popup">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="view" transfer-ownership="none">
<type name="PluginManagerView" c:type="PeasGtkPluginManagerView*"/>
</instance-parameter>
<parameter name="menu" transfer-ownership="none">
<type name="Gtk.Menu" c:type="GtkMenu*"/>
</parameter>
</parameters>
</virtual-method>
<method name="get_selected_plugin"
c:identifier="peas_gtk_plugin_manager_view_get_selected_plugin">
<doc xml:space="preserve">Returns the currently selected plugin, or %NULL if a plugin is not selected.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">the selected plugin.</doc>
<type name="Peas.PluginInfo" c:type="PeasPluginInfo*"/>
</return-value>
<parameters>
<instance-parameter name="view" transfer-ownership="none">
<doc xml:space="preserve">A #PeasGtkPluginManagerView.</doc>
<type name="PluginManagerView" c:type="PeasGtkPluginManagerView*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_show_builtin"
c:identifier="peas_gtk_plugin_manager_view_get_show_builtin"
deprecated="1"
deprecated-version="1.2">
<doc xml:space="preserve">Returns if builtin plugins should be shown.</doc>
<doc-deprecated xml:space="preserve">Use hidden plugins instead.</doc-deprecated>
<return-value transfer-ownership="none">
<doc xml:space="preserve">if builtin plugins should be shown.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="view" transfer-ownership="none">
<doc xml:space="preserve">A #PeasGtkPluginManagerView.</doc>
<type name="PluginManagerView" c:type="PeasGtkPluginManagerView*"/>
</instance-parameter>
</parameters>
</method>
<method name="set_selected_plugin"
c:identifier="peas_gtk_plugin_manager_view_set_selected_plugin">
<doc xml:space="preserve">Selects the given plugin.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="view" transfer-ownership="none">
<doc xml:space="preserve">A #PeasGtkPluginManagerView.</doc>
<type name="PluginManagerView" c:type="PeasGtkPluginManagerView*"/>
</instance-parameter>
<parameter name="info" transfer-ownership="none">
<doc xml:space="preserve">A #PeasPluginInfo.</doc>
<type name="Peas.PluginInfo" c:type="PeasPluginInfo*"/>
</parameter>
</parameters>
</method>
<method name="set_show_builtin"
c:identifier="peas_gtk_plugin_manager_view_set_show_builtin"
deprecated="1"
deprecated-version="1.2">
<doc xml:space="preserve">Sets if builtin plugins should be shown.</doc>
<doc-deprecated xml:space="preserve">Use hidden plugins instead.</doc-deprecated>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="view" transfer-ownership="none">
<doc xml:space="preserve">A #PeasGtkPluginManagerView.</doc>
<type name="PluginManagerView" c:type="PeasGtkPluginManagerView*"/>
</instance-parameter>
<parameter name="show_builtin" transfer-ownership="none">
<doc xml:space="preserve">If builtin plugins should be shown.</doc>
<type name="gboolean" c:type="gboolean"/>
</parameter>
</parameters>
</method>
<property name="engine"
writable="1"
construct-only="1"
transfer-ownership="none">
<type name="Peas.Engine"/>
</property>
<property name="show-builtin"
deprecated="1"
deprecated-version="1.2"
writable="1"
transfer-ownership="none">
<doc xml:space="preserve">If builtin plugins should be shown.</doc>
<doc-deprecated xml:space="preserve">Use hidden plugins instead.</doc-deprecated>
<type name="gboolean" c:type="gboolean"/>
</property>
<field name="parent">
<type name="Gtk.TreeView" c:type="GtkTreeView"/>
</field>
<field name="priv" readable="0" private="1">
<type name="PluginManagerViewPrivate"
c:type="PeasGtkPluginManagerViewPrivate*"/>
</field>
<glib:signal name="populate-popup" when="last">
<doc xml:space="preserve">The ::populate-popup signal is emitted before showing the context
menu of the view. If you need to add items to the context menu,
connect to this signal and add your menuitems to the @menu.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="menu" transfer-ownership="none">
<doc xml:space="preserve">A #GtkMenu.</doc>
<type name="Gtk.Menu"/>
</parameter>
</parameters>
</glib:signal>
</class>
<record name="PluginManagerViewClass"
c:type="PeasGtkPluginManagerViewClass"
glib:is-gtype-struct-for="PluginManagerView">
<doc xml:space="preserve">The class structure for #PeasGtkPluginManagerView.</doc>
<field name="parent_class">
<doc xml:space="preserve">The parent class.</doc>
<type name="Gtk.TreeViewClass" c:type="GtkTreeViewClass"/>
</field>
<field name="populate_popup">
<callback name="populate_popup">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="view" transfer-ownership="none">
<type name="PluginManagerView"
c:type="PeasGtkPluginManagerView*"/>
</parameter>
<parameter name="menu" transfer-ownership="none">
<type name="Gtk.Menu" c:type="GtkMenu*"/>
</parameter>
</parameters>
</callback>
</field>
<field name="padding" readable="0" private="1">
<array zero-terminated="0" c:type="gpointer" fixed-size="8">
<type name="gpointer" c:type="gpointer"/>
</array>
</field>
</record>
<record name="PluginManagerViewPrivate"
c:type="PeasGtkPluginManagerViewPrivate"
disguised="1">
</record>
</namespace>
</repository>
|