Problem with GtkEntry()
| From: | Jérôme B. | Date: | Fri, 30 May 2003 23:50:38 +0000 |
| Subject: | Problem with GtkEntry() | ||
| Groups: | php.gtk.general | ||
| Request: | Send a blank email to php-gtk-general+get-3496@lists.php.net to get a copy of this message | ||
Hi,
i've a problem with GtkEntry. This is the source :
$entr_text = &new GtkEntry;
$entr_text->set_text("\\n");
$entr_text->get_text();
-->Result : \n (in text) it's not interpreted by the console
$entr_text->set_text('\n');
$entr_text->get_text();
-->Result : \n (in text) it's not interpreted by the console
$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 ...
Thanks for your help
Jérôme