Re: Starting to write Seed extensions
- From: Jonthan Wadelius <wadelius gmail com>
- To: Xan Lopez <xan gnome org>
- Cc: epiphany-list gnome org
- Subject: Re: Starting to write Seed extensions
- Date: Sun, 04 Apr 2010 19:54:24 +0200
Thanks for the quick reply! I've been looking at the two examples "reopen-closed-tabs" and "close-multiple-tabs" but don't understand yet how a function from the epiphany source is called from the seed extension. If I for example would want to call "ephy_session_save" in "ephy_session.c", how would I write the code?
sön 2010-04-04 klockan 17:45 +0200 skrev Xan Lopez:
On Sun, Apr 4, 2010 at 5:31 PM, Jonthan Wadelius <wadelius gmail com> wrote:
> I'm going to start trying to write seed extensions for epiphany. I've looked
> at the epiphany source code as well as the available seed examples today and
> got some questions:
> - Can regular functions from the source code be called by Seed?
> - How do I distinguish the parts of the epiphany source that are accessible
> from the extensions?
The only functions that you can use are those exported as public API
in our headers. They have changed quite a bit recently (and might
change a bit more in the future), so whatever documentation is out
there isn't probably super useful at this point. My suggestion is that
you check the working extensions in the epiphany-extensions module for
guidance and examples on how to do things.
This is something I hope we'll able to improve starting this cycle, so
don't despair :)
> Jonathan Wadelius
> epiphany-list mailing list
> epiphany-list gnome org
] [Thread Prev