~ubuntu-branches/ubuntu/trusty/guile-gnome-platform/trusty-proposed

« back to all changes in this revision

Viewing changes to gtk/examples/guile-gtk-demo/demos/editable-cells.scm

  • Committer: Bazaar Package Importer
  • Author(s): Andreas Rottmann
  • Date: 2009-03-01 22:51:48 UTC
  • mfrom: (1.1.2 upstream) (3.2.1 squeeze)
  • Revision ID: james.westby@ubuntu.com-20090301225148-5cubt342wiv8jpmf
Tags: 2.16.1-1
* New upstream release.
* Upstream bumped API, hence all package names changed from
  guile-gnome0-* to guile-gnome2-*.
* Standards-Version 3.8.0 (no changes).
* Remove unused guile-gnome2-cairo.install file.
* Added ${misc:Depends} to all packages.
* Do not build-depend on a -1 revision of the g-wrap packages.
* Add a proper "Copyright YEARS AUTHORS" line to debian/copyright.

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
;; GNU General Public License version 2 or later. No warrantee.
3
3
 
4
4
(define-module (demos editable-cells)
 
5
  :use-module (oop goops)
 
6
  :use-module (gnome gobject)
5
7
  :use-module (gnome gtk))
6
8
 
7
9
(define (populate-model model)
73
75
                     :vscrollbar-policy 'automatic
74
76
                     :shadow-type 'etched-in))
75
77
         ;; create tree model
76
 
         (model (gtk-list-store-new (list gtype:gint
77
 
                                          gtype:gchararray
78
 
                                          gtype:gboolean)))
 
78
         (model (gtk-list-store-new (list <gint> <gchararray> <gboolean>)))
79
79
         ;; create tree view
80
80
         (treeview (make <gtk-tree-view> 
81
81
                     :model model :rules-hint #t))