is this a bug in GtkBox ?
- From: Charles Lambert <cwlambert76 yahoo com>
- To: gnome-devel-list gnome org
- Subject: is this a bug in GtkBox ?
- Date: Thu, 8 May 2003 23:52:39 -0700 (PDT)
i'm creating a widget that inherits from GtkBox and i
want it to have the homogeneous property always be
true.
calls to gtk_box_set_homogeneous () actually set
box->homogeneous directly like so:
....
box->homogeneous = homogeneous ? TRUE : FALSE;
....
shouldn't it be doing something like
....
GObjectClass *gobject_class =
G_OBJECT_CLASS(GTK_BOX_GET_CLASS(box)));
gobject_class->set_property (box, PROP_HOMOGENEOUS,
val, pspec);
....
instead so that my widget that inherits from it can
override that property and make it always true?
and shouldn't gtk_box_set_property () be calling
something like gtk_box_real_set_homogeneous() instead
of gtk_box_set_homogeneous() to set the property?
Thanks,
Charles
email: cwlambert76 yahoo com
shouldn't it be calling the
GObjectClassSetFunc function pointer in the
GObjectClass struct so that i can set that in my
widget to
__________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.
http://search.yahoo.com
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]