/usr/include/vala-panel/panel-platform.h is in libvalapanel-dev 0.3.65-0ubuntu1.
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 | /*
* vala-panel
* Copyright (C) 2015-2017 Konstantin Pugin <ria.freelander@gmail.com>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program 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 General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef PANELPOSITIONIFACE_H
#define PANELPOSITIONIFACE_H
#include <glib-object.h>
#include <gtk/gtk.h>
#include <stdbool.h>
#include "constants.h"
#include "settings-manager.h"
G_BEGIN_DECLS
G_DECLARE_DERIVABLE_TYPE(ValaPanelPlatform, vala_panel_platform, VALA_PANEL, PLATFORM, GObject)
typedef enum {
NORTH_LEFT = 0,
NORTH_CENTER = 1,
NORTH_RIGHT = 2,
SOUTH_LEFT = 3,
SOUTH_CENTER = 4,
SOUTH_RIGHT = 5,
WEST_UP = 6,
WEST_CENTER = 7,
WEST_DOWN = 8,
EAST_UP = 9,
EAST_CENTER = 10,
EAST_DOWN = 11
} PanelGravity;
typedef enum {
XXS = 16,
XS = 22,
S = 24,
M = 32,
L = 48,
XL = 96,
XXL = 128,
XXXL = 256
} PanelIconSizeHints;
typedef enum {
AH_HIDDEN,
AH_WAITING,
AH_GRAB,
AH_VISIBLE,
} PanelAutohideState;
struct _ValaPanelPlatformClass
{
GObjectClass __parent__;
/*loading*/
bool (*start_panels_from_profile)(ValaPanelPlatform *self, GtkApplication *app,
const char *profile);
/*struts*/
bool (*can_strut)(ValaPanelPlatform *f, GtkWindow *top);
void (*update_strut)(ValaPanelPlatform *f, GtkWindow *top);
/*positioning requests*/
void (*move_to_coords)(ValaPanelPlatform *f, GtkWindow *top, int x, int y);
void (*move_to_side)(ValaPanelPlatform *f, GtkWindow *top, PanelGravity alloc, int monitor);
/*GSettings management*/
gpointer padding[12];
};
bool vala_panel_platform_start_panels_from_profile(ValaPanelPlatform *self, GtkApplication *app,
const char *profile);
bool vala_panel_platform_init_settings(ValaPanelPlatform *self, GSettingsBackend *backend);
bool vala_panel_platform_init_settings_full(ValaPanelPlatform *self, const char *schema,
const char *path, GSettingsBackend *backend);
ValaPanelCoreSettings *vala_panel_platform_get_settings(ValaPanelPlatform *self);
bool vala_panel_platform_can_strut(ValaPanelPlatform *f, GtkWindow *top);
void vala_panel_platform_update_strut(ValaPanelPlatform *f, GtkWindow *top);
void vala_panel_platform_move_to_coords(ValaPanelPlatform *f, GtkWindow *top, int x, int y);
void vala_panel_platform_move_to_side(ValaPanelPlatform *f, GtkWindow *top, PanelGravity alloc,
int monitor);
G_END_DECLS
#endif // PANELPOSITIONIFACE_H
|