Mercurial > pidgin
annotate finch/libgnt/gntprogressbar.h @ 26555:35430bc421c2
Add a simple progress-bar in libgnt.
Closes #7797.
committer: Sadrul Habib Chowdhury <imadil@gmail.com>
author | Saleem Abdulrasool <compnerd@compnerd.org> |
---|---|
date | Sun, 12 Apr 2009 18:10:03 +0000 |
parents | |
children | cd7fa6306f85 |
rev | line source |
---|---|
26555
35430bc421c2
Add a simple progress-bar in libgnt.
Saleem Abdulrasool <compnerd@compnerd.org>
parents:
diff
changeset
|
1 /** |
35430bc421c2
Add a simple progress-bar in libgnt.
Saleem Abdulrasool <compnerd@compnerd.org>
parents:
diff
changeset
|
2 * @file gntprogressbar.h Progress Bar API |
35430bc421c2
Add a simple progress-bar in libgnt.
Saleem Abdulrasool <compnerd@compnerd.org>
parents:
diff
changeset
|
3 * @ingroup gnt |
35430bc421c2
Add a simple progress-bar in libgnt.
Saleem Abdulrasool <compnerd@compnerd.org>
parents:
diff
changeset
|
4 **/ |
35430bc421c2
Add a simple progress-bar in libgnt.
Saleem Abdulrasool <compnerd@compnerd.org>
parents:
diff
changeset
|
5 /** |
35430bc421c2
Add a simple progress-bar in libgnt.
Saleem Abdulrasool <compnerd@compnerd.org>
parents:
diff
changeset
|
6 * GNT - The GLib Ncurses Toolkit |
35430bc421c2
Add a simple progress-bar in libgnt.
Saleem Abdulrasool <compnerd@compnerd.org>
parents:
diff
changeset
|
7 * |
35430bc421c2
Add a simple progress-bar in libgnt.
Saleem Abdulrasool <compnerd@compnerd.org>
parents:
diff
changeset
|
8 * GNT is the legal property of its developers, whose names are too numerous |
35430bc421c2
Add a simple progress-bar in libgnt.
Saleem Abdulrasool <compnerd@compnerd.org>
parents:
diff
changeset
|
9 * to list here. Please refer to the COPYRIGHT file distributed with this |
35430bc421c2
Add a simple progress-bar in libgnt.
Saleem Abdulrasool <compnerd@compnerd.org>
parents:
diff
changeset
|
10 * source distribution. |
35430bc421c2
Add a simple progress-bar in libgnt.
Saleem Abdulrasool <compnerd@compnerd.org>
parents:
diff
changeset
|
11 * |
35430bc421c2
Add a simple progress-bar in libgnt.
Saleem Abdulrasool <compnerd@compnerd.org>
parents:
diff
changeset
|
12 * This library is free software; you can redistribute it and/or modify |
35430bc421c2
Add a simple progress-bar in libgnt.
Saleem Abdulrasool <compnerd@compnerd.org>
parents:
diff
changeset
|
13 * it under the terms of the GNU General Public License as published by |
35430bc421c2
Add a simple progress-bar in libgnt.
Saleem Abdulrasool <compnerd@compnerd.org>
parents:
diff
changeset
|
14 * the Free Software Foundation; either version 2 of the License, or |
35430bc421c2
Add a simple progress-bar in libgnt.
Saleem Abdulrasool <compnerd@compnerd.org>
parents:
diff
changeset
|
15 * (at your option) any later version. |
35430bc421c2
Add a simple progress-bar in libgnt.
Saleem Abdulrasool <compnerd@compnerd.org>
parents:
diff
changeset
|
16 * |
35430bc421c2
Add a simple progress-bar in libgnt.
Saleem Abdulrasool <compnerd@compnerd.org>
parents:
diff
changeset
|
17 * This program is distributed in the hope that it will be useful, |
35430bc421c2
Add a simple progress-bar in libgnt.
Saleem Abdulrasool <compnerd@compnerd.org>
parents:
diff
changeset
|
18 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
35430bc421c2
Add a simple progress-bar in libgnt.
Saleem Abdulrasool <compnerd@compnerd.org>
parents:
diff
changeset
|
19 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
35430bc421c2
Add a simple progress-bar in libgnt.
Saleem Abdulrasool <compnerd@compnerd.org>
parents:
diff
changeset
|
20 * GNU General Public License for more details. |
35430bc421c2
Add a simple progress-bar in libgnt.
Saleem Abdulrasool <compnerd@compnerd.org>
parents:
diff
changeset
|
21 * |
35430bc421c2
Add a simple progress-bar in libgnt.
Saleem Abdulrasool <compnerd@compnerd.org>
parents:
diff
changeset
|
22 * You should have received a copy of the GNU General Public License |
35430bc421c2
Add a simple progress-bar in libgnt.
Saleem Abdulrasool <compnerd@compnerd.org>
parents:
diff
changeset
|
23 * along with this program; if not, write to the Free Software |
35430bc421c2
Add a simple progress-bar in libgnt.
Saleem Abdulrasool <compnerd@compnerd.org>
parents:
diff
changeset
|
24 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA |
35430bc421c2
Add a simple progress-bar in libgnt.
Saleem Abdulrasool <compnerd@compnerd.org>
parents:
diff
changeset
|
25 **/ |
35430bc421c2
Add a simple progress-bar in libgnt.
Saleem Abdulrasool <compnerd@compnerd.org>
parents:
diff
changeset
|
26 |
35430bc421c2
Add a simple progress-bar in libgnt.
Saleem Abdulrasool <compnerd@compnerd.org>
parents:
diff
changeset
|
27 #ifndef GNT_PROGRESS_BAR_H |
35430bc421c2
Add a simple progress-bar in libgnt.
Saleem Abdulrasool <compnerd@compnerd.org>
parents:
diff
changeset
|
28 #define GNT_PROGRESS_BAR_H |
35430bc421c2
Add a simple progress-bar in libgnt.
Saleem Abdulrasool <compnerd@compnerd.org>
parents:
diff
changeset
|
29 |
35430bc421c2
Add a simple progress-bar in libgnt.
Saleem Abdulrasool <compnerd@compnerd.org>
parents:
diff
changeset
|
30 #include "gnt.h" |
35430bc421c2
Add a simple progress-bar in libgnt.
Saleem Abdulrasool <compnerd@compnerd.org>
parents:
diff
changeset
|
31 #include "gntwidget.h" |
35430bc421c2
Add a simple progress-bar in libgnt.
Saleem Abdulrasool <compnerd@compnerd.org>
parents:
diff
changeset
|
32 |
35430bc421c2
Add a simple progress-bar in libgnt.
Saleem Abdulrasool <compnerd@compnerd.org>
parents:
diff
changeset
|
33 #define GNT_TYPE_PROGRESS_BAR (gnt_progress_bar_get_type ()) |
35430bc421c2
Add a simple progress-bar in libgnt.
Saleem Abdulrasool <compnerd@compnerd.org>
parents:
diff
changeset
|
34 #define GNT_PROGRESS_BAR(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GNT_TYPE_PROGRESS_BAR, GntProgressBar)) |
35430bc421c2
Add a simple progress-bar in libgnt.
Saleem Abdulrasool <compnerd@compnerd.org>
parents:
diff
changeset
|
35 #define GNT_PROGRESS_BAR_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), GNT_TYPE_PROGRESS_BAR, GntProgressBarClass)) |
35430bc421c2
Add a simple progress-bar in libgnt.
Saleem Abdulrasool <compnerd@compnerd.org>
parents:
diff
changeset
|
36 #define GNT_IS_PROGRESS_BAR(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GNT_TYPE_PROGRESS_BAR)) |
35430bc421c2
Add a simple progress-bar in libgnt.
Saleem Abdulrasool <compnerd@compnerd.org>
parents:
diff
changeset
|
37 #define GNT_IS_PROGRESS_BAR_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), GNT_TYPE_PROGRESS_BAR)) |
35430bc421c2
Add a simple progress-bar in libgnt.
Saleem Abdulrasool <compnerd@compnerd.org>
parents:
diff
changeset
|
38 #define GNT_PROGRESS_BAR_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), GNT_TYPE_PROGRESS_BAR, GntProgressBarClass)) |
35430bc421c2
Add a simple progress-bar in libgnt.
Saleem Abdulrasool <compnerd@compnerd.org>
parents:
diff
changeset
|
39 |
35430bc421c2
Add a simple progress-bar in libgnt.
Saleem Abdulrasool <compnerd@compnerd.org>
parents:
diff
changeset
|
40 typedef enum _GntProgressBarOrientation |
35430bc421c2
Add a simple progress-bar in libgnt.
Saleem Abdulrasool <compnerd@compnerd.org>
parents:
diff
changeset
|
41 { |
35430bc421c2
Add a simple progress-bar in libgnt.
Saleem Abdulrasool <compnerd@compnerd.org>
parents:
diff
changeset
|
42 GNT_PROGRESS_LEFT_TO_RIGHT, |
35430bc421c2
Add a simple progress-bar in libgnt.
Saleem Abdulrasool <compnerd@compnerd.org>
parents:
diff
changeset
|
43 GNT_PROGRESS_RIGHT_TO_LEFT, |
35430bc421c2
Add a simple progress-bar in libgnt.
Saleem Abdulrasool <compnerd@compnerd.org>
parents:
diff
changeset
|
44 GNT_PROGRESS_BOTTOM_TO_TOP, |
35430bc421c2
Add a simple progress-bar in libgnt.
Saleem Abdulrasool <compnerd@compnerd.org>
parents:
diff
changeset
|
45 GNT_PROGRESS_TOP_TO_BOTTOM, |
35430bc421c2
Add a simple progress-bar in libgnt.
Saleem Abdulrasool <compnerd@compnerd.org>
parents:
diff
changeset
|
46 } GntProgressBarOrientation; |
35430bc421c2
Add a simple progress-bar in libgnt.
Saleem Abdulrasool <compnerd@compnerd.org>
parents:
diff
changeset
|
47 |
35430bc421c2
Add a simple progress-bar in libgnt.
Saleem Abdulrasool <compnerd@compnerd.org>
parents:
diff
changeset
|
48 typedef struct _GntProgressBar |
35430bc421c2
Add a simple progress-bar in libgnt.
Saleem Abdulrasool <compnerd@compnerd.org>
parents:
diff
changeset
|
49 { |
35430bc421c2
Add a simple progress-bar in libgnt.
Saleem Abdulrasool <compnerd@compnerd.org>
parents:
diff
changeset
|
50 GntWidget parent; |
35430bc421c2
Add a simple progress-bar in libgnt.
Saleem Abdulrasool <compnerd@compnerd.org>
parents:
diff
changeset
|
51 } GntProgressBar; |
35430bc421c2
Add a simple progress-bar in libgnt.
Saleem Abdulrasool <compnerd@compnerd.org>
parents:
diff
changeset
|
52 |
35430bc421c2
Add a simple progress-bar in libgnt.
Saleem Abdulrasool <compnerd@compnerd.org>
parents:
diff
changeset
|
53 typedef struct _GntProgressBarClass |
35430bc421c2
Add a simple progress-bar in libgnt.
Saleem Abdulrasool <compnerd@compnerd.org>
parents:
diff
changeset
|
54 { |
35430bc421c2
Add a simple progress-bar in libgnt.
Saleem Abdulrasool <compnerd@compnerd.org>
parents:
diff
changeset
|
55 GntWidgetClass parent; |
35430bc421c2
Add a simple progress-bar in libgnt.
Saleem Abdulrasool <compnerd@compnerd.org>
parents:
diff
changeset
|
56 |
35430bc421c2
Add a simple progress-bar in libgnt.
Saleem Abdulrasool <compnerd@compnerd.org>
parents:
diff
changeset
|
57 void (*gnt_reserved1)(void); |
35430bc421c2
Add a simple progress-bar in libgnt.
Saleem Abdulrasool <compnerd@compnerd.org>
parents:
diff
changeset
|
58 void (*gnt_reserved2)(void); |
35430bc421c2
Add a simple progress-bar in libgnt.
Saleem Abdulrasool <compnerd@compnerd.org>
parents:
diff
changeset
|
59 void (*gnt_reserved3)(void); |
35430bc421c2
Add a simple progress-bar in libgnt.
Saleem Abdulrasool <compnerd@compnerd.org>
parents:
diff
changeset
|
60 void (*gnt_reserved4)(void); |
35430bc421c2
Add a simple progress-bar in libgnt.
Saleem Abdulrasool <compnerd@compnerd.org>
parents:
diff
changeset
|
61 } GntProgressBarClass; |
35430bc421c2
Add a simple progress-bar in libgnt.
Saleem Abdulrasool <compnerd@compnerd.org>
parents:
diff
changeset
|
62 |
35430bc421c2
Add a simple progress-bar in libgnt.
Saleem Abdulrasool <compnerd@compnerd.org>
parents:
diff
changeset
|
63 G_BEGIN_DECLS |
35430bc421c2
Add a simple progress-bar in libgnt.
Saleem Abdulrasool <compnerd@compnerd.org>
parents:
diff
changeset
|
64 |
35430bc421c2
Add a simple progress-bar in libgnt.
Saleem Abdulrasool <compnerd@compnerd.org>
parents:
diff
changeset
|
65 /** |
35430bc421c2
Add a simple progress-bar in libgnt.
Saleem Abdulrasool <compnerd@compnerd.org>
parents:
diff
changeset
|
66 * Get the GType for GntProgressBar |
35430bc421c2
Add a simple progress-bar in libgnt.
Saleem Abdulrasool <compnerd@compnerd.org>
parents:
diff
changeset
|
67 * @return The GType for GntProrgressBar |
35430bc421c2
Add a simple progress-bar in libgnt.
Saleem Abdulrasool <compnerd@compnerd.org>
parents:
diff
changeset
|
68 **/ |
35430bc421c2
Add a simple progress-bar in libgnt.
Saleem Abdulrasool <compnerd@compnerd.org>
parents:
diff
changeset
|
69 GType |
35430bc421c2
Add a simple progress-bar in libgnt.
Saleem Abdulrasool <compnerd@compnerd.org>
parents:
diff
changeset
|
70 gnt_progress_bar_get_type (void); |
35430bc421c2
Add a simple progress-bar in libgnt.
Saleem Abdulrasool <compnerd@compnerd.org>
parents:
diff
changeset
|
71 |
35430bc421c2
Add a simple progress-bar in libgnt.
Saleem Abdulrasool <compnerd@compnerd.org>
parents:
diff
changeset
|
72 /** |
35430bc421c2
Add a simple progress-bar in libgnt.
Saleem Abdulrasool <compnerd@compnerd.org>
parents:
diff
changeset
|
73 * Create a new GntProgressBar |
35430bc421c2
Add a simple progress-bar in libgnt.
Saleem Abdulrasool <compnerd@compnerd.org>
parents:
diff
changeset
|
74 * @return The new GntProgressBar |
35430bc421c2
Add a simple progress-bar in libgnt.
Saleem Abdulrasool <compnerd@compnerd.org>
parents:
diff
changeset
|
75 **/ |
35430bc421c2
Add a simple progress-bar in libgnt.
Saleem Abdulrasool <compnerd@compnerd.org>
parents:
diff
changeset
|
76 GntWidget * |
35430bc421c2
Add a simple progress-bar in libgnt.
Saleem Abdulrasool <compnerd@compnerd.org>
parents:
diff
changeset
|
77 gnt_progress_bar_new (void); |
35430bc421c2
Add a simple progress-bar in libgnt.
Saleem Abdulrasool <compnerd@compnerd.org>
parents:
diff
changeset
|
78 |
35430bc421c2
Add a simple progress-bar in libgnt.
Saleem Abdulrasool <compnerd@compnerd.org>
parents:
diff
changeset
|
79 /** |
35430bc421c2
Add a simple progress-bar in libgnt.
Saleem Abdulrasool <compnerd@compnerd.org>
parents:
diff
changeset
|
80 * Set the progress for a progress bar |
35430bc421c2
Add a simple progress-bar in libgnt.
Saleem Abdulrasool <compnerd@compnerd.org>
parents:
diff
changeset
|
81 * |
35430bc421c2
Add a simple progress-bar in libgnt.
Saleem Abdulrasool <compnerd@compnerd.org>
parents:
diff
changeset
|
82 * @param pbar The GntProgressBar |
35430bc421c2
Add a simple progress-bar in libgnt.
Saleem Abdulrasool <compnerd@compnerd.org>
parents:
diff
changeset
|
83 * @param fraction The value between 0 and 1 to display |
35430bc421c2
Add a simple progress-bar in libgnt.
Saleem Abdulrasool <compnerd@compnerd.org>
parents:
diff
changeset
|
84 **/ |
35430bc421c2
Add a simple progress-bar in libgnt.
Saleem Abdulrasool <compnerd@compnerd.org>
parents:
diff
changeset
|
85 void |
35430bc421c2
Add a simple progress-bar in libgnt.
Saleem Abdulrasool <compnerd@compnerd.org>
parents:
diff
changeset
|
86 gnt_progress_bar_set_fraction (GntProgressBar *pbar, gdouble fraction); |
35430bc421c2
Add a simple progress-bar in libgnt.
Saleem Abdulrasool <compnerd@compnerd.org>
parents:
diff
changeset
|
87 |
35430bc421c2
Add a simple progress-bar in libgnt.
Saleem Abdulrasool <compnerd@compnerd.org>
parents:
diff
changeset
|
88 /** |
35430bc421c2
Add a simple progress-bar in libgnt.
Saleem Abdulrasool <compnerd@compnerd.org>
parents:
diff
changeset
|
89 * Set the orientation for a progress bar |
35430bc421c2
Add a simple progress-bar in libgnt.
Saleem Abdulrasool <compnerd@compnerd.org>
parents:
diff
changeset
|
90 * |
35430bc421c2
Add a simple progress-bar in libgnt.
Saleem Abdulrasool <compnerd@compnerd.org>
parents:
diff
changeset
|
91 * @param pbar The GntProgressBar |
35430bc421c2
Add a simple progress-bar in libgnt.
Saleem Abdulrasool <compnerd@compnerd.org>
parents:
diff
changeset
|
92 * @param orientation The orientation to use |
35430bc421c2
Add a simple progress-bar in libgnt.
Saleem Abdulrasool <compnerd@compnerd.org>
parents:
diff
changeset
|
93 **/ |
35430bc421c2
Add a simple progress-bar in libgnt.
Saleem Abdulrasool <compnerd@compnerd.org>
parents:
diff
changeset
|
94 void |
35430bc421c2
Add a simple progress-bar in libgnt.
Saleem Abdulrasool <compnerd@compnerd.org>
parents:
diff
changeset
|
95 gnt_progress_bar_set_orientation (GntProgressBar *pbar, GntProgressBarOrientation orientation); |
35430bc421c2
Add a simple progress-bar in libgnt.
Saleem Abdulrasool <compnerd@compnerd.org>
parents:
diff
changeset
|
96 |
35430bc421c2
Add a simple progress-bar in libgnt.
Saleem Abdulrasool <compnerd@compnerd.org>
parents:
diff
changeset
|
97 /** |
35430bc421c2
Add a simple progress-bar in libgnt.
Saleem Abdulrasool <compnerd@compnerd.org>
parents:
diff
changeset
|
98 * Controls whether the progress value is shown |
35430bc421c2
Add a simple progress-bar in libgnt.
Saleem Abdulrasool <compnerd@compnerd.org>
parents:
diff
changeset
|
99 * |
35430bc421c2
Add a simple progress-bar in libgnt.
Saleem Abdulrasool <compnerd@compnerd.org>
parents:
diff
changeset
|
100 * @param pbar The GntProgressBar |
35430bc421c2
Add a simple progress-bar in libgnt.
Saleem Abdulrasool <compnerd@compnerd.org>
parents:
diff
changeset
|
101 * @param show A boolean indicating if the value is shown |
35430bc421c2
Add a simple progress-bar in libgnt.
Saleem Abdulrasool <compnerd@compnerd.org>
parents:
diff
changeset
|
102 **/ |
35430bc421c2
Add a simple progress-bar in libgnt.
Saleem Abdulrasool <compnerd@compnerd.org>
parents:
diff
changeset
|
103 void |
35430bc421c2
Add a simple progress-bar in libgnt.
Saleem Abdulrasool <compnerd@compnerd.org>
parents:
diff
changeset
|
104 gnt_progress_bar_set_show_progress (GntProgressBar *pbar, gboolean show); |
35430bc421c2
Add a simple progress-bar in libgnt.
Saleem Abdulrasool <compnerd@compnerd.org>
parents:
diff
changeset
|
105 |
35430bc421c2
Add a simple progress-bar in libgnt.
Saleem Abdulrasool <compnerd@compnerd.org>
parents:
diff
changeset
|
106 /** |
35430bc421c2
Add a simple progress-bar in libgnt.
Saleem Abdulrasool <compnerd@compnerd.org>
parents:
diff
changeset
|
107 * Get the progress that is displayed |
35430bc421c2
Add a simple progress-bar in libgnt.
Saleem Abdulrasool <compnerd@compnerd.org>
parents:
diff
changeset
|
108 * |
35430bc421c2
Add a simple progress-bar in libgnt.
Saleem Abdulrasool <compnerd@compnerd.org>
parents:
diff
changeset
|
109 * @param pbar The GntProgressBar |
35430bc421c2
Add a simple progress-bar in libgnt.
Saleem Abdulrasool <compnerd@compnerd.org>
parents:
diff
changeset
|
110 * @return The progress displayed as a value between 0 and 1 |
35430bc421c2
Add a simple progress-bar in libgnt.
Saleem Abdulrasool <compnerd@compnerd.org>
parents:
diff
changeset
|
111 **/ |
35430bc421c2
Add a simple progress-bar in libgnt.
Saleem Abdulrasool <compnerd@compnerd.org>
parents:
diff
changeset
|
112 gdouble |
35430bc421c2
Add a simple progress-bar in libgnt.
Saleem Abdulrasool <compnerd@compnerd.org>
parents:
diff
changeset
|
113 gnt_progress_bar_get_fraction (GntProgressBar *pbar); |
35430bc421c2
Add a simple progress-bar in libgnt.
Saleem Abdulrasool <compnerd@compnerd.org>
parents:
diff
changeset
|
114 |
35430bc421c2
Add a simple progress-bar in libgnt.
Saleem Abdulrasool <compnerd@compnerd.org>
parents:
diff
changeset
|
115 /** |
35430bc421c2
Add a simple progress-bar in libgnt.
Saleem Abdulrasool <compnerd@compnerd.org>
parents:
diff
changeset
|
116 * Get the orientation for the progress bar |
35430bc421c2
Add a simple progress-bar in libgnt.
Saleem Abdulrasool <compnerd@compnerd.org>
parents:
diff
changeset
|
117 * |
35430bc421c2
Add a simple progress-bar in libgnt.
Saleem Abdulrasool <compnerd@compnerd.org>
parents:
diff
changeset
|
118 * @param pbar The GntProgressBar |
35430bc421c2
Add a simple progress-bar in libgnt.
Saleem Abdulrasool <compnerd@compnerd.org>
parents:
diff
changeset
|
119 * @return The current orientation of the progress bar |
35430bc421c2
Add a simple progress-bar in libgnt.
Saleem Abdulrasool <compnerd@compnerd.org>
parents:
diff
changeset
|
120 **/ |
35430bc421c2
Add a simple progress-bar in libgnt.
Saleem Abdulrasool <compnerd@compnerd.org>
parents:
diff
changeset
|
121 GntProgressBarOrientation |
35430bc421c2
Add a simple progress-bar in libgnt.
Saleem Abdulrasool <compnerd@compnerd.org>
parents:
diff
changeset
|
122 gnt_progress_bar_get_orientation (GntProgressBar *pbar); |
35430bc421c2
Add a simple progress-bar in libgnt.
Saleem Abdulrasool <compnerd@compnerd.org>
parents:
diff
changeset
|
123 |
35430bc421c2
Add a simple progress-bar in libgnt.
Saleem Abdulrasool <compnerd@compnerd.org>
parents:
diff
changeset
|
124 /** |
35430bc421c2
Add a simple progress-bar in libgnt.
Saleem Abdulrasool <compnerd@compnerd.org>
parents:
diff
changeset
|
125 * Get a boolean describing if the progress value is shown |
35430bc421c2
Add a simple progress-bar in libgnt.
Saleem Abdulrasool <compnerd@compnerd.org>
parents:
diff
changeset
|
126 * |
35430bc421c2
Add a simple progress-bar in libgnt.
Saleem Abdulrasool <compnerd@compnerd.org>
parents:
diff
changeset
|
127 * @param pbar The GntProgressBar |
35430bc421c2
Add a simple progress-bar in libgnt.
Saleem Abdulrasool <compnerd@compnerd.org>
parents:
diff
changeset
|
128 * @return A boolean @c true if the progress value is shown, @c false otherwise. |
35430bc421c2
Add a simple progress-bar in libgnt.
Saleem Abdulrasool <compnerd@compnerd.org>
parents:
diff
changeset
|
129 **/ |
35430bc421c2
Add a simple progress-bar in libgnt.
Saleem Abdulrasool <compnerd@compnerd.org>
parents:
diff
changeset
|
130 gboolean |
35430bc421c2
Add a simple progress-bar in libgnt.
Saleem Abdulrasool <compnerd@compnerd.org>
parents:
diff
changeset
|
131 gnt_progress_bar_get_show_progress (GntProgressBar *pbar); |
35430bc421c2
Add a simple progress-bar in libgnt.
Saleem Abdulrasool <compnerd@compnerd.org>
parents:
diff
changeset
|
132 |
35430bc421c2
Add a simple progress-bar in libgnt.
Saleem Abdulrasool <compnerd@compnerd.org>
parents:
diff
changeset
|
133 G_END_DECLS |
35430bc421c2
Add a simple progress-bar in libgnt.
Saleem Abdulrasool <compnerd@compnerd.org>
parents:
diff
changeset
|
134 |
35430bc421c2
Add a simple progress-bar in libgnt.
Saleem Abdulrasool <compnerd@compnerd.org>
parents:
diff
changeset
|
135 #endif /* GNT_PROGRESS_BAR_H */ |