Hey Thanks,
                  I later figured out that there is another widget
also called Gtk-alignment which helps to perform same task. Now I need
to
change the structure of my program, but thats fine as long as I am
able to maintain aspect ratio and alignment.

Cheers,

On Dec 8, 2007 9:51 PM, Tristan Van Berkom <[EMAIL PROTECTED]> wrote:
>
> On Dec 8, 2007 4:50 AM, Prashant J Zaveri <[EMAIL PROTECTED]> wrote:
>
>
> > Hello...
> >        I am writing a gtk application to run on some other display. I want
> > to maintain the size and layout of widgets that I have set on my
> > desktop.For that I would like to specify widget size in percentage.
> >
> > Any idea how can I do that...
>
> Using the containers provided by gtk+ (GtkBox/GtkTable etc)
> will do this automatically.
>
> If you have a specific need you might look at GtkAspectFrame,
>  it uses aspect ratio to place one widget inside at specified size
> and coordinates (the contained widget could in turn be another
> container ofcourse).
>
> Cheers,
>                      -Tristan
>
>



-- 
Thanks
Prashant
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Reply via email to