From 13fb16f2793ee91099b1f2960c1875896991f1c4 Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Sun, 21 Mar 2010 22:22:57 -0400 Subject: Demonstrate extending the EExtension API. Introduce e_extensible_list_extensions(), which provides extensible objects access to their own extensions, or a subset of them. Convert EShellBackend to an abstract EExtension subtype. EShell will load its extensions with e_extensible_load_extensions(), and then obtain a list of EShellBackend extensions as follows: shell_backends = e_extensible_list_extensions ( E_EXTENSIBLE (shell), E_TYPE_SHELL_BACKEND); Because EShellBackend is abstract, its GType is skipped while traversing the GType hierarchy to find EShell extensions. --- doc/reference/shell/tmpl/e-extensible.sgml | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'doc/reference/shell/tmpl/e-extensible.sgml') diff --git a/doc/reference/shell/tmpl/e-extensible.sgml b/doc/reference/shell/tmpl/e-extensible.sgml index de8e8e140c..80bf8f0da4 100644 --- a/doc/reference/shell/tmpl/e-extensible.sgml +++ b/doc/reference/shell/tmpl/e-extensible.sgml @@ -31,3 +31,13 @@ Extensible @extensible: + + + + + +@extensible: +@extension_type: +@Returns: + + -- cgit v1.2.3