File: panel-xfconf.h

package info (click to toggle)
xfce4-panel 4.16.2-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 11,696 kB
  • sloc: ansic: 42,886; sh: 4,314; makefile: 1,206; xml: 178; perl: 101
file content (47 lines) | stat: -rw-r--r-- 1,742 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
/*
 * Copyright (C) 2009-2010 Nick Schermer <nick@xfce.org>
 *
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public
 * License as published by the Free Software Foundation; either
 * version 2.1 of the License, or (at your option) any later version.
 *
 * This library 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
 * Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public
 * License along with this library; if not, write to the Free Software
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
 */

#ifndef __PANEL_XFCONF_H__
#define __PANEL_XFCONF_H__

#include <xfconf/xfconf.h>



typedef struct _PanelProperty PanelProperty;
struct _PanelProperty
{
  const gchar *property;
  GType        type;
};



XfconfChannel *panel_properties_get_channel          (GObject             *object_for_weak_ref);

void           panel_properties_bind                 (XfconfChannel       *channel,
                                                      GObject             *object,
                                                      const gchar         *property_base,
                                                      const PanelProperty *properties,
                                                      gboolean             save_properties);

void           panel_properties_unbind               (GObject             *object);

GType          panel_properties_value_array_get_type (void) G_GNUC_CONST;

#endif /* !__PANEL_XFCONF_H__ */