~ubuntu-branches/ubuntu/trusty/gnome-contacts/trusty

« back to all changes in this revision

Viewing changes to libgd/libgd/gd-revealer.h

  • Committer: Package Import Robot
  • Author(s): Michael Biebl, Jeremy Bicha, Michael Biebl
  • Date: 2013-09-19 18:23:06 UTC
  • mfrom: (1.3.10) (0.3.4 experimental)
  • mto: This revision was merged to the branch mainline in revision 40.
  • Revision ID: package-import@ubuntu.com-20130919182306-rcatwotzg94pr884
Tags: 3.8.3-1
[ Jeremy Bicha ]
* debian/control.in:
  - Drop alternate build-depends on valac-0.18 since it's no longer
    in Debian

[ Michael Biebl ]
* New upstream release.
* Loosen Build-Depends on libgnome-desktop-3-dev, we do not strictly require
  version (>= 3.6.0) which is not yet available in unstable.
* Bump Standards-Version to 3.9.4. No further changes.
* Upload to unstable.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * Copyright (c) 2013 Red Hat, Inc.
 
3
 *
 
4
 * This program is free software; you can redistribute it and/or modify
 
5
 * it under the terms of the GNU Lesser General Public License as published by 
 
6
 * the Free Software Foundation; either version 2 of the License, or (at your
 
7
 * option) any later version.
 
8
 *
 
9
 * This program is distributed in the hope that it will be useful, but
 
10
 * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
 
11
 * or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Lesser General Public 
 
12
 * License for more details.
 
13
 *
 
14
 * You should have received a copy of the GNU Lesser General Public License 
 
15
 * along with this program; if not, write to the Free Software Foundation,
 
16
 * Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 
17
 *
 
18
 * Author: Alexander Larsson <alexl@redhat.com>
 
19
 *
 
20
 */
 
21
 
 
22
#ifndef __GD_REVEALER_H__
 
23
#define __GD_REVEALER_H__
 
24
 
 
25
#include <gtk/gtk.h>
 
26
 
 
27
G_BEGIN_DECLS
 
28
 
 
29
 
 
30
#define GD_TYPE_REVEALER (gd_revealer_get_type ())
 
31
#define GD_REVEALER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GD_TYPE_REVEALER, GdRevealer))
 
32
#define GD_REVEALER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GD_TYPE_REVEALER, GdRevealerClass))
 
33
#define GD_IS_REVEALER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GD_TYPE_REVEALER))
 
34
#define GD_IS_REVEALER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GD_TYPE_REVEALER))
 
35
#define GD_REVEALER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GD_TYPE_REVEALER, GdRevealerClass))
 
36
 
 
37
typedef struct _GdRevealer GdRevealer;
 
38
typedef struct _GdRevealerClass GdRevealerClass;
 
39
typedef struct _GdRevealerPrivate GdRevealerPrivate;
 
40
 
 
41
struct _GdRevealer {
 
42
  GtkBin parent_instance;
 
43
  GdRevealerPrivate * priv;
 
44
};
 
45
 
 
46
struct _GdRevealerClass {
 
47
  GtkBinClass parent_class;
 
48
};
 
49
 
 
50
 
 
51
GType          gd_revealer_get_type           (void) G_GNUC_CONST;
 
52
GtkWidget*     gd_revealer_new                (void);
 
53
gboolean       gd_revealer_get_reveal_child   (GdRevealer     *revealer);
 
54
void           gd_revealer_set_reveal_child   (GdRevealer     *revealer,
 
55
                                               gboolean        setting);
 
56
GtkOrientation gd_revealer_get_orientation    (GdRevealer     *revealer);
 
57
void           gd_revealer_set_orientation    (GdRevealer     *revealer,
 
58
                                               GtkOrientation  value);
 
59
gint           gd_revealer_get_duration       (GdRevealer     *revealer);
 
60
void           gd_revealer_set_duration       (GdRevealer     *revealer,
 
61
                                               gint            duration_msec);
 
62
 
 
63
gboolean       gd_revealer_get_child_revealed (GdRevealer     *revealer);
 
64
 
 
65
G_END_DECLS
 
66
 
 
67
#endif