On 06/09/2013 09:21 AM, Thomas A. Moulton wrote:
I see a lot of questions about this and I have not found an answer
that works for me.
I create the chat window like this:
The printf above at times tells me the objects are not valid, but the
addresses have not changed.
Also the TextBuffer ha
On Sun, 2013-06-09 at 00:12 -0700, Andrew Potter wrote:
> One approach is ditching the ScrolledWindow and overriding the
> get_preferred_width_for_height/width() vfuncs to return the full image
> width, and then in size_allocate() set the image to a scaled pixbuf of the
> allocated width.
>
> Thi
On Fri, 2013-06-07 at 19:05 +0200, Felix Möller wrote:
> Sorry for being unprecise.
> GTK3 in combination with C.
>
> If I set the scrollbars' policy to never, the scrollbar is not
> displayed, but the window is not as small as it should be, but as big as
> its content. I want it to have the same
I see a lot of questions about this and I have not found an answer that
works for me.
I create the chat window like this:
CHAT *ChatNew(char *player) {
CHAT *chatlog;
GtkBox *chat;
GtkTextBuffer *buf;
GtkTextView *text;
GtkEntry *entry;
GtkScrolledWindow *scroll;
Gtk
On Sat, Jun 8, 2013 at 10:27 PM, Kip Warner wrote:
> The banner image should automatically resize as the window is resized.
> It should use the full width available in the parent page (GtkBox), but
> the image's height should be calculated as a function of the aspect
> ratio to keep it from being