File: noop-toggle.h

package info (click to toggle)
ggobi 2.1.9~20091212-3
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 19,340 kB
  • ctags: 5,083
  • sloc: ansic: 57,242; xml: 30,604; cpp: 833; makefile: 355; java: 225; perl: 201; sh: 122; python: 23
file content (30 lines) | stat: -rw-r--r-- 1,192 bytes parent folder | download | duplicates (6)
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
/*-- noop-toggle.h --*/

#ifndef _INC_NOOP_TOGGLE_BUTTON_H
#define _INC_NOOP_TOGGLE_BUTTON_H

#include <gtk/gtk.h>
#include <gtk/gtktogglebutton.h>

typedef struct _GGobiNoopToggleButton GGobiNoopToggleButton;
typedef struct _GGobiNoopToggleButtonClass GGobiNoopToggleButtonClass;

struct _GGobiNoopToggleButton {
  GtkToggleButton parent;
};

struct _GGobiNoopToggleButtonClass {
  GtkToggleButtonClass parent_class;
};

#define GGOBI_TYPE_NOOP_TOGGLE_BUTTON (ggobi_noop_toggle_button_get_type())
#define GGOBI_NOOP_TOGGLE_BUTTON(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj),GGOBI_TYPE_NOOP_TOGGLE_BUTTON,GGobiNoopToggleButton))
#define GGOBI_NOOP_TOGGLE_BUTTON_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass),GGOBI_TYPE_NOOP_TOGGLE_BUTTON,GGobiNoopToggleButtonClass))
#define GGOBI_IS_NOOP_TOGGLE_BUTTON(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), GGOBI_TYPE_NOOP_TOGGLE_BUTTON))
#define GGOBI_IS_NOOP_TOGGLE_BUTTON_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), GGOBI_TYPE_NOOP_TOGGLE_BUTTON))

GType ggobi_noop_toggle_button_get_type(void);
GtkWidget* ggobi_noop_toggle_button_new(void);
GtkWidget* ggobi_noop_toggle_button_new_with_label(const gchar *label);

#endif /* _INC_NOOP_TOGGLE_BUTTON_H */