Re: [gtkmm] Tooltips with gtkmm-2.3



On Fri, 2004-04-09 at 23:11, Chris Vine wrote:
> On Friday 09 April 2004 19:58, Murray Cumming wrote:
> > On Fri, 2004-04-09 at 19:55, Chris Vine wrote:
> > > The thing that slightly troubles me is that this means accessing a
> > > private member of struct _GtkToolbar, which you are not really supposed
> > > to do.
> >
> > If you read that bug, you will see that it is public.
> 
> 
> Yes, you are right.  In gtktoolbar.h that member is described as public so it 
> is fair game for gtkmm to use it.  However the html documentation describes 
> it as private.

Do you mean the online documentation? Your local built documentation
(and the online documentation when it is updated) should show that it is
public. If not then please file a bug.

>   (They should use doxygen and then these problems wouldn't 
> arise).  It is a library implementer's issue, so if gtkmm provides an 
> accessor it is probably not worth entering a documentation bug.

> 
> The best solution in the long term seems to me to be to omit GtkTooltips from 
> GtkToolbar.  Users of GtkToolbar who want tooltips can define their own 
> GtkTooltips object and then you wouldn't need an accessor at all.
> 
> Chris.
-- 
Murray Cumming
www.murrayc.com
murrayc murrayc com




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