Re: Image Loading Problem on Windows Box

2007-07-24 Thread Rick Jones
> The code which should load the file is: > > GtkPixbuf * logoBuffer = gdk_pixbuf_new_from_file("images/logo.jpg", > NULL); > > although the following also does not work (a broken image graphic is > displayed): > > GtkWidget * logo = gtk_image_new_from_file("images/logo.jpg"); naive question

Re: Image Loading Problem on Windows Box

2007-07-24 Thread Yeti
On Tue, Jul 24, 2007 at 10:10:27PM +0100, Gavin Keighren wrote: > I am in the process of porting a very simple program from OS X (X11) to > Windows (please don't ask why, it's not my choice). The program > compiles without any errors on both systems (and also works for the > main part). However,

Image Loading Problem on Windows Box

2007-07-24 Thread Gavin Keighren
Hi, I am in the process of porting a very simple program from OS X (X11) to Windows (please don't ask why, it's not my choice). The program compiles without any errors on both systems (and also works for the main part). However, the program is meant to display an image, but the Windows version

Re: Locking the width of a column in a tree view

2007-07-24 Thread Kevin DeKorte
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 David Nečas (Yeti) wrote: > On Tue, Jul 24, 2007 at 10:48:16AM -0600, Kevin DeKorte wrote: >> I would like to make it so that the first column >> is the column that is stretched and the second column remains the >> smallest size it can be based on cont

Re: Locking the width of a column in a tree view

2007-07-24 Thread Yeti
On Tue, Jul 24, 2007 at 10:48:16AM -0600, Kevin DeKorte wrote: > I would like to make it so that the first column > is the column that is stretched and the second column remains the > smallest size it can be based on contents and font. gtk_tree_view_column_set_expand() Yeti -- http://gwyddion.ne

Locking the width of a column in a tree view

2007-07-24 Thread Kevin DeKorte
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi all, I have this code... and I would like to make it so that the first column is the column that is stretched and the second column remains the smallest size it can be based on contents and font. Right now the first column stays the same size and t