Re: Docking widget ready for libegg
- From: Biswapesh Chattopadhyay <biswapesh_chatterjee tcscal co in>
- To: Sven Neumann <sven gimp org>
- Cc: GTK Devel <gtk-devel-list gnome org>
- Subject: Re: Docking widget ready for libegg
- Date: 11 Apr 2003 18:30:13 +0530
On Fri, 2003-04-11 at 18:16, Sven Neumann wrote:
> Hi,
>
> Biswapesh Chattopadhyay <biswapesh_chatterjee tcscal co in> writes:
>
> > Actually, that's how it is (more-or-less) - see the layout manager API,
> > esp. the following calls:
> > -----------------------------------------------------------------------
> > gboolean egg_dock_layout_load_layout (EggDockLayout *layout,
> > const gchar *name);
> >
> > void egg_dock_layout_save_layout (EggDockLayout *layout,
> > const gchar *name);
> > ----------------------------------------------------------------------
> >
> > You can consider the above calls to be "hooks" to be called by the
> > client to save the layout at an appropriate location (say
> > '~/.<appname>/docklayout.xml')
>
> are there hooks for custom serialization and deserialization as well?
> At least for GIMP I wouldn't like to save the dock-layout to a
> different file but include it in sessionrc (just like we do with
> GimpDock right now).
>
> I'd also prefer not to use XML but the sexp syntax we use for all our
> config files. In order to do that, we'd need access to all the string
> identifiers but I guess that you handle this using GObject properties
> and registered enums anyway.
Hmm - no you can't do that right now - I'll think of something for this
kind of stuff. Do you have any concrete API suggestions ?
I'm out this weekend - hopefully, I'll get some work done on this on
Monday. That should give people enough time to study the API and suggest
improvements.
>
>
> Salut, Sven
--
Biswa.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]