2
* This file is part of libslab.
4
* Copyright (c) 2006 Novell, Inc.
6
* Libslab is free software; you can redistribute it and/or modify it under the
7
* terms of the GNU Lesser General Public License as published by the Free
8
* Software Foundation; either version 2 of the License, or (at your option)
11
* Libslab is distributed in the hope that it will be useful, but WITHOUT ANY
12
* WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
13
* FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for
16
* You should have received a copy of the GNU Lesser General Public License
17
* along with libslab; if not, write to the Free Software Foundation, Inc., 51
18
* Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
21
#ifndef __SHELL_WINDOW_H__
22
#define __SHELL_WINDOW_H__
26
#include <libgnome/gnome-desktop-item.h>
28
#include <libslab/app-shell.h>
32
#define SHELL_WINDOW_TYPE (shell_window_get_type ())
33
#define SHELL_WINDOW(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), SHELL_WINDOW_TYPE, ShellWindow))
34
#define SHELL_WINDOW_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), SHELL_WINDOW_TYPE, ShellWindowClass))
35
#define IS_SHELL_WINDOW(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), SHELL_WINDOW_TYPE))
36
#define IS_SHELL_WINDOW_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), SHELL_WINDOW_TYPE))
37
#define SHELL_WINDOW_GET_CLASS(obj) (G_TYPE_CHECK_GET_CLASS ((obj), SHELL_WINDOW_TYPE, ShellWindowClass))
39
typedef struct _ShellWindow ShellWindow;
40
typedef struct _ShellWindowClass ShellWindowClass;
47
GtkWidget *_left_pane;
48
GtkWidget *_right_pane;
50
gulong resize_handler_id;
53
struct _ShellWindowClass
55
GtkFrameClass parent_class;
58
GType shell_window_get_type (void);
59
GtkWidget *shell_window_new (AppShellData * app_data);
60
void shell_window_set_contents (ShellWindow * window, GtkWidget * left_pane,
61
GtkWidget * right_pane);
62
void shell_window_clear_resize_handler (ShellWindow * win);
65
#endif /* __SHELL_WINDOW_H__ */