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

« back to all changes in this revision

Viewing changes to gtk/gtkmm/adjustment.h

  • Committer: Package Import Robot
  • Author(s): Robert Ancell
  • Date: 2012-09-28 09:25:06 UTC
  • mfrom: (1.1.14)
  • Revision ID: package-import@ubuntu.com-20120928092506-9h63ais5o750a8sk
Tags: 3.5.13-0ubuntu1
* New upstream release
* debian/control:
  - Bump build-depends on libglibmm-2.4-dev, libgtk-3-dev

Show diffs side-by-side

added added

removed removed

Lines of Context:
7
7
#include <glibmm/ustring.h>
8
8
#include <sigc++/sigc++.h>
9
9
 
10
 
/* $Id: adjustment.hg,v 1.5 2006/11/08 21:51:35 murrayc Exp $ */
11
 
 
12
 
/* adjustment.h
13
 
 *
 
10
/*
14
11
 * Copyright (C) 1998-2002 The gtkmm Development Team
15
12
 *
16
13
 * This library is free software; you can redistribute it and/or
162
159
  /** Sets the minimum value of the adjustment.
163
160
   * 
164
161
   * When setting multiple adjustment properties via their individual
165
 
   * setters, multiple "changed" signals will be emitted. However, since
166
 
   * the emission of the "changed" signal is tied to the emission of the
167
 
   * "GObject::notify" signals of the changed properties, it's possible
168
 
   * to compress the "changed" signals into one by calling
 
162
   * setters, multiple Gtk::Adjustment::signal_changed() signals will be emitted. However, since
 
163
   * the emission of the Gtk::Adjustment::signal_changed() signal is tied to the emission of the
 
164
   * Object::signal_notify() signals of the changed properties, it's possible
 
165
   * to compress the Gtk::Adjustment::signal_changed() signals into one by calling
169
166
   * Glib::object_freeze_notify() and Glib::object_thaw_notify() around the
170
167
   * calls to the individual setters.
171
168
   * 
172
169
   * Alternatively, using a single Glib::object_set() for all the properties
173
170
   * to change, or using configure() has the same effect
174
 
   * of compressing "changed" emissions.
 
171
   * of compressing Gtk::Adjustment::signal_changed() emissions.
175
172
   * 
176
173
   * @newin{2,14}
177
174
   * @param lower The new minimum value.
193
190
   * property is nonzero.
194
191
   * 
195
192
   * See set_lower() about how to compress multiple
196
 
   * emissions of the "changed" signal when setting multiple adjustment
 
193
   * emissions of the Gtk::Adjustment::signal_changed() signal when setting multiple adjustment
197
194
   * properties.
198
195
   * 
199
196
   * @newin{2,14}
212
209
  /** Sets the step increment of the adjustment.
213
210
   * 
214
211
   * See set_lower() about how to compress multiple
215
 
   * emissions of the "changed" signal when setting multiple adjustment
 
212
   * emissions of the Gtk::Adjustment::signal_changed() signal when setting multiple adjustment
216
213
   * properties.
217
214
   * 
218
215
   * @newin{2,14}
231
228
  /** Sets the page increment of the adjustment.
232
229
   * 
233
230
   * See set_lower() about how to compress multiple
234
 
   * emissions of the "changed" signal when setting multiple adjustment
 
231
   * emissions of the Gtk::Adjustment::signal_changed() signal when setting multiple adjustment
235
232
   * properties.
236
233
   * 
237
234
   * @newin{2,14}
250
247
  /** Sets the page size of the adjustment.
251
248
   * 
252
249
   * See set_lower() about how to compress multiple
253
 
   * emissions of the "changed" signal when setting multiple adjustment
 
250
   * emissions of the GtkAdjustment::changed signal when setting multiple adjustment
254
251
   * properties.
255
252
   * 
256
253
   * @newin{2,14}
268
265
  
269
266
  /** Sets all properties of the adjustment at once.
270
267
   * 
271
 
   * Use this function to avoid multiple emissions of the "changed"
 
268
   * Use this function to avoid multiple emissions of the Gtk::Adjustment::signal_changed()
272
269
   * signal. See set_lower() for an alternative way
273
 
   * of compressing multiple emissions of "changed" into one.
 
270
   * of compressing multiple emissions of Gtk::Adjustment::signal_changed() into one.
274
271
   * 
275
272
   * @newin{2,14}
276
273
   * @param value The new value.
281
278
   * @param page_size The new page size.
282
279
   */
283
280
  void configure(double value, double lower, double upper, double step_increment, double page_increment, double page_size);
284
 
  
 
281
 
285
282
  
286
283
  /** Gets the smaller of step increment and page increment.
287
284
   * 
295
292
   * @par Slot Prototype:
296
293
   * <tt>void on_my_%changed()</tt>
297
294
   *
298
 
   * Emitted when one or more of the Gtk::Adjustment fields have been changed,
299
 
   * other than the value field.
 
295
   * Emitted when one or more of the Gtk::Adjustment properties have been
 
296
   * changed, other than the Gtk::Adjustment::property_value() property.
300
297
   */
301
298
 
302
299
  Glib::SignalProxy0< void > signal_changed();
306
303
   * @par Slot Prototype:
307
304
   * <tt>void on_my_%value_changed()</tt>
308
305
   *
309
 
   * Emitted when the Gtk::Adjustment value field has been changed.
 
306
   * Emitted when the Gtk::Adjustment::property_value() property has been changed.
310
307
   */
311
308
 
312
309
  Glib::SignalProxy0< void > signal_value_changed();
450
447
 
451
448
};
452
449
 
453
 
} /* namespace Gtk */
 
450
} //namespace Gtk
454
451
 
455
452
 
456
453
namespace Glib