~ubuntu-branches/ubuntu/natty/pyclutter/natty

« back to all changes in this revision

Viewing changes to clutter/clutter-1.2-types.defs

  • Committer: Bazaar Package Importer
  • Author(s): Emilio Pozuelo Monfort
  • Date: 2010-12-11 00:20:52 UTC
  • mfrom: (1.2.4 upstream) (3.1.5 experimental)
  • Revision ID: james.westby@ubuntu.com-20101211002052-r7uguhg5i9ug3s1a
Tags: 1.3.2-1
* New upstream release.
  - debian/control.in:
    + Update build dependencies and dependencies.
    + Build for Python >= 2.6.
* Standards-Version is 3.9.1, no changes needed.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
;; -*- scheme -*-
 
2
;; boxed types ...
 
3
 
 
4
(define-boxed AnimatorKey
 
5
  (in-module "Clutter")
 
6
  (c-name "ClutterAnimatorKey")
 
7
  (gtype-id "CLUTTER_TYPE_ANIMATOR_KEY")
 
8
)
 
9
 
 
10
;; object definitions ...
 
11
(define-object Animator
 
12
  (in-module "Clutter")
 
13
  (parent "GObject")
 
14
  (c-name "ClutterAnimator")
 
15
  (gtype-id "CLUTTER_TYPE_ANIMATOR")
 
16
)
 
17
 
 
18
(define-object Box
 
19
  (in-module "Clutter")
 
20
  (parent "ClutterActor")
 
21
  (c-name "ClutterBox")
 
22
  (gtype-id "CLUTTER_TYPE_BOX")
 
23
)
 
24
 
 
25
(define-object DeviceManager
 
26
  (in-module "Clutter")
 
27
  (parent "GObject")
 
28
  (c-name "ClutterDeviceManager")
 
29
  (gtype-id "CLUTTER_TYPE_DEVICE_MANAGER")
 
30
)
 
31
 
 
32
(define-object LayoutManager
 
33
  (in-module "Clutter")
 
34
  (parent "GObject")
 
35
  (c-name "ClutterLayoutManager")
 
36
  (gtype-id "CLUTTER_TYPE_LAYOUT_MANAGER")
 
37
)
 
38
 
 
39
(define-object FlowLayout
 
40
  (in-module "Clutter")
 
41
  (parent "ClutterLayoutManager")
 
42
  (c-name "ClutterFlowLayout")
 
43
  (gtype-id "CLUTTER_TYPE_FLOW_LAYOUT")
 
44
)
 
45
 
 
46
(define-object FixedLayout
 
47
  (in-module "Clutter")
 
48
  (parent "ClutterLayoutManager")
 
49
  (c-name "ClutterFixedLayout")
 
50
  (gtype-id "CLUTTER_TYPE_FIXED_LAYOUT")
 
51
)
 
52
 
 
53
(define-object BoxLayout
 
54
  (in-module "Clutter")
 
55
  (parent "ClutterLayoutManager")
 
56
  (c-name "ClutterBoxLayout")
 
57
  (gtype-id "CLUTTER_TYPE_BOX_LAYOUT")
 
58
)
 
59
 
 
60
(define-object BinLayout
 
61
  (in-module "Clutter")
 
62
  (parent "ClutterLayoutManager")
 
63
  (c-name "ClutterBinLayout")
 
64
  (gtype-id "CLUTTER_TYPE_BIN_LAYOUT")
 
65
)
 
66
 
 
67
(define-object LayoutMeta
 
68
  (in-module "Clutter")
 
69
  (parent "ClutterChildMeta")
 
70
  (c-name "ClutterLayoutMeta")
 
71
  (gtype-id "CLUTTER_TYPE_LAYOUT_META")
 
72
)
 
73
 
 
74
;; Enumerations and flags ...
 
75
 
 
76
(define-enum Interpolation
 
77
  (in-module "Clutter")
 
78
  (c-name "ClutterInterpolation")
 
79
  (gtype-id "CLUTTER_TYPE_INTERPOLATION")
 
80
  (values
 
81
    '("linear" "CLUTTER_INTERPOLATION_LINEAR")
 
82
    '("cubic" "CLUTTER_INTERPOLATION_CUBIC")
 
83
  )
 
84
)
 
85
 
 
86
(define-enum BinAlignment
 
87
  (in-module "Clutter")
 
88
  (c-name "ClutterBinAlignment")
 
89
  (gtype-id "CLUTTER_TYPE_BIN_ALIGNMENT")
 
90
  (values
 
91
    '("fixed" "CLUTTER_BIN_ALIGNMENT_FIXED")
 
92
    '("fill" "CLUTTER_BIN_ALIGNMENT_FILL")
 
93
    '("start" "CLUTTER_BIN_ALIGNMENT_START")
 
94
    '("end" "CLUTTER_BIN_ALIGNMENT_END")
 
95
    '("center" "CLUTTER_BIN_ALIGNMENT_CENTER")
 
96
  )
 
97
)
 
98
 
 
99
(define-enum BoxAlignment
 
100
  (in-module "Clutter")
 
101
  (c-name "ClutterBoxAlignment")
 
102
  (gtype-id "CLUTTER_TYPE_BOX_ALIGNMENT")
 
103
  (values
 
104
    '("start" "CLUTTER_BOX_ALIGNMENT_START")
 
105
    '("end" "CLUTTER_BOX_ALIGNMENT_END")
 
106
    '("center" "CLUTTER_BOX_ALIGNMENT_CENTER")
 
107
  )
 
108
)
 
109
 
 
110
(define-enum FlowOrientation
 
111
  (in-module "Clutter")
 
112
  (c-name "ClutterFlowOrientation")
 
113
  (gtype-id "CLUTTER_TYPE_FLOW_ORIENTATION")
 
114
  (values
 
115
    '("horizontal" "CLUTTER_FLOW_HORIZONTAL")
 
116
    '("vertical" "CLUTTER_FLOW_VERTICAL")
 
117
  )
 
118
)
 
119
 
 
120
(define-enum TextDirection
 
121
  (in-module "Clutter")
 
122
  (c-name "ClutterTextDirection")
 
123
  (gtype-id "CLUTTER_TYPE_TEXT_DIRECTION")
 
124
  (values
 
125
    '("default" "CLUTTER_TEXT_DIRECTION_DEFAULT")
 
126
    '("ltr" "CLUTTER_TEXT_DIRECTION_LTR")
 
127
    '("rtl" "CLUTTER_TEXT_DIRECTION_RTL")
 
128
  )
 
129
)
 
130