Re: multiple windows



You need to make the 2nd window modal.

And you need to fix the bugs in your code. Use a debugger and set a breakpoint in g_logv, then look at the backtrace to get clues on where those error messages are coming from.

On Thu, May 19, 2016 at 9:19 AM, Ian Chapman <ichapman videotron ca> wrote:
Hi,
    I must have missed a basic point on how to use tdk and glade.  I have my main window and that works the way it should.  I have a signal from a button that opens a second window and three thing are not right.
    When the window opens the terminal shows ---
(main:17061): Gtk-WARNING **: Symbolic icon pan-down-symbolic-ltr of size 16 is in an icon theme directory of size 128
    When I close the window2 (same way as window1) the terminal shows ---
(main:17061): Gtk-CRITICAL **: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

    The second window2 works that way I expect, the only hick is that window1 functions can be executed in parallel and that is not desired.
    I'm using the top level window but there are also offscreen and application windows and I've not determined when they should be used?  Any pointers greatly appreciated.  Regards Ian.


_______________________________________________
gtk-list mailing list
gtk-list gnome org
https://mail.gnome.org/mailman/listinfo/gtk-list




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]