gtk/gtk/gtkcolumnviewcell.h
2023-11-15 23:00:41 +00:00

55 lines
2.2 KiB
C

/*
* Copyright © 2023 Benjamin Otte
*
* This library 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 2.1 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
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library. If not, see <http://www.gnu.org/licenses/>.
*
* Authors: Benjamin Otte <otte@gnome.org>
*/
#pragma once
#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION)
#error "Only <gtk/gtk.h> can be included directly."
#endif
#include <gtk/gtktypes.h>
#include <gtk/gtklistitem.h>
G_BEGIN_DECLS
#define GTK_TYPE_COLUMN_VIEW_CELL (gtk_column_view_cell_get_type ())
GDK_AVAILABLE_IN_4_12
GDK_DECLARE_INTERNAL_TYPE(GtkColumnViewCell, gtk_column_view_cell, GTK, COLUMN_VIEW_CELL, GtkListItem)
GDK_AVAILABLE_IN_4_12
gpointer gtk_column_view_cell_get_item (GtkColumnViewCell *self);
GDK_AVAILABLE_IN_4_12
guint gtk_column_view_cell_get_position (GtkColumnViewCell *self) G_GNUC_PURE;
GDK_AVAILABLE_IN_4_12
gboolean gtk_column_view_cell_get_selected (GtkColumnViewCell *self) G_GNUC_PURE;
GDK_AVAILABLE_IN_4_12
gboolean gtk_column_view_cell_get_focusable (GtkColumnViewCell *self) G_GNUC_PURE;
GDK_AVAILABLE_IN_4_12
void gtk_column_view_cell_set_focusable (GtkColumnViewCell *self,
gboolean focusable);
GDK_AVAILABLE_IN_4_12
void gtk_column_view_cell_set_child (GtkColumnViewCell *self,
GtkWidget *child);
GDK_AVAILABLE_IN_4_12
GtkWidget * gtk_column_view_cell_get_child (GtkColumnViewCell *self);
G_END_DECLS