St.Entry and 'newline character'
- From: Erick Pérez <erick red gmail com>
- To: gnome-shell-list <gnome-shell-list gnome org>
- Subject: St.Entry and 'newline character'
- Date: Sat, 28 May 2011 13:26:01 -0400
Hi:
I have a development question.
I'm coding an extension and I need to use St.Entry widget from the
shell, the problem is that when I load text in it, the newline
character doesn't get write.
I don'see newlines, but boxes in the text where the newline should be,
and then all the text lies in one line.
I tried using St.Label, and that it does respect and print right the
newline character, but I do need the text to be editable.
I looked into the code of both object, but I don't see the difference,
or where it lies, cause St.Entry use and clutter.Text subclass
St.ImText but I think that only affects the signals not the printing,
and St.Label use a simple Clutter.Text object to show the text.
Anyway, I reach the point where the Clutter knowledge I needed to
understand was out my reach.
So. I'm asking.
How do I make St.Entry to display right the newline character ?
Thxs In advance
Erick
--
El derecho de expresar nuestros pensamientos tiene algún significado
tan sólo si somos capaces de tener pensamientos propios.
El miedo a la libertad, Erich Fromm
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]