~ubuntu-branches/ubuntu/quantal/gtkmm3.0/quantal

« back to all changes in this revision

Viewing changes to gtk/gtkmm/numerableicon.cc

  • Committer: Package Import Robot
  • Author(s): Sebastien Bacher
  • Date: 2012-03-01 23:42:36 UTC
  • mfrom: (1.1.8)
  • Revision ID: package-import@ubuntu.com-20120301234236-12w6m0hkomhi7h53
Tags: 3.3.16-0ubuntu1
* New upstream version
* debian/control.in: updated the glib requirement

Show diffs side-by-side

added added

removed removed

Lines of Context:
172
172
 
173
173
void NumerableIcon::set_style_context(const Glib::RefPtr<StyleContext>& style)
174
174
{
175
 
gtk_numerable_icon_set_style_context(gobj(), Glib::unwrap(style)); 
 
175
  gtk_numerable_icon_set_style_context(gobj(), Glib::unwrap(style)); 
176
176
}
177
177
 
178
178
int NumerableIcon::get_count() const
182
182
 
183
183
void NumerableIcon::set_count(int count)
184
184
{
185
 
gtk_numerable_icon_set_count(gobj(), count); 
 
185
  gtk_numerable_icon_set_count(gobj(), count); 
186
186
}
187
187
 
188
188
Glib::ustring NumerableIcon::get_label() const
192
192
 
193
193
void NumerableIcon::set_label(const Glib::ustring& label)
194
194
{
195
 
gtk_numerable_icon_set_label(gobj(), label.c_str()); 
 
195
  gtk_numerable_icon_set_label(gobj(), label.c_str()); 
196
196
}
197
197
 
198
198
void NumerableIcon::set_background_gicon(const Glib::RefPtr<Gio::Icon>& icon)
199
199
{
200
 
gtk_numerable_icon_set_background_gicon(gobj(), const_cast<GIcon*>(Glib::unwrap<Gio::Icon>(icon))); 
 
200
  gtk_numerable_icon_set_background_gicon(gobj(), const_cast<GIcon*>(Glib::unwrap<Gio::Icon>(icon))); 
201
201
}
202
202
 
203
203
Glib::RefPtr<Gio::Icon> NumerableIcon::get_background_gicon()
217
217
 
218
218
void NumerableIcon::set_background_icon_name(const Glib::ustring& icon_name)
219
219
{
220
 
gtk_numerable_icon_set_background_icon_name(gobj(), icon_name.c_str()); 
 
220
  gtk_numerable_icon_set_background_icon_name(gobj(), icon_name.c_str()); 
221
221
}
222
222
 
223
223
Glib::ustring NumerableIcon::get_background_icon_name() const
226
226
}
227
227
 
228
228
 
 
229
#ifndef GTKMM_DISABLE_DEPRECATED
 
230
 
229
231
#ifdef GLIBMM_PROPERTIES_ENABLED
230
232
Glib::PropertyProxy< int > NumerableIcon::property_count() 
231
233
{
232
234
  return Glib::PropertyProxy< int >(this, "count");
233
235
}
 
236
#endif // GTKMM_DISABLE_DEPRECATED
 
237
 
234
238
#endif //GLIBMM_PROPERTIES_ENABLED
235
239
 
236
240
#ifdef GLIBMM_PROPERTIES_ENABLED
240
244
}
241
245
#endif //GLIBMM_PROPERTIES_ENABLED
242
246
 
 
247
#ifndef GTKMM_DISABLE_DEPRECATED
 
248
 
243
249
#ifdef GLIBMM_PROPERTIES_ENABLED
244
250
Glib::PropertyProxy< Glib::ustring > NumerableIcon::property_label() 
245
251
{
246
252
  return Glib::PropertyProxy< Glib::ustring >(this, "label");
247
253
}
 
254
#endif // GTKMM_DISABLE_DEPRECATED
 
255
 
248
256
#endif //GLIBMM_PROPERTIES_ENABLED
249
257
 
250
258
#ifdef GLIBMM_PROPERTIES_ENABLED
254
262
}
255
263
#endif //GLIBMM_PROPERTIES_ENABLED
256
264
 
 
265
#ifndef GTKMM_DISABLE_DEPRECATED
 
266
 
257
267
#ifdef GLIBMM_PROPERTIES_ENABLED
258
268
Glib::PropertyProxy< Glib::RefPtr<StyleContext> > NumerableIcon::property_style_context() 
259
269
{
260
270
  return Glib::PropertyProxy< Glib::RefPtr<StyleContext> >(this, "style-context");
261
271
}
 
272
#endif // GTKMM_DISABLE_DEPRECATED
 
273
 
262
274
#endif //GLIBMM_PROPERTIES_ENABLED
263
275
 
264
276
#ifdef GLIBMM_PROPERTIES_ENABLED
268
280
}
269
281
#endif //GLIBMM_PROPERTIES_ENABLED
270
282
 
 
283
#ifndef GTKMM_DISABLE_DEPRECATED
 
284
 
271
285
#ifdef GLIBMM_PROPERTIES_ENABLED
272
286
Glib::PropertyProxy< Glib::RefPtr<Gio::Icon> > NumerableIcon::property_background_icon() 
273
287
{
274
288
  return Glib::PropertyProxy< Glib::RefPtr<Gio::Icon> >(this, "background-icon");
275
289
}
 
290
#endif // GTKMM_DISABLE_DEPRECATED
 
291
 
276
292
#endif //GLIBMM_PROPERTIES_ENABLED
277
293
 
278
294
#ifdef GLIBMM_PROPERTIES_ENABLED
282
298
}
283
299
#endif //GLIBMM_PROPERTIES_ENABLED
284
300
 
 
301
#ifndef GTKMM_DISABLE_DEPRECATED
 
302
 
285
303
#ifdef GLIBMM_PROPERTIES_ENABLED
286
304
Glib::PropertyProxy< Glib::ustring > NumerableIcon::property_background_icon_name() 
287
305
{
288
306
  return Glib::PropertyProxy< Glib::ustring >(this, "background-icon-name");
289
307
}
 
308
#endif // GTKMM_DISABLE_DEPRECATED
 
309
 
290
310
#endif //GLIBMM_PROPERTIES_ENABLED
291
311
 
292
312
#ifdef GLIBMM_PROPERTIES_ENABLED