This file is indexed.

/usr/include/libdazzle-1.0/suggestions/dzl-suggestion-entry.h is in libdazzle-1.0-dev 3.28.1-1.

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
 97
 98
 99
100
101
102
103
104
105
106
107
108
/* dzl-suggestion-entry.h
 *
 * Copyright (C) 2017 Christian Hergert <chergert@redhat.com>
 *
 * This file 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 file 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 General Public License along
 * with this program.  If not, see <http://www.gnu.org/licenses/>.
 */

#ifndef DZL_SUGGESTION_ENTRY_H
#define DZL_SUGGESTION_ENTRY_H

#include <gtk/gtk.h>

#include "dzl-version-macros.h"

#include "dzl-suggestion.h"

G_BEGIN_DECLS

#define DZL_TYPE_SUGGESTION_ENTRY (dzl_suggestion_entry_get_type())

DZL_AVAILABLE_IN_ALL
G_DECLARE_DERIVABLE_TYPE (DzlSuggestionEntry, dzl_suggestion_entry, DZL, SUGGESTION_ENTRY, GtkEntry)

/**
 * DzlSuggestionPositionFunc:
 * @entry: a #DzlSuggestionEntry
 * @area: (inout): location to place the popover
 * @is_absolute: (inout): If the area is in absolute coordinates
 * @user_data: closure data
 *
 * Positions the popover in the coordinates defined by @area.
 *
 * If @is_absolute is set to %TRUE, then absolute coordinates are used.
 * Otherwise, the position is expected to be relative to @entry.
 *
 * Since: 3.26
 */
typedef void (*DzlSuggestionPositionFunc) (DzlSuggestionEntry *entry,
                                           GdkRectangle       *area,
                                           gboolean           *is_absolute,
                                           gpointer            user_data);

struct _DzlSuggestionEntryClass
{
  GtkEntryClass parent_class;

  void (*hide_suggestions)     (DzlSuggestionEntry *self);
  void (*show_suggestions)     (DzlSuggestionEntry *self);
  void (*move_suggestion )     (DzlSuggestionEntry *self,
                                gint                amount);
  void (*suggestion_activated) (DzlSuggestionEntry *self,
                                DzlSuggestion      *suggestion);

  gpointer _reserved1;
  gpointer _reserved2;
  gpointer _reserved3;
  gpointer _reserved4;
  gpointer _reserved5;
  gpointer _reserved6;
  gpointer _reserved7;
  gpointer _reserved8;
};

DZL_AVAILABLE_IN_ALL
GtkWidget     *dzl_suggestion_entry_new               (void);
DZL_AVAILABLE_IN_ALL
void           dzl_suggestion_entry_set_model         (DzlSuggestionEntry        *self,
                                                       GListModel                *model);
DZL_AVAILABLE_IN_ALL
GListModel    *dzl_suggestion_entry_get_model         (DzlSuggestionEntry        *self);
DZL_AVAILABLE_IN_ALL
const gchar   *dzl_suggestion_entry_get_typed_text    (DzlSuggestionEntry        *self);
DZL_AVAILABLE_IN_ALL
DzlSuggestion *dzl_suggestion_entry_get_suggestion    (DzlSuggestionEntry        *self);
DZL_AVAILABLE_IN_ALL
void           dzl_suggestion_entry_set_suggestion    (DzlSuggestionEntry        *self,
                                                       DzlSuggestion             *suggestion);
DZL_AVAILABLE_IN_ALL
void           dzl_suggestion_entry_set_position_func (DzlSuggestionEntry        *self,
                                                       DzlSuggestionPositionFunc  func,
                                                       gpointer                   func_data,
                                                       GDestroyNotify             func_data_destroy);

DZL_AVAILABLE_IN_ALL
void dzl_suggestion_entry_default_position_func (DzlSuggestionEntry *self,
                                                 GdkRectangle       *area,
                                                 gboolean           *is_absolute,
                                                 gpointer            user_data);
DZL_AVAILABLE_IN_ALL
void dzl_suggestion_entry_window_position_func  (DzlSuggestionEntry *self,
                                                 GdkRectangle       *area,
                                                 gboolean           *is_absolute,
                                                 gpointer            user_data);

G_END_DECLS

#endif /* DZL_SUGGESTION_ENTRY_H */