Re: gtk - changing buttons depending on the selection
| From: | Brian A. Stumm | Date: | Thu, 21 Sep 2006 15:13:31 +0000 |
| Subject: | Re: gtk - changing buttons depending on the selection | ||
| References: | 1 | Groups: | php.gtk.general |
| Request: | Send a blank email to php-gtk-general+get-7261@lists.php.net to get a copy of this message | ||
On Wed, 20 Sep 2006, Benjamin Smith wrote:
> On Tuesday 19 September 2006 09:41, Brian A. Stumm wrote:
> > Creating buttons on the fly will consume memory over time, you would be
> > better off to create all the buttons you require prior to calling the gtk
> > main loop then use $button->show() and $button->hide() as the user
> > interacts with you list.
>
> Is that also true with PHP-GTK2?
I dont believe so based on what I've read on this list but I have no
personal experience with php-gtk2. v2 was not stable enough (IMHO) when I
started developing my app in approx may 2005. Its a fairly large app so
porting isn't something I plan to do soon.