Desktop

/* $Id: window.h,v 1.5 2011/12/23 15:24:35 khorben Exp $ */
/* Copyright (c) 2011 Pierre Pronchery <khorben@defora.org> */
/* This file is part of DeforaOS Desktop Panel */
/* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, version 3 of the License.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>. */
#ifndef PANEL_WINDOW_H
# define PANEL_WINDOW_H
# include "panel.h"
/* PanelWindow */
/* types */
typedef struct _PanelWindow PanelWindow;
/* functions */
PanelWindow * panel_window_new(PanelPosition position,
PanelAppletHelper * helper, GdkRectangle * root);
void panel_window_delete(PanelWindow * panel);
/* accessors */
int panel_window_get_height(PanelWindow * panel);
void panel_window_set_accept_focus(PanelWindow * panel, gboolean accept);
void panel_window_set_keep_above(PanelWindow * panel, gboolean keep);
/* useful */
void panel_window_append(PanelWindow * panel, GtkWidget * widget,
gboolean expand, gboolean fill);
void panel_window_reset(PanelWindow * panel, PanelPosition position,
GdkRectangle * root);
void panel_window_show(PanelWindow * panel, gboolean show);
#endif /* !PANEL_WINDOW_H */