Re: GtkTextView and glade 3

2010-06-08 Thread Tristan Van Berkom
On Tue, Jun 8, 2010 at 1:43 AM, Mick bare...@tpg.com.au wrote: On Mon, 07 Jun 2010 22:12:57 -0700 Steve Harrington steven.harring...@verizon.net wrote: On 06/07/2010 09:36 PM, Mick wrote: I've spent the last month struggling with glade to layout the interface for my app, especially

gdk_draw_image() not working?

2010-06-08 Thread Tomasz Sterna
I am using the following code (stripped): 8 drawing = gtk_drawing_area_new (); gc = gdk_gc_new (drawing-window); image = gdk_image_new (GDK_IMAGE_FASTEST, gdk_visual_get_system(), w, h ); paint_image (image-mem); // custom painting function gdk_draw_image

Top down layout

2010-06-08 Thread Matthew Allen
I'm trying to port an application to GTK that uses top down layout... i.e. given a window of size 1000x700 it knows how to fill that space with widgets. However GTK seems adamant to do layout in a bottom up fashion... i.e. given buttons and lists and splitters it'll work out how big the window

Re: Top down layout

2010-06-08 Thread Matthew Allen
This sort of behaviour might not be possible with GTK. But at least I thought I'd ask. Actually whats the first signal generated when the user attempts to resize the GtkWindow? I should hook that and stop it get limited to the requested size... then my window is free to resize arbitrarily,

Re: Top down layout

2010-06-08 Thread Tristan Van Berkom
On Tue, Jun 8, 2010 at 10:36 PM, Matthew Allen l...@sydneyband.com.au wrote: This sort of behaviour might not be possible with GTK. But at least I thought I'd ask. Actually whats the first signal generated when the user attempts to resize the GtkWindow? I should hook that and stop it get

Re: Top down layout

2010-06-08 Thread Matthew Allen
-- Original Message -- To: Matthew Allen (l...@sydneyband.com.au) From: Tristan Van Berkom (t...@gnome.org) Subject: Re: Top down layout Date: 9/6/2010 12:55:44p On Tue, Jun 8, 2010 at 10:36 PM, Matthew Allen l...@sydneyband.com.au wrote: This sort of behaviour might not be

Re: Top down layout

2010-06-08 Thread Matthew Allen
-- Original Message -- To: Matthew Allen (l...@sydneyband.com.au) From: Tristan Van Berkom (t...@gnome.org) Subject: Re: Top down layout Date: 9/6/2010 1:44:30p On Tue, Jun 8, 2010 at 11:09 PM, Matthew Allen l...@sydneyband.com.au wrote: -- Original Message --