Re: How to center vbox inside full screen window

2008-09-04 Thread Christian Smith
That did the trick, thanks! -Christian Arto Karppinen wrote: Christian Smith wrote: Hi All, I have a very simple GTK program (in C) that creates a full screen window. Inside the full screen window I am placing a vbox with two elements inside: and image and a label. For the life of me I c

Re: How to center vbox inside full screen window

2008-09-04 Thread Arto Karppinen
Christian Smith wrote: Hi All, I have a very simple GTK program (in C) that creates a full screen window. Inside the full screen window I am placing a vbox with two elements inside: and image and a label. For the life of me I cannot figure out how to get the contents of the vbox to be pack

Re: How to center vbox inside full screen window

2008-09-01 Thread Dov Grobgeld
Both GtkImage and GtkLabel are subclasses of GtkMisc, which means that you can set their alignments through the GtkMisc methods. Thus after after packing them together, set the yalignment of the image to 1.0 and the yalignment of the label to 0.0 (default for both are 0.5) and you should be ok. Se

How to center vbox inside full screen window

2008-08-31 Thread Christian Smith
Hi All, I have a very simple GTK program (in C) that creates a full screen window. Inside the full screen window I am placing a vbox with two elements inside: and image and a label. For the life of me I cannot figure out how to get the contents of the vbox to be packed together. I.e. I wan