1/* gtkplacesviewrow.h
2 *
3 * Copyright (C) 2015 Georges Basile Stavracas Neto <georges.stavracas@gmail.com>
4 *
5 * This program is free software: you can redistribute it and/or modify
6 * it under the terms of the GNU Lesser General Public License as published by
7 * the Free Software Foundation, either version 2.1 of the License, or
8 * (at your option) any later version.
9 *
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU Lesser General Public License for more details.
14 *
15 * You should have received a copy of the GNU Lesser General Public License
16 * along with this program. If not, see <http://www.gnu.org/licenses/>.
17 */
18
19#ifndef GTK_PLACES_VIEW_ROW_H
20#define GTK_PLACES_VIEW_ROW_H
21
22#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION)
23#error "Only <gtk/gtk.h> can be included directly."
24#endif
25
26#include "gtkwidget.h"
27#include "gtksizegroup.h"
28#include "gtklistbox.h"
29
30G_BEGIN_DECLS
31
32#define GTK_TYPE_PLACES_VIEW_ROW (gtk_places_view_row_get_type())
33
34G_DECLARE_FINAL_TYPE (GtkPlacesViewRow, gtk_places_view_row, GTK, PLACES_VIEW_ROW, GtkListBoxRow)
35
36GtkWidget* gtk_places_view_row_new (GVolume *volume,
37 GMount *mount);
38
39GtkWidget* gtk_places_view_row_get_eject_button (GtkPlacesViewRow *row);
40
41GMount* gtk_places_view_row_get_mount (GtkPlacesViewRow *row);
42
43GVolume* gtk_places_view_row_get_volume (GtkPlacesViewRow *row);
44
45GFile* gtk_places_view_row_get_file (GtkPlacesViewRow *row);
46
47void gtk_places_view_row_set_busy (GtkPlacesViewRow *row,
48 gboolean is_busy);
49
50gboolean gtk_places_view_row_get_is_network (GtkPlacesViewRow *row);
51
52void gtk_places_view_row_set_is_network (GtkPlacesViewRow *row,
53 gboolean is_network);
54
55void gtk_places_view_row_set_path_size_group (GtkPlacesViewRow *row,
56 GtkSizeGroup *group);
57
58void gtk_places_view_row_set_space_size_group (GtkPlacesViewRow *row,
59 GtkSizeGroup *group);
60
61G_END_DECLS
62
63#endif /* GTK_PLACES_VIEW_ROW_H */
64

source code of gtk/gtk/gtkplacesviewrowprivate.h