/usr/include/libgladeui-1.0/gladeui/glade-custom.h is in libgladeui-1-dev 3.8.0-0ubuntu6.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 50 51 52 53 54 55 56 57 58 59 60 61 62 | /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
#ifndef __GLADE_CUSTOM_H__
#define __GLADE_CUSTOM_H__
#include <gladeui/glade.h>
#include <gtk/gtk.h>
G_BEGIN_DECLS
#define GLADE_TYPE_CUSTOM (custom_get_type ())
#define GLADE_CUSTOM(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GLADE_TYPE_CUSTOM, GladeCustom))
#define GLADE_CUSTOM_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GLADE_TYPE_CUSTOM, GladeCustomClass))
#define GLADE_IS_CUSTOM(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GLADE_TYPE_CUSTOM))
#define GLADE_IS_CUSTOM_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GLADE_TYPE_CUSTOM))
#define GLADE_CUSTOM_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GLADE_TYPE_CUSTOM, GladeCustomClass))
#define GLADE_CUSTOM_WIDTH_REQ 20
#define GLADE_CUSTOM_HEIGHT_REQ 20
/* taken from glade 2 */
static char * custom_xpm[] = {
"8 8 4 1",
" c None",
". c #BBBBBB",
"+ c #D6D6D6",
"@ c #6B5EFF",
".+..+...",
"+..@@@..",
"..@...++",
"..@...++",
"+.@..+..",
".++@@@..",
"..++....",
"..++...."};
typedef struct _GladeCustom GladeCustom;
typedef struct _GladeCustomClass GladeCustomClass;
struct _GladeCustom
{
GtkWidget widget;
GdkPixmap *custom_pixmap;
};
struct _GladeCustomClass
{
GtkWidgetClass parent_class;
};
/* Since the class is called Custom and not GladeCustom,
* glade-widget-class will search for custom_get_type() instead
* if glade_custom_get_type()
*/
GType custom_get_type (void) G_GNUC_CONST;
G_END_DECLS
#endif /* __GLADE_CUSTOM_H__ */
|