RE: [gtkmm] Can this be done with gtkmm?
- From: Murray Cumming Comneon com
- To: otaylor redhat com
- Cc: seguso forever tin it, gtkmm-list gnome org, gtk-devel-list gnome org
- Subject: RE: [gtkmm] Can this be done with gtkmm?
- Date: Fri, 19 Dec 2003 14:54:36 +0100
> > You are using the PangoLayoutLine::length struct field:
> >
> http://developer.gnome.org/doc/API/2.2/pang> o/pango-Layout-Objects.html
> > #Pango
> > LayoutLine
> >
> > By default, struct fields are private (you should not use
> them) unless
> > the documentation says otherwise. If the GTK+ developers
> say that this
> > field should be accessed directly, then we will wrap it in
> gtkmm 2.4.
>
> Actually, the policy is:
>
> - Object structures are default private
> - Other structures are default public
>
> Subject to modification by /*< public >*/ or /*< private >*/ comments.
>
> This is what gtk-doc does, and you can see that length is
> documented at:
>
>
http://developer.gnome.org/doc/API/2.0/pango/pango-Layout-Objects.html#Pango
LayoutLine
OK, thanks.
For PangoLayoutLine, should the struct fields only be read directly, or can
they be set directly as well? It looks like setting them directly might only
be safe at certain times.
Murray Cumming
www.murrayc.com
murrayc usa net
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]