summaryrefslogtreecommitdiff
path: root/src/frames.h
diff options
context:
space:
mode:
authorrhp <rhp>2001-06-15 04:33:21 +0000
committerrhp <rhp>2001-06-15 04:33:21 +0000
commite84267ed3c74952e765d2883c7fb6cff75d6bd39 (patch)
tree0fafff67bcb88b50d3ad6b67d77330f79346c489 /src/frames.h
parented4225fd52a28920975240b288614b4a2c8b70f1 (diff)
downloadmetacity-e84267ed3c74952e765d2883c7fb6cff75d6bd39.tar.gz
metacity-e84267ed3c74952e765d2883c7fb6cff75d6bd39.tar.bz2
...
Diffstat (limited to 'src/frames.h')
-rw-r--r--src/frames.h19
1 files changed, 18 insertions, 1 deletions
diff --git a/src/frames.h b/src/frames.h
index c9c2583..5a263c5 100644
--- a/src/frames.h
+++ b/src/frames.h
@@ -23,6 +23,8 @@
#define META_FRAMES_H
#include <gtk/gtk.h>
+#include <gdk/gdkx.h>
+#include "messages.h"
/* This is one widget that manages all the window frames
* as subwindows.
@@ -38,10 +40,19 @@
typedef struct _MetaFrames MetaFrames;
typedef struct _MetaFramesClass MetaFramesClass;
+typedef struct _MetaFrame MetaFrame;
+typedef struct _MetaFrameProperties MetaFrameProperties;
+
struct _MetaFrames
{
GtkWindow parent_instance;
+ /* If we did a widget per frame, we wouldn't want to cache this. */
+ MetaFrameProperties *props;
+
+ int text_height;
+
+ GHashTable *frames;
};
struct _MetaFramesClass
@@ -55,6 +66,12 @@ GType meta_frames_get_type (void) G_GNUC_CONST;
MetaFrames *meta_frames_new (void);
void meta_frames_manage_window (MetaFrames *frames,
- GdkWindow *window);
+ Window xwindow);
+void meta_frames_unmanage_window (MetaFrames *frames,
+ Window xwindow);
+
+void meta_frames_set_title (MetaFrames *frames,
+ Window xwindow,
+ const char *title);
#endif