Re: Warnings in custom container example of GTKmm Book



On Mon, 2008-02-18 at 21:21 -0600, Jonathon Jongsma wrote:
> I looked into this a little bit and it looks like several vfuncs for
> GtkContainer are not wrapped in gtkmm.
>   Specifically, the following
> vfuncs are not wrapped: add(), remove(), check_resize(),
> set_focus_child().

These are signals, not vfuncs. We do wrap them.

So I don't think that's the problem.

>   And obviously, since gtkmm doesn't wrap the remove
> function, the custom container does not implement it, and therefore
> prints out warnings when the default dummy implementations are called.
> 
> murray, I don't know much about ABI compatibility and gmmproc -- are we
> able to wrap these vfuncs?

If we really did have to add vfuncs (or signals with default signal
handlers) then that would break ABI because they are virtual methods.

-- 
murrayc murrayc com
www.murrayc.com
www.openismus.com
> 



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