[Fwd: [gtk-list] problem with SpinButton inside a ListItem]
- From: Todd Dukes <tdukes ibmoto com>
- To: gtk <gtk-list redhat com>
- Subject: [Fwd: [gtk-list] problem with SpinButton inside a ListItem]
- Date: Wed, 06 May 1998 10:19:08 -0500
Todd Dukes wrote:
> Should I be able to put a spin button inside a list item?
> I can get a hbox with a label inside it to work ok. If I
> add a spin button before the label I get messages like this
>
> ** WARNING **: file gtkwidget.c: line 2451 (gtk_widget_set_parent):
> "widget->parent == NULL"
>
> when I call append_items () ( I am using gtk--)
>
I figured it out.
You cannot use Gtk_ListItems as elements to put inside a Gtk_List in gtk--
with append_items. You must use the c style GtkListItems.
This is the second time I've done this. Hope this helps someone else.
Todd
--
==============================================================
| Todd Dukes E-MAIL: tdukes@ibmoto.com |
| Motorola Somerset Phone: (512) 424-8008 |
| MS OE70 |
| 6300 Bridgepoint Parkway Building #3 |
| Austin, Texas 78730 |
==============================================================
- From: Todd Dukes <tdukes ibmoto com>
- To: gtk <gtk-list redhat com>
- Subject: [gtk-list] problem with SpinButton inside a ListItem
- Date: Wed, 06 May 1998 09:28:11 -0500
Should I be able to put a spin button inside a list item?
I can get a hbox with a label inside it to work ok. If I
add a spin button before the label I get messages like this
** WARNING **: file gtkwidget.c: line 2451 (gtk_widget_set_parent):
"widget->parent == NULL"
when I call append_items () ( I am using gtk--)
Email me and I can send an example of about 80 lines that
shows the problem.
thanks
Todd
--
==============================================================
| Todd Dukes E-MAIL: tdukes@ibmoto.com |
| Motorola Somerset Phone: (512) 424-8008 |
| MS OE70 |
| 6300 Bridgepoint Parkway Building #3 |
| Austin, Texas 78730 |
==============================================================
--
To unsubscribe: mail -s unsubscribe gtk-list-request@redhat.com < /dev/null
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]