How can I create a fixed size Gtk.TextView in Gtk+3? -


I have a GTKteviewview in which a GTK is fixed and I have set its width and height and rap mode.

My problem is that I need to avoid expanding TextView, when the user joins more text than fit in the set size, in that case I have to stop the user from writing.

Any help?

If you have a line entry, instead of text, use textentry rather than textview Text entry You can set the maximum length of the textant.

For the development of UI using Glade. Apart from this, if your UI change is based on the configuration file from the server, then it is also a solution, all windows are in the window, show / hide the widgets based on the config file from the server.

Comments

Popular posts from this blog

excel vba - How to delete Solver(SOLVER.XLAM) code -

github - Teamcity & Git - PR merge builds - anyway to get HEAD commit hash? -

ios - Replace text in UITextView run slowly -