[Glade-users] GtkFileChooserDialog
- From: lrn1986 at gmail.com (LRN)
- Subject: [Glade-users] GtkFileChooserDialog
- Date: Sat, 28 May 2016 00:08:31 +0300
On 27.05.2016 23:03, Ian Chapman wrote:
In glade, FileChooserDialog is a top level just like window only I get
this message on the terminal window.
Gtk-Message: GtkDialog mapped without a transient parent. This is
discouraged.
Is there a way to fix the above Gtk-Message? I'm a bit lost and would
prefer to do it all from glade if possible. Regards Ian.
Call gtk_window_set_transient_for() on the dialog before showing it, and
make it transient for a window that you already have shown.
If the dialog *is* the only window you have, it, obviously, wouldn't be
possible to make the dialog transient, you'll have to think of something else.
--
O< ascii ribbon - stop html email! - www.asciiribbon.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: OpenPGP digital signature
URL: <http://lists.ximian.com/pipermail/glade-users/attachments/20160528/fad59d04/attachment.pgp>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]