You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

85 lines
2.1 KiB

/* vim: set expandtab ts=8 sw=4: */
/* $Id$
*
* Copyright (c) 2003 Andre Lerche <a.lerche@gmx.net>
* Copyright (c) 2003 Benedikt Meurer <benedikt.meurer@unix-ag.uni-siegen.de>
* Copyright (c) 2006 Jani Monoses <jani@ubuntu.com>
* Copyright (c) 2006 Jasper Huijsmans <jasper@xfce.org>
* Copyright (c) 2006 Nick Schermer <nick@xfce.org>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU Library General Public License as published
* by the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* 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 Library General Public License for more details.
*
* You should have received a copy of the GNU Library General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
#ifndef _WINDOWLIST_H
#define _WINDOWLIST_H
#include <libwnck/libwnck.h>
#include <libxfcegui4/libxfcegui4.h>
#include <libxfce4panel/xfce-panel-plugin.h>
#include <gtk/gtk.h>
typedef enum
{
ICON_BUTTON,
ARROW_BUTTON,
}
ButtonLayout;
typedef enum
{
DISABLED,
OTHER_WORKSPACES,
ALL_WORKSPACES,
}
UrgencyNotify;
typedef struct
{
XfcePanelPlugin *plugin;
/* Widget stuff */
GtkWidget *button;
GtkWidget *icon;
GtkArrowType arrowtype;
GtkTooltips *tooltips;
WnckScreen *screen;
guint screen_callback_id;
/* Settings */
ButtonLayout layout;
guint show_all_workspaces : 1;
guint show_window_icons : 1;
guint show_workspace_actions : 1;
UrgencyNotify notify;
/* Blink button stuff */
guint search_timeout_id;
guint blink_timeout_id;
guint blink : 1;
guint block_blink : 1;
}
Windowlist;
void
windowlist_start_blink (Windowlist * wl);
void
windowlist_create_button (Windowlist * wl);
#endif /* _WINDOWLIST_H */