/usr/include/gpe/gpetimesel.h is in libgpewidget-dev 0.117-4.
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 | /*
* Copyright (C) 2002, 2003, 2006 Philip Blundell <philb@gnu.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.
*/
#ifndef GPE_TIME_SEL_H
#define GPE_TIME_SEL_H
#include <gtk/gtk.h>
#include <glib-object.h>
#define GPE_TYPE_TIME_SEL (gpe_time_sel_get_type ())
#define GPE_TIME_SEL(obj) G_TYPE_CHECK_INSTANCE_CAST ((obj), gpe_time_sel_get_type(), GpeTimeSel)
#define GPE_IS_TIME_SEL(obj) G_TYPE_CHECK_INSTANCE_TYPE ((obj), gpe_time_sel_get_type ())
struct _GpeTimeSel
{
GtkHBox hbox;
GtkObject *hour_adj, *minute_adj;
GtkWidget *hour_spin, *minute_spin;
GtkWidget *label;
GtkWidget *button;
GtkWidget *popup;
GtkWidget *clock;
gboolean changing_time;
GtkWidget *hour_edit, *minute_edit;
GtkWidget *p_hbox;
gboolean dragging;
gboolean editing;
};
/**
* GpeTimeSel:
*
* Time selection widget container.
*/
typedef struct _GpeTimeSel GpeTimeSel;
typedef struct _GpeTimeSelClass GpeTimeSelClass;
GtkType gpe_time_sel_get_type (void);
GtkWidget *gpe_time_sel_new ();
void gpe_time_sel_get_time (GpeTimeSel *sel, guint *hour, guint *minute);
void gpe_time_sel_set_time (GpeTimeSel *sel, guint hour, guint minute);
#endif
|