[Glade-users] GtkFileChooserDialog

On Sat, 2016-05-28 at 00:08 +0300, LRN wrote:
On 27.05.2016 23:03, Ian Chapman wrote:
In glade, FileChooserDialog is a top level just like window only I
this message on the terminal window.

Gtk-Message: GtkDialog mapped without a transient parent. This is

The message is harmless and will always show up in glade
because?transient-for property is ignored in the runtime.

Is there a way to fix the above Gtk-Message???I'm a bit lost and
prefer to do it all from glade if possible.??Regards Ian.

Call gtk_window_set_transient_for() on the dialog before showing it,
make it transient for a window that you already have shown.

So you could set?transient-for?window property directly on Glade and
that will work as expected in the preview and your application.



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