Re: St.Entry and 'newline character'



> entry.single_line_mode = false

Not working. I'm still doesn't know which is the difference between
St.Label and St.Entry

Erick

On 28/05/2011, Jasper St. Pierre <jstpierre mecheye net> wrote:
> You can try `entry.single_line_mode = false`, but St.Entry may not support
> that right away. It should, though.
>
> 2011/5/28 Erick Pérez <erick red gmail com>
>
>> 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
>> _______________________________________________
>> gnome-shell-list mailing list
>> gnome-shell-list gnome org
>> http://mail.gnome.org/mailman/listinfo/gnome-shell-list
>>
>


-- 
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]