Re: How to specify max char limit on GtkTextView
- From: Paolo Costabel <paolo zebradevelopment com>
- To: Gaurav Jain <gaurav anywhere gmail com>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: How to specify max char limit on GtkTextView
- Date: Tue, 25 Jan 2005 09:31:55 -0800
You could connect to the GtkTextBuffer insert-text signal and remove
character in excess of the desired length.
Gaurav Jain wrote:
Hi All,
I wish to enforce a maximum character limit on a GtkTextView. For
GtkEntry, there is an API called gtk_entry_set_max_length(), but I
couldn't find one for GtkTextView.
Is there a way to enforce this limit somehow?
Thanks,
-Gaurav
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]