Re: updating a displayed widget
| From: | Keith Geffert | Date: | Thu, 08 Mar 2001 16:19:19 +0000 |
| Subject: | Re: updating a displayed widget | ||
| References: | 1 | Groups: | php.gtk |
| Request: | Send a blank email to php-gtk+get-573@lists.php.net to get a copy of this message | ||
Frank,
Well, I did, and whaddya know.... *crash*. Call to undefined function
freeze() :P
The widgets used don't have any mention of freeze and thaw methods.
After perusing the gtk.defs, it looks like calendar, text, clist and
layout widgets are the only
ones with freeze and thaw methods.
Maybe I'll trying stuffing the entire app into a layout class and
freeze/thaw that....
Keith
On 07 Mar 2001 21:27:21 -0800, Frank M. Kromann wrote:
> Hi Keith,
>
> try ->freeze() before updating and ->thaw() after updating.
>
> - Frank
>
> > Hello all,
> >
> > I'm brand new to gtk. I've been playing with the samples and such, and
> > have a small project to help me learn the process. What I can't figure
> > out is the pragma for updating a displayed widget. I've modified the
> > list.php for my own purposes. After displaying the widget I've added an
> > extra button that adds to the $list (GtkList) widget. This doesn't
> > update the display.
> >
> > I've tried, hiding and then showing. removing and then repacking. I've
> > been skimming the api and tutorial doc's on gtk.org but can't seem to
> > find anything about it.
> >
> > $new_item[] = &new GtkListItem('A new Item');
> > $list->append_items( $new_item );
> >
> > That would seem to get the item into the list widget, but the displayed
> > widget doesn't change.
> >
> > Keith
> >
> >
> >
> > --
> > PHP GTK Mailing List (http://www.php.net/)
> > To unsubscribe, e-mail: php-gtk-unsubscribe@lists.php.net
> > For additional commands, e-mail: php-gtk-help@lists.php.net
> > To contact the list administrators, e-mail: php-list-admin@lists.php.net
> >
> >
> >
>
>
>
>
> --
> PHP GTK Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-gtk-unsubscribe@lists.php.net
> For additional commands, e-mail: php-gtk-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net