On Wed, Jan 27, 2010 at 04:30:03PM +0530, Sundeep Dasari wrote: > Iam trying to use gtk_table_attach api. I have issues using > xoptions(GtkAttachOptions) and yoptions in this api. > Iam not able to understand how I can use EXPAND, SHRINK and FILL options. > I tried to write a program that does the following: > > 1. create a table using gtk_table_new api > 2. Attach a button to the table using gtk_table_attach api with this expand > option > 3. Then resized the table. > > Iam expecting the button be resized in the window since the table is > re-sized. You probably miss FILL so, the cell expands but the widget inside does not. > Can you please provide me a input on how the GtkAttachOptions be used from > the application point of view. Have you read http://library.gnome.org/devel/gtk-tutorial/2.18/x364.html http://library.gnome.org/devel/gtk-tutorial/2.18/x390.html ? Yeti _______________________________________________ gtk-list mailing list gtk-list@xxxxxxxxx http://mail.gnome.org/mailman/listinfo/gtk-list