I have a Gtk.TextView
control, and I'm inserting child widgets into it. I'd like to be able to have the children resize to fit the width of the TextView when the form is resized. Is there a built-in way to do this? If not, can anyone suggest a good way of writing my own?
You can use the gtk_text_view_get_window() method to get the width of the Gtk.TextView. With this number you can resize your child-widget accordingly. If you want to resize the child-widget automatically when the Gtk.TextView resizes, you can use the signal check-resize, to do the resizing.