File: monitor-label.h

package info (click to toggle)
xfce4-netload-plugin 1.4.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,656 kB
  • sloc: sh: 4,348; ansic: 2,598; makefile: 111
file content (33 lines) | stat: -rw-r--r-- 1,573 bytes parent folder | download
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
/*
 * Copyright (c) 2012 Mike Massonnet <mmassonnet@xfce.org>
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 *
 * See the file COPYING for the full license text.
 */

#ifndef MONITOR_LABEL_H
#define MONITOR_LABEL_H

#include <glib-object.h>
#include <gtk/gtk.h>

#define XNLP_TYPE_MONITOR_LABEL              (xnlp_monitor_label_get_type ())
#define XNLP_MONITOR_LABEL(obj)              (G_TYPE_CHECK_INSTANCE_CAST ((obj), XNLP_TYPE_MONITOR_LABEL, XnlpMonitorLabel))
#define XNLP_MONITOR_LABEL_CLASS(klass)      (G_TYPE_CHECK_CLASS_CAST ((klass), XNLP_TYPE_MONITOR_LABEL, XnlpMonitorLabelClass))
#define XNLP_IS_MONITOR_LABEL(obj)           (G_TYPE_CHECK_INSTANCE_TYPE ((obj), XNLP_TYPE_MONITOR_LABEL))
#define XNLP_IS_MONITOR_LABEL_CLASS(klass)   (G_TYPE_CHECK_CLASS_TYPE ((klass), XNLP_TYPE_MONITOR_LABEL))
#define XNLP_MONITOR_LABEL_GET_CLASS(obj)    (G_TYPE_INSTANCE_GET_CLASS ((obj), XNLP_TYPE_MONITOR_LABEL, XnlpMonitorLabelClass))

typedef struct _XnlpMonitorLabel XnlpMonitorLabel;

GType           xnlp_monitor_label_get_type                  (void);
GtkWidget *     xnlp_monitor_label_new                       (const gchar *str);
void            xnlp_monitor_label_reinit_size_request       (XnlpMonitorLabel *label);
void            xnlp_monitor_label_set_color                 (XnlpMonitorLabel *label, GdkRGBA* color);

#endif /* !MONITOR_LABEL_H */