2
* panel-user-menu.h: user status menu
4
* Copyright (C) 2003 Sun Microsystems, Inc.
6
* This program is free software; you can redistribute it and/or
7
* modify it under the terms of the GNU General Public License as
8
* published by the Free Software Foundation; either version 2 of the
9
* License, or (at your option) any later version.
11
* This program is distributed in the hope that it will be useful, but
12
* WITHOUT ANY WARRANTY; without even the implied warranty of
13
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14
* General Public License for more details.
16
* You should have received a copy of the GNU General Public License
17
* along with this program; if not, write to the Free Software
18
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
22
* Mark McLoughlin <mark@skynet.ie>
25
#ifndef __PANEL_USER_MENU_H__
26
#define __PANEL_USER_MENU_H__
30
#include "panel-menu-bar-object.h"
31
#include "panel-widget.h"
35
#define PANEL_TYPE_USER_MENU (panel_user_menu_get_type ())
36
#define PANEL_USER_MENU(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), PANEL_TYPE_USER_MENU, PanelUserMenu))
37
#define PANEL_USER_MENU_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), PANEL_TYPE_USER_MENU, PanelUserMenuClass))
38
#define PANEL_IS_USER_MENU(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), PANEL_TYPE_USER_MENU))
39
#define PANEL_IS_USER_MENU_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), PANEL_TYPE_USER_MENU))
40
#define PANEL_USER_MENU_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), PANEL_TYPE_USER_MENU, PanelUserMenuClass))
42
typedef struct _PanelUserMenu PanelUserMenu;
43
typedef struct _PanelUserMenuClass PanelUserMenuClass;
44
typedef struct _PanelUserMenuPrivate PanelUserMenuPrivate;
46
struct _PanelUserMenu{
47
PanelMenuBarObject usermenu;
49
PanelUserMenuPrivate *priv;
52
struct _PanelUserMenuClass {
53
PanelMenuBarObjectClass usermenu_class;
56
GType panel_user_menu_get_type (void) G_GNUC_CONST;
58
void panel_user_menu_create (PanelToplevel *toplevel,
59
PanelObjectPackType pack_type,
62
void panel_user_menu_load (PanelWidget *panel,
68
#endif /* __PANEL_USER_MENU_H__ */