GtkFileChooserDialog
Ian Chapman <[email protected]> Fri, 27 May 2016 16:03:49 -0400
| Newsgroups | gmane.comp.gnome.glade.user |
|---|---|
| Message-ID | <[email protected]> |
This is a multi-part message in MIME format.
--===============0610711019==
Content-Type: multipart/alternative;
boundary="------------060103010009090400060007"
This is a multi-part message in MIME format.
--------------060103010009090400060007
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
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.
Search engines seem to be saying " You fix this warning by giving the
GtkDialog a parent to be modal to. The relevant functions
are|gtk_window_set_transient_for()|(which sets this window to always be
on top of, or/transient for/, another one) and
optionally|gtk_window_set_modal()|to make it a modal dialog. This is
ultimately what the various GtkDialog constructors do."
I do have the Glade/TopLevel/General radio button modal clicked and that
keeps it top level ie the calling window's button is not active. I
think this is the equivalent of window_set_modal?
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.
--------------060103010009090400060007
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: quoted-printable
<html>
<head>
<meta http-equiv=3D"content-type" content=3D"text/html; charset=3Dutf=
-8">
</head>
<body text=3D"#000000" bgcolor=3D"#FFFFFF">
In glade, FileChooserDialog is a top level just like window only I
get this message on the terminal window.<br>
<br>
Gtk-Message: GtkDialog mapped without a transient parent. This is
discouraged.<br>
<br>
Search engines seem to be saying "
<meta http-equiv=3D"content-type" content=3D"text/html; charset=3Dutf=
-8">
<span style=3D"color: rgb(51, 51, 51); font-family: sans-serif;
font-size: medium; font-style: normal; font-variant: normal;
font-weight: normal; letter-spacing: normal; line-height: normal;
orphans: auto; text-align: start; text-indent: 0px;
text-transform: none; white-space: normal; widows: 1;
word-spacing: 0px; -webkit-text-stroke-width: 0px; display: inline
!important; float: none;">You fix this warning by giving the
GtkDialog a parent to be modal to. The relevant functions are<span
class=3D"Apple-converted-space">=C2=A0</span></span><code
style=3D"font-family: monospace, monospace; font-size: medium;
color: rgb(51, 51, 51); font-style: normal; font-variant: normal;
font-weight: normal; letter-spacing: normal; line-height: normal;
orphans: auto; text-align: start; text-indent: 0px;
text-transform: none; white-space: normal; widows: 1;
word-spacing: 0px; -webkit-text-stroke-width: 0px;">gtk_window_set_=
transient_for()</code><span
style=3D"color: rgb(51, 51, 51); font-family: sans-serif; font-size=
:
medium; font-style: normal; font-variant: normal; font-weight:
normal; letter-spacing: normal; line-height: normal; orphans:
auto; text-align: start; text-indent: 0px; text-transform: none;
white-space: normal; widows: 1; word-spacing: 0px;
-webkit-text-stroke-width: 0px; display: inline !important; float:
none;"><span class=3D"Apple-converted-space">=C2=A0</span>(which se=
ts
this window to always be on top of, or<span
class=3D"Apple-converted-space">=C2=A0</span></span><em style=3D"=
color:
rgb(51, 51, 51); font-family: sans-serif; font-size: medium;
font-variant: normal; font-weight: normal; letter-spacing: normal;
line-height: normal; orphans: auto; text-align: start;
text-indent: 0px; text-transform: none; white-space: normal;
widows: 1; word-spacing: 0px; -webkit-text-stroke-width: 0px;">tran=
sient
for</em><span style=3D"color: rgb(51, 51, 51); font-family:
sans-serif; font-size: medium; font-style: normal; font-variant:
normal; font-weight: normal; letter-spacing: normal; line-height:
normal; orphans: auto; text-align: start; text-indent: 0px;
text-transform: none; white-space: normal; widows: 1;
word-spacing: 0px; -webkit-text-stroke-width: 0px; display: inline
!important; float: none;">, another one) and optionally<span
class=3D"Apple-converted-space">=C2=A0</span></span><code
style=3D"font-family: monospace, monospace; font-size: medium;
color: rgb(51, 51, 51); font-style: normal; font-variant: normal;
font-weight: normal; letter-spacing: normal; line-height: normal;
orphans: auto; text-align: start; text-indent: 0px;
text-transform: none; white-space: normal; widows: 1;
word-spacing: 0px; -webkit-text-stroke-width: 0px;">gtk_window_set_=
modal()</code><span
style=3D"color: rgb(51, 51, 51); font-family: sans-serif; font-size=
:
medium; font-style: normal; font-variant: normal; font-weight:
normal; letter-spacing: normal; line-height: normal; orphans:
auto; text-align: start; text-indent: 0px; text-transform: none;
white-space: normal; widows: 1; word-spacing: 0px;
-webkit-text-stroke-width: 0px; display: inline !important; float:
none;"><span class=3D"Apple-converted-space">=C2=A0</span>to make i=
t a
modal dialog. This is ultimately what the various GtkDialog
constructors do.</span>" <br>
<br>
I do have the Glade/TopLevel/General radio button modal clicked and
that keeps it top level ie the calling window's button is not
active.=C2=A0 I think this is the equivalent of window_set_modal?<br>
<br>
Is there a way to fix the above Gtk-Message?=C2=A0 I'm a bit lost and
would prefer to do it all from glade if possible.=C2=A0 Regards Ian.<=
br>
</body>
</html>
--------------060103010009090400060007--
--===============0610711019==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
Glade-users maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/glade-users
--===============0610711019==--