Desktop as transient window
- From: Igor Korot <ikorot01 gmail com>
- To: "gtk-list gnome org" <gtk-list gnome org>
- Subject: Desktop as transient window
- Date: Sun, 9 Aug 2015 14:59:43 -0400
Hi, ALL,
There is a function in GTK - gtk_window_set_transient_for() - which
sets the parent
window for the current one.
Now the question I have is: is it possible to set the parent to become
a Desktop?
Let's say I have an application class and I want to make sure that I
already have a TLW
to pass it to that function. Otherwise I want to use Desktop, because
passing NULL
according to documentation will unset it.
[quote]
Passing NULL for parent unsets the current transient window
[/quote]
and it does not say it what happen if there was no such window in the
first place.
So if I will pass NULL for the parent and the transient is not being
set, will it become
set as a Desktop.
This is not clear from the docs.
Thank you for clarification.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]