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
>
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
___
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
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
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_
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
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
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
[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
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:
>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
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
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
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:
> >
> >
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
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
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
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
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
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
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
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
>
.
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
_
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
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
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
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
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
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
29 matches
Mail list logo