Re: Re: a question about entry



Quoting ken <x t hua 163 com>:
thank you very much.
and i find it should add some lines at the end:
$vbox->show;
$entry->show;
$button->show;
$window->show;.

Yeah, I had menat there to be a $window->show_all; just before the Gtk2->main;

would you like to tell me where you find the examples?
giving fishing is better than giving the fish.

I originaly learned from 

http://personal.riverusers.com/~swilhelm/gtkperl-tutorial/ 

but unfortunatly that is only Gtk (not Gtk2).  Now I use the Gtk2 and Gnome2
references at 

http://developer.gnome.org/doc/API/

translating from C to Perl using Gtk2::api (also available at

http://gtk2-perl.sourceforge.net/doc/Gtk2::api.pod.html

).  That is sort of a lie though since I really just do what I expect to work
from my experience with Gtk and only lookup those things I don't remember or
that don't work the way I expect them to (like the functions that have been
moved down a layer to Glib from Gtk).



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]