mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-14 06:10:21 +00:00
Implement.
2007-06-04 Richard Hult <richard@imendio.com> * gdk/quartz/gdkwindow-quartz.c: (gdk_window_raise), (gdk_window_raise): Implement. svn path=/trunk/; revision=18037
This commit is contained in:
parent
05e560661f
commit
60be3caaaa
@ -1,3 +1,8 @@
|
|||||||
|
2007-06-04 Richard Hult <richard@imendio.com>
|
||||||
|
|
||||||
|
* gdk/quartz/gdkwindow-quartz.c: (gdk_window_raise),
|
||||||
|
(gdk_window_raise): Implement.
|
||||||
|
|
||||||
2007-06-04 Richard Hult <richard@imendio.com>
|
2007-06-04 Richard Hult <richard@imendio.com>
|
||||||
|
|
||||||
* gdk/quartz/gdkwindow-quartz.c:
|
* gdk/quartz/gdkwindow-quartz.c:
|
||||||
|
@ -1033,16 +1033,36 @@ void
|
|||||||
gdk_window_raise (GdkWindow *window)
|
gdk_window_raise (GdkWindow *window)
|
||||||
{
|
{
|
||||||
g_return_if_fail (GDK_IS_WINDOW (window));
|
g_return_if_fail (GDK_IS_WINDOW (window));
|
||||||
|
|
||||||
/* FIXME: Implement */
|
if (GDK_WINDOW_DESTROYED (window))
|
||||||
|
return;
|
||||||
|
|
||||||
|
/* FIXME: Only supported for toplevels currently. */
|
||||||
|
if (WINDOW_IS_TOPLEVEL (window))
|
||||||
|
{
|
||||||
|
GdkWindowImplQuartz *impl;
|
||||||
|
|
||||||
|
impl = GDK_WINDOW_IMPL_QUARTZ (GDK_WINDOW_OBJECT (window)->impl);
|
||||||
|
[impl->toplevel orderFront:impl->toplevel];
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
gdk_window_lower (GdkWindow *window)
|
gdk_window_lower (GdkWindow *window)
|
||||||
{
|
{
|
||||||
g_return_if_fail (GDK_IS_WINDOW (window));
|
g_return_if_fail (GDK_IS_WINDOW (window));
|
||||||
|
|
||||||
/* FIXME: Implement */
|
if (GDK_WINDOW_DESTROYED (window))
|
||||||
|
return;
|
||||||
|
|
||||||
|
/* FIXME: Only supported for toplevels currently. */
|
||||||
|
if (WINDOW_IS_TOPLEVEL (window))
|
||||||
|
{
|
||||||
|
GdkWindowImplQuartz *impl;
|
||||||
|
|
||||||
|
impl = GDK_WINDOW_IMPL_QUARTZ (GDK_WINDOW_OBJECT (window)->impl);
|
||||||
|
[impl->toplevel orderBack:impl->toplevel];
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
Loading…
Reference in New Issue
Block a user