Re: Clearing content of Text Widget



HRahman10 aol com writes:
> Hi!, is there are function which allows you to delete the content of a text 
> widget, i.e. if clear a clear button is clicked, it clears the text widget, 
> rather then having to deleting everything yourself.

It sounds like you want:

    gtk_editable_delete_text( GTK_EDITABLE( widget ), 0, -1 );

Cheers,
Gary.
-- 
  Gary Wong    Consultant, Dependable Distributed Computing, AT&T Shannon Labs
        gtw research att com            http://www.cs.arizona.edu/~gary/




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