Re: Problem with GtkEntry()
| From: | jb59 | Date: | Sat, 31 May 2003 06:48:22 +0000 |
| Subject: | Re: Problem with GtkEntry() | ||
| References: | 1 2 | Groups: | php.gtk.general |
| Request: | Send a blank email to php-gtk-general+get-3498@lists.php.net to get a copy of this message | ||
To propose the choice of the Line Feed character for the user.
Jerome
"Roman Neuhauser" <neuhauser@bellavista.cz> a écrit dans le message de news:
20030531020343.GF53263@freepuppy.bellavista.cz...
> # bailleul.j2@wanadoo.fr / 2003-05-31 01:50:38 +0200:
> > $entr_text->set_text("\n");
> > $entr_text->get_text();
> > -->Result : It works on the console ! but the gtk app doesn't display
\n.
> > It display a strange grey square ...
>
> the manual:
>
> "GtkEntry is a single line text field (...)"
> ^^^^^^^^^^^
>
> so, what do you expect it to do with that newline?
>
> --
> If you cc me or remove the list(s) completely I'll most likely ignore
> your message. see
> http://www.eyrie.org./~eagle/faqs/questions.html