Wrapping the panel

Jannis Pohlmann jannis at xfce.org
Mon Sep 7 23:48:37 CEST 2009


On Mon, 07 Sep 2009 23:20:25 +0200
Bo Lorentsen <bl at lue.dk> wrote:

> In C++ I can't put properties and signals on the interface 
> (XfcePanelPluginInterface), so I would need something like a common 
> class between the external and internal. This is again not possible,
> as we only use single enheritment in GTK+, so ... I have a challenge
> here :-)

From what I remember C++ doesn't have interfaces at all (virtual
methods are a poor substitute for that). Neither does it know about
signals. I doubt that trying to map a GInterface to a C++ class with
only virtual methods is going to work.

  - Jannis
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://mail.xfce.org/pipermail/xfce4-dev/attachments/20090907/d90b4bab/attachment.pgp>


More information about the Xfce4-dev mailing list