get GtkWindow Position?



Hi All!!!
I am using Gtk1.2.
I want to get the position of GtkWindow, so how it is possible ?
if anybody knows then please let me know
Thanks in adavace.
Amit Jain.


----- Original Message -----
From: "Olexiy Avramchenko" <ath beast stu cn ua>
To: "amitjain" <amitjain webdunia com>
Cc: <gtk-list gnome org>
Sent: Friday, October 25, 2002 2:43 PM
Subject: Re: Very simple question


> amitjain wrote:
>
> >Hi All !!!
> >i have a window in that i have two labels in a hbox.
> >i wnat that these labels should be resize whenever
> >window resize i.e.  i dont want to fix the size of labels.
> >it should change dynamicly whenever window resizes
> >
> How did you pack them into hbox ? There're *expand* and *fill* parameters
to
> gtk_box_pack_start() function. If both set to TRUE your labels will get
> an all extra
> space during resize, so you have to do:
> gtk_box_pack_start(GTK_HBOX(hbox), label, TRUE,TRUE, 0);
> Read the following about gtk_box_pack_start:
> http://developer.gnome.org/doc/API/2.0/gtk/gtkbox.html#GTK-BOX-PACK-START
>
> Olexiy
>
>
>




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]