Re: a lot of modal dialogs without GTK.main

2010-02-05 Thread Andrew Cowie
On Fri, 2010-02-05 at 17:21 +0100, David Nečas wrote: > Explicit main loop iterations are usually a sign of desperation. Indeed :) As it happens, we have a problem with gtk_dialog_run(). We may need to replace it with manually doing the while (gtk_events_pending ()) gtk

Re: a lot of modal dialogs without GTK.main

2010-02-05 Thread David Nečas
On Fri, Feb 05, 2010 at 06:26:39PM +0300, Andrey Nikitin wrote: > > But I noticed that dialog.destroy() call really does not destroy the > > dialog window. > > > > Have solution? > > I found the solution, see my code (I use the excellent ruby gtk > binding) below: Explicit main loop iterations a

Re: a lot of modal dialogs without GTK.main

2010-02-05 Thread Andrey Nikitin
> But I noticed that dialog.destroy() call really does not destroy the > dialog window. > > Have solution? I found the solution, see my code (I use the excellent ruby gtk binding) below: [code] # create first dialog ... if dialog.run == Gtk::Dialog::RESPONSE_ACCEPT # make something else

Re: GtkAttachOptions usage!!

2010-02-05 Thread Tadej Borovšak
Hi. Again, this is really annoying. I'm having 3 exactly the same messages, caused by your cross-posting. Please, stop doing that. Tadej -- Tadej Borovšak tadeboro.blogspot.com tadeb...@gmail.com tadej.borov...@gmail.com ___ gtk-app-devel-list mailin

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 tr

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 a b

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 a b