Re: [gtkmm] How to make Entry widget read-only?



Erik, try:

to prevent editing:
yourEntryPtr->set_editable(false);

to grey out:
yourEntryPtr->set_sensitive(false);

Dear Gtkmm list,
	I've got this question, which would appear to be a really easy one.

	I have a display only, non-user editable, Entry field on my dialog.
The question is how to tell the Entry field that this is the case?





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