develooper Front page | perl.wxperl.users | Postings from April 2010

Re: Help on LoadOnDialog

Thread Previous
From:
Mattia Barbon
Date:
April 3, 2010 01:21
Subject:
Re: Help on LoadOnDialog
Message ID:
4BB6FA83.5090904@libero.it
Peter Gordon wrote:

   Hi,

> I am trying to load a dialog from an xrc file, created by DialogBlocks,
> and I get this error:
> 
>  Gtk-CRITICAL **: gtk_window_set_modal: assertion `GTK_IS_WINDOW
> (window)' failed
> 
> Any help would be appreciated.

just change the LoadOnDialog line to:

   $xrc->LoadOnDialog($dialog,undef, 'ID_TEST_DIALOG') ;

HTH,
Mattia


Thread Previous


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About