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

« back to all changes in this revision

Viewing changes to gtk/src/printsettings.hg

  • 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:
33
33
_WRAP_ENUM(PageSet, GtkPageSet)
34
34
_WRAP_ENUM(NumberUpLayout, GtkNumberUpLayout)
35
35
 
36
 
/** A PrintSettings object represents the settings of a print dialog in a system-independent way. 
37
 
 * The main use for this object is that once you've printed you can get a settings object that 
38
 
 * represents the settings the user chose, and the next time you print you can pass that object 
 
36
/** A PrintSettings object represents the settings of a print dialog in a system-independent way.
 
37
 * The main use for this object is that once you've printed you can get a settings object that
 
38
 * represents the settings the user chose, and the next time you print you can pass that object
39
39
 * in so that the user doesn't have to re-set all his settings.
40
 
 * 
41
 
 * It's also possible to enumerate the settings so that you can easily save the settings for the 
42
 
 * next time your app runs, or even store them in a document. The predefined keys try to use shared 
43
 
 * values as much as possible so that moving such a document between systems still works. 
 
40
 *
 
41
 * It's also possible to enumerate the settings so that you can easily save the settings for the
 
42
 * next time your app runs, or even store them in a document. The predefined keys try to use shared
 
43
 * values as much as possible so that moving such a document between systems still works.
44
44
 *
45
45
 * @newin{2,10}
46
46
 *
164
164
 
165
165
  /** This function adds the print settings from @a settings to @a key_file,
166
166
   * in the "Print Settings" group.
167
 
   * 
 
167
   *
168
168
   * @newin{2,12}
169
169
   * @param key_file The Glib::KeyFile to save the print settings to.
170
170
   */
178
178
  _WRAP_METHOD(void set(const Glib::ustring& key, const Glib::ustring& value), gtk_print_settings_set)
179
179
  _WRAP_METHOD(void unset(const Glib::ustring& key), gtk_print_settings_unset)
180
180
 
181
 
  /** For example, 
 
181
  /** For example,
182
182
   * void on_foreach_setting(const Glib::ustring& key, const Glib::ustring& value);
183
183
   */
184
184
  typedef sigc::slot<void, const Glib::ustring&, const Glib::ustring&> SlotForeach;
262
262
  _WRAP_METHOD(PrintPages get_print_pages() const, gtk_print_settings_get_print_pages)
263
263
  _WRAP_METHOD(void set_print_pages(PrintPages print_pages), gtk_print_settings_set_print_pages)
264
264
 
 
265
  //TODO: Move this out of the class when we can break ABI,
 
266
  //because this is also used in PringJob.
265
267
  //This corresponds to GtkPageRange.
266
268
  class PageRange
267
269
  {