libvte color troubles.

2015-09-21 Thread Subsentient
Writing a new terminal application with GTK and libvte, and setting colors is not working. I'd like to know what I'm doing wrong. vte_terminal_set_color_background() is ignored. Nothing changes, no warnings appear in stdout or stderr, just, nothing. Here's some stub code that illustrates my

Auto-resize scrolled window

2015-09-21 Thread Subsentient
When I resize the window, I'm having difficulty finding a way to make a scrolled window automatically resize with it. I can't use gtk_widget_set_size_request(), because then I won't be able to shrink it down again. Working in C. How can I have a widget automatically resize to fill all available

Re: Auto-resize scrolled window

2015-09-21 Thread Subsentient
) On 09/21/15 20:33, Subsentient wrote: When I resize the window, I'm having difficulty finding a way to make a scrolled window automatically resize with it. I can't use gtk_widget_set_size_request(), because then I won't be able to shrink it down again. Working in C. How can I have a

Re: Auto-resize scrolled window

2015-09-22 Thread Subsentient
GTK 2, using C calls. On 09/22/15 08:52, Gergely Polonkai wrote: Before anyone could actually answer: • what version of GTK are you using? • how do you build your window? Are you using plain C calls, or some UI builder like Glade? Best, Gergely On 22 Sep 2015 02:33, "Subsen