#include "gtklistitemwidgetprivate.h"
#include "gtkwidgetprivate.h"
-#define GTK_LIST_VIEW_MAX_LIST_ITEMS 200
-
struct _GtkListItemManager
{
GObject parent_instance;
}
}
-/*
- * gtk_list_item_manager_get_tile_at:
- * @self: a GtkListItemManager
- * @x: x coordinate of tile
- * @y: y coordinate of tile
- *
- * Finds the tile occupying the coordinates at (x, y). If no
- * tile occupies the coordinates (for example, if the tile is out of bounds),
- * NULL is returned.
- *
- * Returns: (nullable): The tile at (x, y) or NULL
- **/
-GtkListTile *
-gtk_list_item_manager_get_tile_at (GtkListItemManager *self,
- int x,
- int y)
-{
- int distance = 1;
-
- return gtk_list_tile_get_tile_at (self, gtk_list_item_manager_get_root (self), x, y, &distance);
-}
-
/*
* gtk_list_item_manager_get_nearest_tile:
* @self: a GtkListItemManager
gpointer gtk_list_item_manager_get_nth (GtkListItemManager *self,
guint position,
guint *offset);
-GtkListTile * gtk_list_item_manager_get_tile_at (GtkListItemManager *self,
- int x,
- int y);
GtkListTile * gtk_list_item_manager_get_nearest_tile (GtkListItemManager *self,
int x,
int y);
GtkSelectionModel *model);
GtkSelectionModel * gtk_list_item_manager_get_model (GtkListItemManager *self);
-guint gtk_list_item_manager_get_size (GtkListItemManager *self);
void gtk_list_item_manager_set_single_click_activate
(GtkListItemManager *self,
gboolean single_click_activate);