Files
sysprof/src/libsysprof-ui/egg-three-grid.h
Christian Hergert 48d8b3da8e libsysprof-ui: add EggThreeGrid
So we can drop our use from libdazzle. We'll need to port this to GTK 4
but it shouldn't be too bad.
2022-04-01 13:14:51 -07:00

46 lines
1.3 KiB
C

/* egg-three-grid.h
*
* Copyright (C) 2016 Christian Hergert <chergert@redhat.com>
*
* 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 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 General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#pragma once
#include <gtk/gtk.h>
G_BEGIN_DECLS
#define EGG_TYPE_THREE_GRID (egg_three_grid_get_type())
#define EGG_TYPE_THREE_GRID_COLUMN (egg_three_grid_column_get_type())
G_DECLARE_DERIVABLE_TYPE (EggThreeGrid, egg_three_grid, EGG, THREE_GRID, GtkContainer)
struct _EggThreeGridClass
{
GtkContainerClass parent_class;
};
typedef enum
{
EGG_THREE_GRID_COLUMN_LEFT,
EGG_THREE_GRID_COLUMN_CENTER,
EGG_THREE_GRID_COLUMN_RIGHT
} EggThreeGridColumn;
GType egg_three_grid_column_get_type (void);
GtkWidget *egg_three_grid_new (void);
G_END_DECLS