1
/* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 8; tab-width: 8 -*- */
3
/* Nautilus - Floating status bar.
5
* Copyright (C) 2011 Red Hat Inc.
7
* This library is free software; you can redistribute it and/or
8
* modify it under the terms of the GNU Library General Public
9
* License as published by the Free Software Foundation; either
10
* version 2 of the License, or (at your option) any later version.
12
* This library is distributed in the hope that it will be useful,
13
* but WITHOUT ANY WARRANTY; without even the implied warranty of
14
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15
* Library General Public License for more details.
17
* You should have received a copy of the GNU Library General Public
18
* License along with this library; if not, see <http://www.gnu.org/licenses/>.
20
* Authors: Cosimo Cecchi <cosimoc@redhat.com>
24
#ifndef __NAUTILUS_FLOATING_BAR_H__
25
#define __NAUTILUS_FLOATING_BAR_H__
29
#define NAUTILUS_FLOATING_BAR_ACTION_ID_STOP 1
31
#define NAUTILUS_TYPE_FLOATING_BAR nautilus_floating_bar_get_type()
33
G_DECLARE_FINAL_TYPE (NautilusFloatingBar, nautilus_floating_bar,
34
NAUTILUS, FLOATING_BAR, GtkBox)
36
GtkWidget * nautilus_floating_bar_new (const gchar *primary_label,
37
const gchar *details_label,
38
gboolean show_spinner);
40
void nautilus_floating_bar_set_primary_label (NautilusFloatingBar *self,
42
void nautilus_floating_bar_set_details_label (NautilusFloatingBar *self,
44
void nautilus_floating_bar_set_labels (NautilusFloatingBar *self,
47
void nautilus_floating_bar_set_show_spinner (NautilusFloatingBar *self,
48
gboolean show_spinner);
50
void nautilus_floating_bar_add_action (NautilusFloatingBar *self,
51
const gchar *icon_name,
53
void nautilus_floating_bar_cleanup_actions (NautilusFloatingBar *self);
55
#endif /* __NAUTILUS_FLOATING_BAR_H__ */