File: gwwvmenubar.h

package info (click to toggle)
fontforge 1:20170731~dfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 67,252 kB
  • ctags: 42,582
  • sloc: ansic: 580,893; python: 5,476; sh: 3,081; makefile: 1,269; perl: 315; cpp: 176; ruby: 97; objc: 92; xml: 90; sed: 9
file content (49 lines) | stat: -rw-r--r-- 1,307 bytes parent folder | download | duplicates (3)
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
48
49
#ifndef __GWW_VMENU_BAR_H__
#define __GWW_VMENU_BAR_H__

#include <gtk/gtk.h>

#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */



#define	GWW_TYPE_VMENU_BAR               (gww_vmenu_bar_get_type ())
#define GWW_VMENU_BAR(obj)               (G_TYPE_CHECK_INSTANCE_CAST ((obj), GWW_TYPE_VMENU_BAR, GwwVMenuBar))
#define GWW_VMENU_BAR_CLASS(klass)       (G_TYPE_CHECK_CLASS_CAST ((klass), GWW_TYPE_VMENU_BAR, GwwVMenuBarClass))
#define GWW_IS_VMENU_BAR(obj)            (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GWW_TYPE_VMENU_BAR))
#define GWW_IS_VMENU_BAR_CLASS(klass)    (G_TYPE_CHECK_CLASS_TYPE ((klass), GWW_TYPE_VMENU_BAR))
#define GWW_VMENU_BAR_GET_CLASS(obj)     (G_TYPE_INSTANCE_GET_CLASS ((obj), GWW_TYPE_VMENU_BAR, GwwVMenuBarClass))


typedef struct _GwwVMenuBar       GwwVMenuBar;
typedef struct _GwwVMenuBarClass  GwwVMenuBarClass;

struct _GwwVMenuBar
{
  GtkMenuBar menu_bar;

  GtkWidget *extra_arrow;
  GtkWidget *extra_menu;

  GList *children;
  gint   child_last;		/* Last child currently visible */
  guint  extra_active: 1;
};

struct _GwwVMenuBarClass
{
  GtkMenuBarClass parent_class;
};


GType      gww_vmenu_bar_get_type        (void) G_GNUC_CONST;
GtkWidget* gww_vmenu_bar_new             (void);

#ifdef __cplusplus
}
#endif /* __cplusplus */


#endif /* __GWW_VMENU_BAR_H__ */