Re: Threads and gtk_widget_show (code should not be reached?)

2013-01-31 Thread Andrew Potter
ent > out line 21 and uncomment line 20 to use GtkTextView instead of GtkEntry, > you will encounter the error I mentioned. > > Similarly, if you replace the gtk_widget_show_all on line 65 by > gtk_widget_show, the error goes away but does not draw the table, only the >

Re: Threads and gtk_widget_show (code should not be reached?)

2013-01-30 Thread Andrew Potter
to traverse the hierarchy and do a > gtk_widget_show on each object, the error manifests itself only when I get > to the GtkTextView at the leaf nodes. > Unless anyone else has some bright ideas, it would be helpful if you could post a concise test case. Thanks, Andrew ___

Re: Threads and gtk_widget_show (code should not be reached?)

2013-01-30 Thread Ferdinand Ramirez
the view and add it. In fact, the error comes from the line gtk_widget_show_all. If I replace this line with code to traverse the hierarchy and do a gtk_widget_show on each object, the error manifests itself only when I get to the GtkTextView at the leaf nodes. Thanks

Re: Threads and gtk_widget_show (code should not be reached?)

2013-01-30 Thread Andrew Potter
On Wed, Jan 30, 2013 at 2:17 PM, Ferdinand Ramirez < ramirez.ferdin...@yahoo.com> wrote: > However, as I pointed out, it works if I replace the GtkTextView with a > GtkEntry within each cell of the table. > > 2013/1/30 Ferdinand Ramirez > > > This works fine if it is all done from the main progra

Re: Threads and gtk_widget_show (code should not be reached?)

2013-01-30 Thread Ferdinand Ramirez
ode should not be reached. Before this error, > there is a warning > > that the iterator in text view has changed. I am not > sure if the warning > > and error are related. > > > > Source of the error > > > > I replaced gtk_widget_show_all by gtk_widget_

Re: Threads and gtk_widget_show (code should not be reached?)

2013-01-30 Thread Edscott Wilson
idget_show_all on the GtkFrame that is added, I get an error in paint >> saying code should not be reached. Before this error, there is a warning >> that the iterator in text view has changed. I am not sure if the warning >> and error are related. >> >> Source of

Re: Threads and gtk_widget_show (code should not be reached?)

2013-01-30 Thread Edscott Wilson
text view has changed. I am not sure if the warning > and error are related. > > Source of the error > > I replaced gtk_widget_show_all by gtk_widget_show in a loop going down the > tree and calling it for each object. The source of the error was the > gtk_widget_show on the lea

Threads and gtk_widget_show (code should not be reached?)

2013-01-30 Thread Ferdinand Ramirez
saying code should not be reached. Before this error, there is a warning that the iterator in text view has changed. I am not sure if the warning and error are related. Source of the error I replaced gtk_widget_show_all by gtk_widget_show in a loop going down the tree and calling it for each object

Re: gtk_widget_show() not showing window

