Re: [gtkmm] TreeViewColumn's button



On Fri, 2003-07-04 at 08:22, Serge S. Fukanchik wrote:
> - wrote:
> > On Thu, 2003-07-03 at 16:06, Serge S. Fukanchik wrote:
> > 
> >>ThreeViewColumn widget has `button' member, which is not wrapped in
> >>gtkmm. What is the reason behind that?
> > 
> > 
> > Because all member data of GTK+ structs is private unless the
> > documentation says otherwise. If some GTK+ experts can tell us that it
> > should be used then maybe we should wrap it. Do tell us what you
> > discover.
> > 
> 
> If you need to set tooltips on GtkTreeViewColumn's header, you should use
> that widget. All other methods fail.
> 
> <quote from gtk-devel-list>
> There's nothing really special with TreeView column headers, except that
> the button (in which a user-specified widget is packed) has an
> input-only window which covers the button. And that's why user-specified
> widgets (like your event box), won't get events and tooltips won't work.
> </quote>

If you submit a GTK+ documentation bug, and if someone says Yes, that is
a bug, then we might wrap this. You could back that bug up by pointing
them to the source of an existing application that does this.

We need to be very careful about wrapping private stuff - it could break
gtkmm's API/ABI if they change it later.

-- 
Murray Cumming
murray usa net
www.murrayc.com





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