~ubuntu-branches/debian/stretch/gnome-builder/stretch

« back to all changes in this revision

Viewing changes to contrib/nautilus/nautilus-floating-bar.h

  • Committer: Package Import Robot
  • Author(s): Andreas Henriksson
  • Date: 2015-10-11 12:38:45 UTC
  • Revision ID: package-import@ubuntu.com-20151011123845-a0hvkz01se0p1p5a
Tags: upstream-3.16.3
ImportĀ upstreamĀ versionĀ 3.16.3

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 8; tab-width: 8 -*- */
 
2
 
 
3
/* Nautilus - Floating status bar.
 
4
 *
 
5
 * Copyright (C) 2011 Red Hat Inc.
 
6
 *
 
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.
 
11
 *
 
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.
 
16
 *
 
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/>.
 
19
 *
 
20
 * Authors: Cosimo Cecchi <cosimoc@redhat.com>
 
21
 *
 
22
 */
 
23
 
 
24
#ifndef __NAUTILUS_FLOATING_BAR_H__
 
25
#define __NAUTILUS_FLOATING_BAR_H__
 
26
 
 
27
#include <gtk/gtk.h>
 
28
 
 
29
#define NAUTILUS_FLOATING_BAR_ACTION_ID_STOP 1
 
30
 
 
31
#define NAUTILUS_TYPE_FLOATING_BAR nautilus_floating_bar_get_type()
 
32
 
 
33
G_DECLARE_FINAL_TYPE (NautilusFloatingBar, nautilus_floating_bar,
 
34
                      NAUTILUS, FLOATING_BAR, GtkBox)
 
35
 
 
36
GtkWidget * nautilus_floating_bar_new              (const gchar *primary_label,
 
37
                                                    const gchar *details_label,
 
38
                                                    gboolean show_spinner);
 
39
 
 
40
void       nautilus_floating_bar_set_primary_label (NautilusFloatingBar *self,
 
41
                                                    const gchar *label);
 
42
void       nautilus_floating_bar_set_details_label (NautilusFloatingBar *self,
 
43
                                                    const gchar *label);
 
44
void        nautilus_floating_bar_set_labels        (NautilusFloatingBar *self,
 
45
                                                     const gchar *primary,
 
46
                                                     const gchar *detail);
 
47
void        nautilus_floating_bar_set_show_spinner (NautilusFloatingBar *self,
 
48
                                                    gboolean show_spinner);
 
49
 
 
50
void        nautilus_floating_bar_add_action       (NautilusFloatingBar *self,
 
51
                                                    const gchar *icon_name,
 
52
                                                    gint action_id);
 
53
void        nautilus_floating_bar_cleanup_actions  (NautilusFloatingBar *self);
 
54
 
 
55
#endif /* __NAUTILUS_FLOATING_BAR_H__ */
 
56