/usr/include/libgnomeui-2.0/libgnomeui/gnome-druid-page-edge.h is in libgnomeui-dev 2.24.5-3.2.
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 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 | /* gnome-druid-page-edge.h
* Copyright (C) 1999 Red Hat, Inc.
*
* All rights reserved.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
* License as published by the Free Software Foundation; either
* version 2 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Library General Public License for more details.
*
* You should have received a copy of the GNU Library General Public
* License along with this library; if not, write to the
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
* Boston, MA 02111-1307, USA.
*/
/*
@NOTATION@
*/
#ifndef __GNOME_DRUID_PAGE_EDGE_H__
#define __GNOME_DRUID_PAGE_EDGE_H__
#ifndef GNOME_DISABLE_DEPRECATED
#include <gtk/gtk.h>
#include <libgnomecanvas/gnome-canvas.h>
#include "gnome-druid-page.h"
G_BEGIN_DECLS
#define GNOME_TYPE_DRUID_PAGE_EDGE (gnome_druid_page_edge_get_type ())
#define GNOME_DRUID_PAGE_EDGE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GNOME_TYPE_DRUID_PAGE_EDGE, GnomeDruidPageEdge))
#define GNOME_DRUID_PAGE_EDGE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GNOME_TYPE_DRUID_PAGE_EDGE, GnomeDruidPageEdgeClass))
#define GNOME_IS_DRUID_PAGE_EDGE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GNOME_TYPE_DRUID_PAGE_EDGE))
#define GNOME_IS_DRUID_PAGE_EDGE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GNOME_TYPE_DRUID_PAGE_EDGE))
#define GNOME_DRUID_PAGE_EDGE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GNOME_TYPE_DRUID_PAGE_EDGE, GnomeDruidPageEdgeClass))
/**
* GnomeEdgePosition:
* @GNOME_EDGE_START: The current page is at the beginning of the druid.
* @GNOME_EDGE_FINISH: The current page is at the end of the druid.
* @GNOME_EDGE_OTHER: The current page is neither the first nor the last page
* (usually not required).
* @GNOME_EDGE_LAST: Used internally to indicate the last value of the
* enumeration. This should not be passed in to any function expecting a
* #GnomeEdgePosition value.
*
* Used to pass around information about the position of a #GnomeDruidPage
* within the overall #GnomeDruid. This enables the correct "surrounding"
* content for the page to be drawn.
*/
typedef enum {
/* update structure when adding enums */
GNOME_EDGE_START,
GNOME_EDGE_FINISH,
GNOME_EDGE_OTHER,
GNOME_EDGE_LAST /* for counting purposes */
} GnomeEdgePosition;
typedef struct _GnomeDruidPageEdge GnomeDruidPageEdge;
typedef struct _GnomeDruidPageEdgePrivate GnomeDruidPageEdgePrivate;
typedef struct _GnomeDruidPageEdgeClass GnomeDruidPageEdgeClass;
/**
* GnomeDruidPageEdge:
* @title: The current title of the displayed page.
* @text: The current text of the displayed page.
* @logo_image: The logo of the displayed page.
* @watermark_image: The watermark on the left side of the displayed page.
* @top_watermark_image: The watermark on the top of the displayed page.
* @background_color: The color of the edge of the current page (outside the
* text area).
* @textbox_color: The color of the textbox area of the displayed page.
* @logo_background_color: The background color of the displayed page's logo.
* @title_color: The color of the title text.
* @text_color: The color of the body text.
* @position: The position of the current page within the druid (a
* #GnomeEdgePosition value).
*
* A widget holding information about the overall look of the currently
* displaying druid page.
*/
struct _GnomeDruidPageEdge
{
GnomeDruidPage parent;
/*< public >*/
gchar *title;
gchar *text;
GdkPixbuf *logo_image;
GdkPixbuf *watermark_image;
GdkPixbuf *top_watermark_image;
GdkColor background_color;
GdkColor textbox_color;
GdkColor logo_background_color;
GdkColor title_color;
GdkColor text_color;
guint position : 2; /* GnomeEdgePosition */
/*< private >*/
GnomeDruidPageEdgePrivate *_priv;
};
struct _GnomeDruidPageEdgeClass
{
GnomeDruidPageClass parent_class;
/* Padding for possible expansion */
gpointer padding1;
gpointer padding2;
};
GType gnome_druid_page_edge_get_type (void) G_GNUC_CONST;
GtkWidget *gnome_druid_page_edge_new (GnomeEdgePosition position);
GtkWidget *gnome_druid_page_edge_new_aa (GnomeEdgePosition position);
GtkWidget *gnome_druid_page_edge_new_with_vals (GnomeEdgePosition position,
gboolean antialiased,
const gchar *title,
const gchar *text,
GdkPixbuf *logo,
GdkPixbuf *watermark,
GdkPixbuf *top_watermark);
void gnome_druid_page_edge_construct (GnomeDruidPageEdge *druid_page_edge,
GnomeEdgePosition position,
gboolean antialiased,
const gchar *title,
const gchar *text,
GdkPixbuf *logo,
GdkPixbuf *watermark,
GdkPixbuf *top_watermark);
void gnome_druid_page_edge_set_bg_color (GnomeDruidPageEdge *druid_page_edge,
GdkColor *color);
void gnome_druid_page_edge_set_textbox_color (GnomeDruidPageEdge *druid_page_edge,
GdkColor *color);
void gnome_druid_page_edge_set_logo_bg_color (GnomeDruidPageEdge *druid_page_edge,
GdkColor *color);
void gnome_druid_page_edge_set_title_color (GnomeDruidPageEdge *druid_page_edge,
GdkColor *color);
void gnome_druid_page_edge_set_text_color (GnomeDruidPageEdge *druid_page_edge,
GdkColor *color);
void gnome_druid_page_edge_set_text (GnomeDruidPageEdge *druid_page_edge,
const gchar *text);
void gnome_druid_page_edge_set_title (GnomeDruidPageEdge *druid_page_edge,
const gchar *title);
void gnome_druid_page_edge_set_logo (GnomeDruidPageEdge *druid_page_edge,
GdkPixbuf *logo_image);
void gnome_druid_page_edge_set_watermark (GnomeDruidPageEdge *druid_page_edge,
GdkPixbuf *watermark);
void gnome_druid_page_edge_set_top_watermark (GnomeDruidPageEdge *druid_page_edge,
GdkPixbuf *top_watermark_image);
G_END_DECLS
#endif /* GNOME_DISABLE_DEPRECATED */
#endif /* __GNOME_DRUID_PAGE_EDGE_H__ */
|