Last change
on this file since 2 was 2, checked in by bird, 22 years ago |
Initial revision
|
-
Property cvs2svn:cvs-rev
set to
1.1
-
Property svn:eol-style
set to
native
-
Property svn:executable
set to
*
|
File size:
898 bytes
|
Line | |
---|
1 | // This file was created by `gcjh -stubs'. -*- c++ -*-
|
---|
2 | //
|
---|
3 | // This file is intended to give you a head start on implementing native
|
---|
4 | // methods using CNI.
|
---|
5 | // Be aware: running `gcjh -stubs ' once more for this class may
|
---|
6 | // overwrite any edits you have made to this file.
|
---|
7 |
|
---|
8 | #include <gnu/awt/gtk/GtkWindowPeer.h>
|
---|
9 | #include <gcj/cni.h>
|
---|
10 |
|
---|
11 | #include <gtk/gtk.h>
|
---|
12 |
|
---|
13 | void
|
---|
14 | gnu::awt::gtk::GtkWindowPeer::toBack ()
|
---|
15 | {
|
---|
16 | GDK_THREADS_ENTER ();
|
---|
17 | gdk_window_lower (GTK_WIDGET (ptr)->window);
|
---|
18 | GDK_THREADS_LEAVE ();
|
---|
19 | }
|
---|
20 |
|
---|
21 | void
|
---|
22 | gnu::awt::gtk::GtkWindowPeer::toFront ()
|
---|
23 | {
|
---|
24 | GDK_THREADS_ENTER ();
|
---|
25 | gdk_window_raise (GTK_WIDGET (ptr)->window);
|
---|
26 | GDK_THREADS_LEAVE ();
|
---|
27 | }
|
---|
28 |
|
---|
29 | void
|
---|
30 | gnu::awt::gtk::GtkWindowPeer::create ()
|
---|
31 | {
|
---|
32 | if (ptr == NULL)
|
---|
33 | {
|
---|
34 | GDK_THREADS_ENTER ();
|
---|
35 | ptr = (gnu::gcj::RawData *) gtk_window_new(GTK_WINDOW_POPUP);
|
---|
36 | GDK_THREADS_LEAVE ();
|
---|
37 | }
|
---|
38 |
|
---|
39 | gnu::awt::gtk::GtkContainerPeer::create();
|
---|
40 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.