2007-09-03 Thread G. Paul Ziemba
[By the way, the bug report in question is http://bugzilla.gnome.org/show_bug.cgi?id=467776 ] I wrote: >>> gtk_widget_show_all(window); >>> gtk_widget_hide(window); >>> gtk_widget_show(window); >>> >>> gtk_main(); > > This test

Re: gtk_widget_show() not showing window

2007-09-02 Thread James Scott Jr
should be netted to the effect of a single gtk_widget_show(); unless there is an opportunity to process the gtk_main() loop in between calls; and I didn't see that. Is this your experience? James, On Tue, 2007-08-28 at 06:58 +, G. Paul Ziemba wrote: > >On Mon, 2007-08-27 at 19:

Re: gtk_widget_show() not showing window

2007-08-27 Thread G. Paul Ziemba
>On Mon, 2007-08-27 at 19:00 +, G. Paul Ziemba wrote: >> gtk_widget_show_all(window); >> gtk_widget_hide(window); >> gtk_widget_show(window); >> >> gtk_main(); [EMAIL PROTECTED] (James Scott Jr) writes: >Try this instead. The gtk_wi

Re: gtk_widget_show() not showing window

2007-08-27 Thread James Scott Jr
Try this instead. The gtk_widget_show_all() then gtk_widget_hide() then gtk_widget_show() is the cause of your problem; unless you were thinking the window should blink once before appearing. James, #include > > static void > button_clicked_cb(GtkButton *button, gpoi

gtk_widget_show() not showing window

2007-08-27 Thread G. Paul Ziemba
Greetings, gtk_widget_show() does not seem to be operating the way I expect; could one of the experts please tell me if something is wrong with this code or if something is wrong with gtk? When I run this small bit of code, the window appears briefly and then disappears immediately. The program

Re: gtk_widget_show() and the 'size-allocate' signal

2007-03-08 Thread v4r4n
e they always hide an reappear > when ready... > > Next, I do plan on at least trying to make a widget very similar to > GtkLayout, but with the additional properties that my code requires. > > > On 3/6/07, David Nečas (Yeti) <[EMAIL PROTECTED] > wrote: > > > >

Re: gtk_widget_show() and the 'size-allocate' signal

2007-03-07 Thread v4r4n
wrote: > > Since my latest efforts to minimize the number of "size-allocate"s being > > > thrown around by holding off on key gtk_widget_show() calls, I'll > attempt to > > subclass a widget, but I've never made my own custom widget before. > > > &g

Re: gtk_widget_show() and the 'size-allocate' signal

2007-03-06 Thread Yeti
On Tue, Mar 06, 2007 at 11:41:24AM -0800, v4r4n wrote: > Since my latest efforts to minimize the number of "size-allocate"s being > thrown around by holding off on key gtk_widget_show() calls, I'll attempt to > subclass a widget, but I've never made my own custom w

Re: gtk_widget_show() and the 'size-allocate' signal

2007-03-06 Thread v4r4n
Since my latest efforts to minimize the number of "size-allocate"s being thrown around by holding off on key gtk_widget_show() calls, I'll attempt to subclass a widget, but I've never made my own custom widget before. There is a http://www.gtk.org/tutorial/x2312.html tutoria

Re: gtk_widget_show() and the 'size-allocate' signal

2007-03-04 Thread Yeti
On Sat, Mar 03, 2007 at 07:59:10PM -0800, v4r4n wrote: > When I call gtk_widget_show() on a parent of the parent, the child widget's > "size-allocate" signal handler is called before the parent widget's > "size-allocate" signal handler. This creates

gtk_widget_show() and the 'size-allocate' signal

2007-03-03 Thread v4r4n
I recently connected to the "size-allocate" signal on a parent and child widget. When I call gtk_widget_show() on a parent of the parent, the child widget's "size-allocate" signal handler is called before the parent widget's "size-allocate" signal handle

(solution) Re: gtk_widget_show() crashes with GTK Entry on Ubuntu Dapper

2006-08-20 Thread Sylvain Vedrenne
Sylvain Vedrenne wrote: > Hi, > > This GTK Entry example from the tutorial crashes on gtk_widget_show() on > Ubuntu Dapper: > http://www.gtk.org/tutorial/x941.html > > I got this problem with GTKmm, so I tried using GTK+. Same result with > GTK+: a crash on gtk_widget_s

gtk_widget_show() crashes with GTK Entry on Ubuntu Dapper

2006-08-20 Thread Sylvain Vedrenne
Hi, This GTK Entry example from the tutorial crashes on gtk_widget_show() on Ubuntu Dapper: http://www.gtk.org/tutorial/x941.html I got this problem with GTKmm, so I tried using GTK+. Same result with GTK+: a crash on gtk_widget_show(). Actually I'm not certain it's a GTK+ probl

Re: run time issue- on gtk_widget_show()- Xlib:unexpected async reply

2006-03-31 Thread Gus Koppel
function, which contains the lines as below > > > GtkWidget *mywindow; > . > mywindow=create_mywindow();// this line is wrking fine > gtk_widget_show(mywindow); > .. > > while executing gtk_widget_show(mywindow) it is showing the above mentione >

run time issue- on gtk_widget_show()- Xlib:unexpected async reply

2006-03-31 Thread shibu alampatta
. mywindow=create_mywindow();// this line is wrking fine gtk_widget_show(mywindow); .. while executing gtk_widget_show(mywindow) it is showing the above mentione message and not showing the window. any help, Thnks in advance with regards shibu _

Re: Best place to call gtk_widget_show()?

2005-08-17 Thread Iago Rubio
sured, but I just build the whole widget tree and then call > _show_all(). Apart from beeing the easiest way, I also belive its most > efficient. _show_all() merely calls the widget class show_all() method, that when it's a container recurses, and if it's another kind of widget calls

Re: Best place to call gtk_widget_show()?

2005-08-17 Thread Stefan Kost
Hi Markus, Markus Lausser wrote: Hello, I wonder, in which order should the following tasks be done: * show widget * add widget to parent container * add childs to widget Which order is the fastest (CPU)? First add childs, then show? First show then add to parent? etc... Or maybe call gtk_widg

Re: Best place to call gtk_widget_show()?

2005-08-16 Thread Maciej Katafiasz
2005-08-16 (火) の 22:45 +0200 に Markus Lausser さんは書きました: > I wonder, in which order should the following tasks be done: > * show widget > * add widget to parent container > * add childs to widget > > Which order is the fastest (CPU)? Heh. CPU has exactly nothing to do with it. What you care about

Best place to call gtk_widget_show()?

2005-08-16 Thread Markus Lausser
Hello, I wonder, in which order should the following tasks be done: * show widget * add widget to parent container * add childs to widget Which order is the fastest (CPU)? First add childs, then show? First show then add to parent? etc... Or maybe call gtk_widget_show_all() for the toplevel only

Problem: Multithread Application and gtk_widget_show with gtk-2.0

2005-06-14 Thread Rita Shrivastava
dow), TRUE); gtk_window_set_default_size(GTK_WINDOW(login_window),360,250); fixed1 = gtk_fixed_new (); gtk_widget_ref (fixed1); gtk_object_set_data_full (GTK_OBJECT (login_window), "fixed1", fixed1, (GtkDestroyNotify) gtk_widget_unref); gtk_widget_show (f

gtk_widget_show

2005-04-13 Thread trupthi n t
Hi, I am working on gtk+1.2.10 redhat linux. How do i use gtk_widget_show. When i used it in the following program i got the following error: [EMAIL PROTECTED] test]# make gcc `gtk-config --cflags` foc.c -o foc `gtk-config --libs` [EMAIL PROTECTED] test]# ./foc