Mercurial > pidgin
annotate finch/libgnt/gntprogressbar.h @ 32659:50f4d84e0660
Fix some changes for the scrollable stuff.
author | Elliott Sales de Andrade <qulogic@pidgin.im> |
---|---|
date | Mon, 14 Mar 2011 06:41:44 +0000 |
parents | cd7fa6306f85 |
children | 5876584828e8 |
rev | line source |
---|---|
26555
35430bc421c2
Add a simple progress-bar in libgnt.
Saleem Abdulrasool <compnerd@compnerd.org>
parents:
diff
changeset
|
1 /** |
26556
cd7fa6306f85
Indentation changes, initialization changes etc.
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
26555
diff
changeset
|
2 * @file gntprogressbar.h Progress Bar API |
cd7fa6306f85
Indentation changes, initialization changes etc.
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
26555
diff
changeset
|
3 * @ingroup gnt |
cd7fa6306f85
Indentation changes, initialization changes etc.
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
26555
diff
changeset
|
4 */ |
cd7fa6306f85
Indentation changes, initialization changes etc.
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
26555
diff
changeset
|
5 /* |
cd7fa6306f85
Indentation changes, initialization changes etc.
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
26555
diff
changeset
|
6 * GNT - The GLib Ncurses Toolkit |
cd7fa6306f85
Indentation changes, initialization changes etc.
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
26555
diff
changeset
|
7 * |
cd7fa6306f85
Indentation changes, initialization changes etc.
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
26555
diff
changeset
|
8 * GNT is the legal property of its developers, whose names are too numerous |
cd7fa6306f85
Indentation changes, initialization changes etc.
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
26555
diff
changeset
|
9 * to list here. Please refer to the COPYRIGHT file distributed with this |
cd7fa6306f85
Indentation changes, initialization changes etc.
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
26555
diff
changeset
|
10 * source distribution. |
cd7fa6306f85
Indentation changes, initialization changes etc.
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
26555
diff
changeset
|
11 * |
cd7fa6306f85
Indentation changes, initialization changes etc.
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
26555
diff
changeset
|
12 * This library is free software; you can redistribute it and/or modify |
cd7fa6306f85
Indentation changes, initialization changes etc.
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
26555
diff
changeset
|
13 * it under the terms of the GNU General Public License as published by |
cd7fa6306f85
Indentation changes, initialization changes etc.
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
26555
diff
changeset
|
14 * the Free Software Foundation; either version 2 of the License, or |
cd7fa6306f85
Indentation changes, initialization changes etc.
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
26555
diff
changeset
|
15 * (at your option) any later version. |
cd7fa6306f85
Indentation changes, initialization changes etc.
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
26555
diff
changeset
|
16 * |
cd7fa6306f85
Indentation changes, initialization changes etc.
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
26555
diff
changeset
|
17 * This program is distributed in the hope that it will be useful, |
cd7fa6306f85
Indentation changes, initialization changes etc.
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
26555
diff
changeset
|
18 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
cd7fa6306f85
Indentation changes, initialization changes etc.
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
26555
diff
changeset
|
19 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
cd7fa6306f85
Indentation changes, initialization changes etc.
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
26555
diff
changeset
|
20 * GNU General Public License for more details. |
cd7fa6306f85
Indentation changes, initialization changes etc.
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
26555
diff
changeset
|
21 * |
cd7fa6306f85
Indentation changes, initialization changes etc.
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
26555
diff
changeset
|
22 * You should have received a copy of the GNU General Public License |
cd7fa6306f85
Indentation changes, initialization changes etc.
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
26555
diff
changeset
|
23 * along with this program; if not, write to the Free Software |
cd7fa6306f85
Indentation changes, initialization changes etc.
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
26555
diff
changeset
|
24 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA |
cd7fa6306f85
Indentation changes, initialization changes etc.
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
26555
diff
changeset
|
25 */ |
26555
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 |
26556
cd7fa6306f85
Indentation changes, initialization changes etc.
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
26555
diff
changeset
|
48 typedef struct _GntProgressBar GntProgressBar; |
26555
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 typedef struct _GntProgressBarClass |
35430bc421c2
Add a simple progress-bar in libgnt.
Saleem Abdulrasool <compnerd@compnerd.org>
parents:
diff
changeset
|
51 { |
35430bc421c2
Add a simple progress-bar in libgnt.
Saleem Abdulrasool <compnerd@compnerd.org>
parents:
diff
changeset
|
52 GntWidgetClass parent; |
35430bc421c2
Add a simple progress-bar in libgnt.
Saleem Abdulrasool <compnerd@compnerd.org>
parents:
diff
changeset
|
53 |
35430bc421c2
Add a simple progress-bar in libgnt.
Saleem Abdulrasool <compnerd@compnerd.org>
parents:
diff
changeset
|
54 void (*gnt_reserved1)(void); |
35430bc421c2
Add a simple progress-bar in libgnt.
Saleem Abdulrasool <compnerd@compnerd.org>
parents:
diff
changeset
|
55 void (*gnt_reserved2)(void); |
35430bc421c2
Add a simple progress-bar in libgnt.
Saleem Abdulrasool <compnerd@compnerd.org>
parents:
diff
changeset
|
56 void (*gnt_reserved3)(void); |
35430bc421c2
Add a simple progress-bar in libgnt.
Saleem Abdulrasool <compnerd@compnerd.org>
parents:
diff
changeset
|
57 void (*gnt_reserved4)(void); |
35430bc421c2
Add a simple progress-bar in libgnt.
Saleem Abdulrasool <compnerd@compnerd.org>
parents:
diff
changeset
|
58 } GntProgressBarClass; |
35430bc421c2
Add a simple progress-bar in libgnt.
Saleem Abdulrasool <compnerd@compnerd.org>
parents:
diff
changeset
|
59 |
35430bc421c2
Add a simple progress-bar in libgnt.
Saleem Abdulrasool <compnerd@compnerd.org>
parents:
diff
changeset
|
60 G_BEGIN_DECLS |
35430bc421c2
Add a simple progress-bar in libgnt.
Saleem Abdulrasool <compnerd@compnerd.org>
parents:
diff
changeset
|
61 |
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 * Get the GType for GntProgressBar |
35430bc421c2
Add a simple progress-bar in libgnt.
Saleem Abdulrasool <compnerd@compnerd.org>
parents:
diff
changeset
|
64 * @return The GType for GntProrgressBar |
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 GType |
35430bc421c2
Add a simple progress-bar in libgnt.
Saleem Abdulrasool <compnerd@compnerd.org>
parents:
diff
changeset
|
67 gnt_progress_bar_get_type (void); |
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 /** |
35430bc421c2
Add a simple progress-bar in libgnt.
Saleem Abdulrasool <compnerd@compnerd.org>
parents:
diff
changeset
|
70 * Create a new GntProgressBar |
35430bc421c2
Add a simple progress-bar in libgnt.
Saleem Abdulrasool <compnerd@compnerd.org>
parents:
diff
changeset
|
71 * @return The new GntProgressBar |
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 GntWidget * |
35430bc421c2
Add a simple progress-bar in libgnt.
Saleem Abdulrasool <compnerd@compnerd.org>
parents:
diff
changeset
|
74 gnt_progress_bar_new (void); |
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 /** |
35430bc421c2
Add a simple progress-bar in libgnt.
Saleem Abdulrasool <compnerd@compnerd.org>
parents:
diff
changeset
|
77 * Set the progress for a progress bar |
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 * @param pbar The GntProgressBar |
35430bc421c2
Add a simple progress-bar in libgnt.
Saleem Abdulrasool <compnerd@compnerd.org>
parents:
diff
changeset
|
80 * @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
|
81 **/ |
35430bc421c2
Add a simple progress-bar in libgnt.
Saleem Abdulrasool <compnerd@compnerd.org>
parents:
diff
changeset
|
82 void |
35430bc421c2
Add a simple progress-bar in libgnt.
Saleem Abdulrasool <compnerd@compnerd.org>
parents:
diff
changeset
|
83 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
|
84 |
35430bc421c2
Add a simple progress-bar in libgnt.
Saleem Abdulrasool <compnerd@compnerd.org>
parents:
diff
changeset
|
85 /** |
35430bc421c2
Add a simple progress-bar in libgnt.
Saleem Abdulrasool <compnerd@compnerd.org>
parents:
diff
changeset
|
86 * Set the orientation for a progress bar |
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 * @param pbar The GntProgressBar |
35430bc421c2
Add a simple progress-bar in libgnt.
Saleem Abdulrasool <compnerd@compnerd.org>
parents:
diff
changeset
|
89 * @param orientation The orientation to use |
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 void |
35430bc421c2
Add a simple progress-bar in libgnt.
Saleem Abdulrasool <compnerd@compnerd.org>
parents:
diff
changeset
|
92 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
|
93 |
35430bc421c2
Add a simple progress-bar in libgnt.
Saleem Abdulrasool <compnerd@compnerd.org>
parents:
diff
changeset
|
94 /** |
35430bc421c2
Add a simple progress-bar in libgnt.
Saleem Abdulrasool <compnerd@compnerd.org>
parents:
diff
changeset
|
95 * Controls whether the progress value is shown |
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 * @param pbar The GntProgressBar |
35430bc421c2
Add a simple progress-bar in libgnt.
Saleem Abdulrasool <compnerd@compnerd.org>
parents:
diff
changeset
|
98 * @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
|
99 **/ |
35430bc421c2
Add a simple progress-bar in libgnt.
Saleem Abdulrasool <compnerd@compnerd.org>
parents:
diff
changeset
|
100 void |
35430bc421c2
Add a simple progress-bar in libgnt.
Saleem Abdulrasool <compnerd@compnerd.org>
parents:
diff
changeset
|
101 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
|
102 |
35430bc421c2
Add a simple progress-bar in libgnt.
Saleem Abdulrasool <compnerd@compnerd.org>
parents:
diff
changeset
|
103 /** |
35430bc421c2
Add a simple progress-bar in libgnt.
Saleem Abdulrasool <compnerd@compnerd.org>
parents:
diff
changeset
|
104 * Get the progress that is displayed |
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 * @param pbar The GntProgressBar |
35430bc421c2
Add a simple progress-bar in libgnt.
Saleem Abdulrasool <compnerd@compnerd.org>
parents:
diff
changeset
|
107 * @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
|
108 **/ |
35430bc421c2
Add a simple progress-bar in libgnt.
Saleem Abdulrasool <compnerd@compnerd.org>
parents:
diff
changeset
|
109 gdouble |
35430bc421c2
Add a simple progress-bar in libgnt.
Saleem Abdulrasool <compnerd@compnerd.org>
parents:
diff
changeset
|
110 gnt_progress_bar_get_fraction (GntProgressBar *pbar); |
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 /** |
35430bc421c2
Add a simple progress-bar in libgnt.
Saleem Abdulrasool <compnerd@compnerd.org>
parents:
diff
changeset
|
113 * Get the orientation for the progress bar |
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 * @param pbar The GntProgressBar |
35430bc421c2
Add a simple progress-bar in libgnt.
Saleem Abdulrasool <compnerd@compnerd.org>
parents:
diff
changeset
|
116 * @return The current orientation of 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 GntProgressBarOrientation |
35430bc421c2
Add a simple progress-bar in libgnt.
Saleem Abdulrasool <compnerd@compnerd.org>
parents:
diff
changeset
|
119 gnt_progress_bar_get_orientation (GntProgressBar *pbar); |
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 /** |
35430bc421c2
Add a simple progress-bar in libgnt.
Saleem Abdulrasool <compnerd@compnerd.org>
parents:
diff
changeset
|
122 * 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
|
123 * |
35430bc421c2
Add a simple progress-bar in libgnt.
Saleem Abdulrasool <compnerd@compnerd.org>
parents:
diff
changeset
|
124 * @param pbar The GntProgressBar |
35430bc421c2
Add a simple progress-bar in libgnt.
Saleem Abdulrasool <compnerd@compnerd.org>
parents:
diff
changeset
|
125 * @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
|
126 **/ |
35430bc421c2
Add a simple progress-bar in libgnt.
Saleem Abdulrasool <compnerd@compnerd.org>
parents:
diff
changeset
|
127 gboolean |
35430bc421c2
Add a simple progress-bar in libgnt.
Saleem Abdulrasool <compnerd@compnerd.org>
parents:
diff
changeset
|
128 gnt_progress_bar_get_show_progress (GntProgressBar *pbar); |
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 G_END_DECLS |
35430bc421c2
Add a simple progress-bar in libgnt.
Saleem Abdulrasool <compnerd@compnerd.org>
parents:
diff
changeset
|
131 |
35430bc421c2
Add a simple progress-bar in libgnt.
Saleem Abdulrasool <compnerd@compnerd.org>
parents:
diff
changeset
|
132 #endif /* GNT_PROGRESS_BAR_H */ |