Re: Desktop as transient window

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

 



Hi Paul,

In recent GTK+ versions, GtkDialog emits a warning when it is mapped
without a parent, saying that it is discouraged. See
https://git.gnome.org/browse/gtk+/tree/gtk/gtkdialog.c#n776

On Mon, Aug 10, 2015 at 9:43 AM, Paul Davis <paul@xxxxxxxxxxxxxxxxxxxxx> wrote:
> On Mon, Aug 10, 2015 at 12:42 PM, Paul Davis <paul@xxxxxxxxxxxxxxxxxxxxx> wrote:
>> On Mon, Aug 10, 2015 at 12:40 PM, Igor Korot <ikorot01@xxxxxxxxx> wrote:
>>
>>> IIUC, in this specific case I should create the main frame, hide it and then
>>> set the parent for my options dialog to be this main frame.
>>
>> you do not need to set the parent, and in almost all cases you should
>> not set the parent.
>
> to be clear, i am referring to explicitly setting the "transient
> parent" of a GtkWindow. I am not referring to setting the parent of a
> GtkDialog, but GtkDialog's are entirely happy to have no parent.



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



[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux