gtk_table_attach()

2011-08-10 Thread John Emmas
Using gtk_table_atttach() I can attach widgets to a table. Suppose the table is in a dialog box. I hide the dialog but next time I display it, I want some other widget to occupy the same space. There doesn't seem to be a 'gtk_table_detach()' function - so:- 1) Is there some other way to

Re: gtk_table_attach()

2011-08-10 Thread Jannis Pohlmann
On Wed, 10 Aug 2011 15:41:35 +0100 John Emmas john...@tiscali.co.uk wrote: Using gtk_table_atttach() I can attach widgets to a table. Suppose the table is in a dialog box. I hide the dialog but next time I display it, I want some other widget to occupy the same space. There doesn't seem to

Re: gtk_table_attach()

2011-08-10 Thread John Emmas
On 10 Aug 2011, at 15:49, Jannis Pohlmann wrote: GtkTable inherits from GtkContainer so you can just call gtk_container_remove(table, widget). Be sure to grab a reference on the widget if you don't want it to be destroyed after the removal from the table. [...] Whether this makes

Fwd: gtk_table_attach api, GtkAttachOptions usage

2010-02-05 Thread Sundeep Dasari
Hi 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

Re: gtk_table_attach api, GtkAttachOptions usage

2010-02-05 Thread Tadej Borovšak
Hello. First of all, cross-posting is bad and tends to annoy people. Stick to your original post. 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

frame and a spinner with gtk_table_attach to cell - question

2008-01-30 Thread J.
Wednesday, January 30 Hello, If I put a spinner in a frame in a table cell with gtk_table_attach it unfortunately overlaps and looks garbled :( How should I do this so that they don't overlap within the same cell ? Here's what I'm doing now. snippet ... /* the frame */ mvfr