~cairo-dock-team/cairo-dock-plug-ins/plug-ins

« back to all changes in this revision

Viewing changes to systray/src/gtk3/fixedtip.h

  • Committer: Matthieu Baerts
  • Date: 2014-10-19 00:26:10 UTC
  • Revision ID: matttbe@gmail.com-20141019002610-ulf26s9b4c4rw10r
We just switched from BZR to Git.
Follow us on Github: https://github.com/Cairo-Dock

Note: we will only use Github to manage our source code and all pull requests.
Please continue to report your bugs/ideas/messages on our forum or Launchpad! 

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* Fixed tooltip routine */
2
 
 
3
 
/* 
4
 
 * Copyright (C) 2001 Havoc Pennington, 2002 Red Hat Inc.
5
 
 * Copyright (C) 2003-2006 Vincent Untz
6
 
 * 
7
 
 * This program is free software; you can redistribute it and/or
8
 
 * modify it under the terms of the GNU General Public License as
9
 
 * published by the Free Software Foundation; either version 2 of the
10
 
 * License, or (at your option) any later version.
11
 
 *
12
 
 * This program is distributed in the hope that it will be useful, but
13
 
 * WITHOUT ANY WARRANTY; without even the implied warranty of
14
 
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
15
 
 * General Public License for more details.
16
 
 * 
17
 
 * You should have received a copy of the GNU General Public License
18
 
 * along with this program; if not, write to the Free Software
19
 
 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
20
 
 * 02111-1307, USA.
21
 
 */
22
 
 
23
 
#ifndef FIXED_TIP_H
24
 
#define FIXED_TIP_H
25
 
 
26
 
#include <gtk/gtk.h>
27
 
 
28
 
G_BEGIN_DECLS
29
 
 
30
 
#define NA_TYPE_FIXED_TIP                       (na_fixed_tip_get_type ())
31
 
#define NA_FIXED_TIP(obj)                       (G_TYPE_CHECK_INSTANCE_CAST ((obj), NA_TYPE_FIXED_TIP, NaFixedTip))
32
 
#define NA_FIXED_TIP_CLASS(klass)               (G_TYPE_CHECK_CLASS_CAST ((klass), NA_TYPE_FIXED_TIP, NaFixedTipClass))
33
 
#define NA_IS_FIXED_TIP(obj)                    (G_TYPE_CHECK_INSTANCE_TYPE ((obj), NA_TYPE_FIXED_TIP))
34
 
#define NA_IS_FIXED_TIP_CLASS(klass)            (G_TYPE_CHECK_CLASS_TYPE ((klass), NA_TYPE_FIXED_TIP))
35
 
#define NA_FIXED_TIP_GET_CLASS(obj)             (G_TYPE_INSTANCE_GET_CLASS ((obj), NA_TYPE_FIXED_TIP, NaFixedTipClass))
36
 
 
37
 
typedef struct _NaFixedTip        NaFixedTip;
38
 
typedef struct _NaFixedTipPrivate NaFixedTipPrivate;
39
 
typedef struct _NaFixedTipClass   NaFixedTipClass;
40
 
 
41
 
struct _NaFixedTip
42
 
{
43
 
  GtkWindow parent_instance;
44
 
 
45
 
  NaFixedTipPrivate *priv;
46
 
};
47
 
 
48
 
struct _NaFixedTipClass
49
 
{
50
 
  GtkWindowClass parent_class;
51
 
 
52
 
  void (* clicked)    (NaFixedTip *fixedtip);
53
 
};
54
 
 
55
 
GType      na_fixed_tip_get_type (void);
56
 
 
57
 
GtkWidget *na_fixed_tip_new (GtkWidget      *parent,
58
 
                             GtkOrientation  orientation);
59
 
 
60
 
void       na_fixed_tip_set_markup (GtkWidget  *widget,
61
 
                                    const char *markup_text);
62
 
 
63
 
void       na_fixed_tip_set_orientation (GtkWidget      *widget,
64
 
                                         GtkOrientation  orientation);
65
 
 
66
 
G_END_DECLS
67
 
 
68
 
#endif /* FIXED_TIP_H */