Simple terminal widget



I am looking to embed a simple command line console in a
GTK application. I have been able to use gtk_text_view with
limited success by trapping every key-stroke event. My app
gets the correct characters but the screen gets out of sync
quickly. What is the mechanism to extract a line of characters
when the user enters a CR? I am using the stock gtk+-2.0 that
comes with an up2date RedHat 9.0.

Thanks
	George




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