Adding widget types to [Glade|Gazpacho|libGlade]



I'm looking to create some custom widgets for use in a libGlade program,
and I'd like to be able to correctly automatically instantiate those
widgets as well as lay them out in Glade or Gazpacho.

I have my custom widget set up such that it will be created by libGlade
if the .glade file references them, but I can only set the widget type
by manually editing the .glade file, since neither Glade nor Gazpacho
yet know about my widget.

I need to confirm some of the things I think I am getting from the
various manual pages - please correct me if I am wrong:

1) Both Glade3 and Gazpacho allow for the addition of widget sets by
creating a catalog file + any needed handler files.
2) Glade2 does NOT have this capability.
3) Gazpacho looks in /usr/share/gazpacho/catalog for its catalogs
4) As of yet, Glade3 is NOT a "standard" part of Fedora, nor Debian (at
least I've not been able to find appropriate packages in any of the
repositories for those two environments) - as such I don't know where
Glade3 would look for extra catalogs.

Now, what I'd like to know is: Is there any way to have a "local"
catalog for Gazpacho|Glade to allow it to understand custom widgets,
rather than having to add the catalog to /usr/share/gazpacho/catalog? As
I am developing the widgets I'd like to NOT have to place them into the
system directories: I'd rather have them either in some sub-directory in
my home directory, or better still in the directory containing their
support code until such time as I am read to do a release.

Also, are there any plans on bringing the gazpacho and Glade catalog
directories together, such that an install package for these files would
go into one place only?





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]