[prev in list] [next in list] [prev in thread] [next in thread]
List: gtk-devel
Subject: Re: g_object_notify on write-only properties?
From: Alexander Larsson <alla () lysator ! liu ! se>
Date: 2001-02-28 17:17:20
[Download RAW message or body]
On 28 Feb 2001, Owen Taylor wrote:
>
> Alexander Larsson <alla@lysator.liu.se> writes:
>
> > I'm merging lee's GtkLabel GParam changes, and I have a question.
> >
> > The patch currently does
> > g_object_notify (G_OBJECT (label), "markup");
> > when setting the label from markup, even though the markup property is
> > write only. This seems a bit strange, is it correct?
>
> My opinion is that the ::markup and ::pattern properties should
> be write-only, and the ::attributes and ::label properties should
> be read-write. (I haven't looked at the exact names here)
>
> So, setting ::markup should notify ::attributes and ::label,
> and setting ::pattern should notify ::attributes.
Good, this is what i have done. I'm still totally confused about the type
of the ::attributes property though.
/ Alex
_______________________________________________
gtk-devel-list mailing list
gtk-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-devel-list
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic