Re: Cursor position - Deletion of Text.



    >>  gtk_request_focus(widget)

    Vlad> No, gtk_widget_grab_focus(widget) AFAIR.

Quite right.  I've been corrupted by Java :-)

    Vlad> gtk_editable_delete_text(GTK_EDITABLE(text_widget), 0, -1) will be
    Vlad> more reliable.

I wasn't sure that the commonly seen -1 value would work.
-----------------------------------------------------------------------------
Mark Leisher
Computing Research Lab            Once you fully apprehend the vacuity of a
New Mexico State University       life without struggle, you are equipped
Box 30001, Dept. 3CRL             with the basic means of salvation.
Las Cruces, NM  88003                            -- Tennessee Williams





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