~ubuntu-branches/ubuntu/precise/empathy/precise

« back to all changes in this revision

Viewing changes to python/pyempathygtk/pyempathygtk.defs

Tags: upstream-0.21.90
ImportĀ upstreamĀ versionĀ 0.21.90

Show diffs side-by-side

added added

removed removed

Lines of Context:
63
63
  (gtype-id "EMPATHY_TYPE_CHAT_WINDOW")
64
64
)
65
65
 
 
66
(define-object Conf
 
67
  (in-module "Empathy")
 
68
  (parent "GObject")
 
69
  (c-name "EmpathyConf")
 
70
  (gtype-id "EMPATHY_TYPE_CONF")
 
71
)
 
72
 
66
73
(define-object ContactListStore
67
74
  (in-module "Empathy")
68
75
  (parent "GtkTreeStore")
140
147
  (gtype-id "EMPATHY_TYPE_THEME_MANAGER")
141
148
)
142
149
 
143
 
(define-object Spinner
144
 
  (in-module "Ephy")
145
 
  (parent "GtkWidget")
146
 
  (c-name "EphySpinner")
147
 
  (gtype-id "EPHY_TYPE_SPINNER")
148
 
)
149
 
 
150
150
;; Enumerations and flags ...
151
151
 
152
152
(define-enum ChatViewBlock
194
194
  )
195
195
)
196
196
 
 
197
(define-flags ContactListFeatures
 
198
  (in-module "Empathy")
 
199
  (c-name "EmpathyContactListFeatures")
 
200
  (gtype-id "EMPATHY_TYPE_CONTACT_LIST_FEATURES")
 
201
  (values
 
202
    '("none" "EMPATHY_CONTACT_LIST_FEATURE_NONE")
 
203
    '("groups-save" "EMPATHY_CONTACT_LIST_FEATURE_GROUPS_SAVE")
 
204
    '("groups-rename" "EMPATHY_CONTACT_LIST_FEATURE_GROUPS_RENAME")
 
205
    '("groups-remove" "EMPATHY_CONTACT_LIST_FEATURE_GROUPS_REMOVE")
 
206
    '("contact-chat" "EMPATHY_CONTACT_LIST_FEATURE_CONTACT_CHAT")
 
207
    '("contact-call" "EMPATHY_CONTACT_LIST_FEATURE_CONTACT_CALL")
 
208
    '("contact-log" "EMPATHY_CONTACT_LIST_FEATURE_CONTACT_LOG")
 
209
    '("contact-ft" "EMPATHY_CONTACT_LIST_FEATURE_CONTACT_FT")
 
210
    '("contact-invite" "EMPATHY_CONTACT_LIST_FEATURE_CONTACT_INVITE")
 
211
    '("contact-edit" "EMPATHY_CONTACT_LIST_FEATURE_CONTACT_EDIT")
 
212
    '("contact-info" "EMPATHY_CONTACT_LIST_FEATURE_CONTACT_INFO")
 
213
    '("contact-remove" "EMPATHY_CONTACT_LIST_FEATURE_CONTACT_REMOVE")
 
214
    '("contact-drop" "EMPATHY_CONTACT_LIST_FEATURE_CONTACT_DROP")
 
215
    '("contact-drag" "EMPATHY_CONTACT_LIST_FEATURE_CONTACT_DRAG")
 
216
    '("all" "EMPATHY_CONTACT_LIST_FEATURE_ALL")
 
217
  )
 
218
)
 
219
 
197
220
(define-flags ContactWidgetFlags
198
221
  (in-module "Empathy")
199
222
  (c-name "EmpathyContactWidgetFlags")
960
983
 
961
984
 
962
985
 
 
986
;; From empathy-conf.h
 
987
 
 
988
(define-function empathy_conf_get_type
 
989
  (c-name "empathy_conf_get_type")
 
990
  (return-type "GType")
 
991
)
 
992
 
 
993
(define-function empathy_conf_get
 
994
  (c-name "empathy_conf_get")
 
995
  (return-type "EmpathyConf*")
 
996
)
 
997
 
 
998
(define-function empathy_conf_shutdown
 
999
  (c-name "empathy_conf_shutdown")
 
1000
  (return-type "none")
 
1001
)
 
1002
 
 
1003
(define-method notify_add
 
1004
  (of-object "EmpathyConf")
 
1005
  (c-name "empathy_conf_notify_add")
 
1006
  (return-type "guint")
 
1007
  (parameters
 
1008
    '("const-gchar*" "key")
 
1009
    '("EmpathyConfNotifyFunc" "func")
 
1010
    '("gpointer" "data")
 
1011
  )
 
1012
)
 
1013
 
 
1014
(define-method notify_remove
 
1015
  (of-object "EmpathyConf")
 
1016
  (c-name "empathy_conf_notify_remove")
 
1017
  (return-type "gboolean")
 
1018
  (parameters
 
1019
    '("guint" "id")
 
1020
  )
 
1021
)
 
1022
 
 
1023
(define-method set_int
 
1024
  (of-object "EmpathyConf")
 
1025
  (c-name "empathy_conf_set_int")
 
1026
  (return-type "gboolean")
 
1027
  (parameters
 
1028
    '("const-gchar*" "key")
 
1029
    '("gint" "value")
 
1030
  )
 
1031
)
 
1032
 
 
1033
(define-method get_int
 
1034
  (of-object "EmpathyConf")
 
1035
  (c-name "empathy_conf_get_int")
 
1036
  (return-type "gboolean")
 
1037
  (parameters
 
1038
    '("const-gchar*" "key")
 
1039
    '("gint*" "value")
 
1040
  )
 
1041
)
 
1042
 
 
1043
(define-method set_bool
 
1044
  (of-object "EmpathyConf")
 
1045
  (c-name "empathy_conf_set_bool")
 
1046
  (return-type "gboolean")
 
1047
  (parameters
 
1048
    '("const-gchar*" "key")
 
1049
    '("gboolean" "value")
 
1050
  )
 
1051
)
 
1052
 
 
1053
(define-method get_bool
 
1054
  (of-object "EmpathyConf")
 
1055
  (c-name "empathy_conf_get_bool")
 
1056
  (return-type "gboolean")
 
1057
  (parameters
 
1058
    '("const-gchar*" "key")
 
1059
    '("gboolean*" "value")
 
1060
  )
 
1061
)
 
1062
 
 
1063
(define-method set_string
 
1064
  (of-object "EmpathyConf")
 
1065
  (c-name "empathy_conf_set_string")
 
1066
  (return-type "gboolean")
 
1067
  (parameters
 
1068
    '("const-gchar*" "key")
 
1069
    '("const-gchar*" "value")
 
1070
  )
 
1071
)
 
1072
 
 
1073
(define-method get_string
 
1074
  (of-object "EmpathyConf")
 
1075
  (c-name "empathy_conf_get_string")
 
1076
  (return-type "gboolean")
 
1077
  (parameters
 
1078
    '("const-gchar*" "key")
 
1079
    '("gchar**" "value")
 
1080
  )
 
1081
)
 
1082
 
 
1083
(define-method set_string_list
 
1084
  (of-object "EmpathyConf")
 
1085
  (c-name "empathy_conf_set_string_list")
 
1086
  (return-type "gboolean")
 
1087
  (parameters
 
1088
    '("const-gchar*" "key")
 
1089
    '("GSList*" "value")
 
1090
  )
 
1091
)
 
1092
 
 
1093
(define-method get_string_list
 
1094
  (of-object "EmpathyConf")
 
1095
  (c-name "empathy_conf_get_string_list")
 
1096
  (return-type "gboolean")
 
1097
  (parameters
 
1098
    '("const-gchar*" "key")
 
1099
    '("GSList**" "value")
 
1100
  )
 
1101
)
 
1102
 
 
1103
 
 
1104
 
963
1105
;; From empathy-contact-dialogs.h
964
1106
 
965
1107
(define-function empathy_subscription_dialog_show
992
1134
 
993
1135
 
994
1136
 
995
 
;; From empathy-contact-groups.h
996
 
 
997
 
(define-function empathy_contact_groups_get_all
998
 
  (c-name "empathy_contact_groups_get_all")
999
 
  (return-type "none")
1000
 
)
1001
 
 
1002
 
(define-function empathy_contact_group_get_expanded
1003
 
  (c-name "empathy_contact_group_get_expanded")
1004
 
  (return-type "gboolean")
1005
 
  (parameters
1006
 
    '("const-gchar*" "group")
1007
 
  )
1008
 
)
1009
 
 
1010
 
(define-function empathy_contact_group_set_expanded
1011
 
  (c-name "empathy_contact_group_set_expanded")
1012
 
  (return-type "none")
1013
 
  (parameters
1014
 
    '("const-gchar*" "group")
1015
 
    '("gboolean" "expanded")
1016
 
  )
1017
 
)
1018
 
 
1019
 
 
1020
 
 
1021
1137
;; From empathy-contact-list-store.h
1022
1138
 
1023
1139
(define-function empathy_contact_list_store_get_type
1067
1183
  )
1068
1184
)
1069
1185
 
 
1186
(define-method get_show_groups
 
1187
  (of-object "EmpathyContactListStore")
 
1188
  (c-name "empathy_contact_list_store_get_show_groups")
 
1189
  (return-type "gboolean")
 
1190
)
 
1191
 
 
1192
(define-method set_show_groups
 
1193
  (of-object "EmpathyContactListStore")
 
1194
  (c-name "empathy_contact_list_store_set_show_groups")
 
1195
  (return-type "none")
 
1196
  (parameters
 
1197
    '("gboolean" "show_groups")
 
1198
  )
 
1199
)
 
1200
 
1070
1201
(define-method get_is_compact
1071
1202
  (of-object "EmpathyContactListStore")
1072
1203
  (c-name "empathy_contact_list_store_get_is_compact")
1144
1275
  (return-type "EmpathyContactListView*")
1145
1276
  (parameters
1146
1277
    '("EmpathyContactListStore*" "store")
 
1278
    '("EmpathyContactListFeatures" "features")
1147
1279
  )
1148
1280
)
1149
1281
 
1150
 
(define-method set_interactive
 
1282
(define-method set_features
1151
1283
  (of-object "EmpathyContactListView")
1152
 
  (c-name "empathy_contact_list_view_set_interactive")
 
1284
  (c-name "empathy_contact_list_view_set_features")
1153
1285
  (return-type "none")
1154
1286
  (parameters
1155
 
    '("gboolean" "interactive")
 
1287
    '("EmpathyContactListFeatures" "features")
1156
1288
  )
1157
1289
)
1158
1290
 
1159
 
(define-method get_interactive
 
1291
(define-method get_features
1160
1292
  (of-object "EmpathyContactListView")
1161
 
  (c-name "empathy_contact_list_view_get_interactive")
1162
 
  (return-type "gboolean")
 
1293
  (c-name "empathy_contact_list_view_get_features")
 
1294
  (return-type "EmpathyContactListFeatures")
1163
1295
)
1164
1296
 
1165
1297
(define-method get_selected
1210
1342
  )
1211
1343
)
1212
1344
 
 
1345
(define-function empathy_contact_widget_set_contact
 
1346
  (c-name "empathy_contact_widget_set_contact")
 
1347
  (return-type "none")
 
1348
  (parameters
 
1349
    '("GtkWidget*" "widget")
 
1350
    '("EmpathyContact*" "contact")
 
1351
  )
 
1352
)
 
1353
 
1213
1354
(define-function empathy_contact_widget_set_account_filter
1214
1355
  (c-name "empathy_contact_widget_set_account_filter")
1215
1356
  (return-type "none")
1289
1430
 
1290
1431
 
1291
1432
 
1292
 
;; From empathy-gtk-enum-types.h
1293
 
 
1294
 
(define-function empathy_contact_widget_flags_get_type
1295
 
  (c-name "empathy_contact_widget_flags_get_type")
1296
 
  (return-type "GType")
1297
 
)
1298
 
 
1299
 
(define-function empathy_contact_list_store_sort_get_type
1300
 
  (c-name "empathy_contact_list_store_sort_get_type")
1301
 
  (return-type "GType")
1302
 
)
1303
 
 
1304
 
(define-function empathy_contact_list_store_col_get_type
1305
 
  (c-name "empathy_contact_list_store_col_get_type")
1306
 
  (return-type "GType")
1307
 
)
1308
 
 
1309
 
(define-function empathy_chat_view_block_get_type
1310
 
  (c-name "empathy_chat_view_block_get_type")
1311
 
  (return-type "GType")
1312
 
)
1313
 
 
1314
 
 
1315
 
 
1316
1433
;; From empathy-images.h
1317
1434
 
1318
1435
 
1321
1438
 
1322
1439
(define-function empathy_log_window_show
1323
1440
  (c-name "empathy_log_window_show")
1324
 
  (return-type "none")
 
1441
  (return-type "GtkWidget*")
1325
1442
  (parameters
1326
1443
    '("McAccount*" "account")
1327
1444
    '("const-gchar*" "chat_id")
1598
1715
 
1599
1716
 
1600
1717
 
1601
 
;; From empathy-status-presets.h
1602
 
 
1603
 
(define-function empathy_status_presets_get_all
1604
 
  (c-name "empathy_status_presets_get_all")
1605
 
  (return-type "none")
1606
 
)
1607
 
 
1608
 
(define-function empathy_status_presets_get
1609
 
  (c-name "empathy_status_presets_get")
1610
 
  (return-type "GList*")
1611
 
  (parameters
1612
 
    '("McPresence" "state")
1613
 
    '("gint" "max_number")
1614
 
  )
1615
 
)
1616
 
 
1617
 
(define-function empathy_status_presets_set_last
1618
 
  (c-name "empathy_status_presets_set_last")
1619
 
  (return-type "none")
1620
 
  (parameters
1621
 
    '("McPresence" "state")
1622
 
    '("const-gchar*" "status")
1623
 
  )
1624
 
)
1625
 
 
1626
 
(define-function empathy_status_presets_remove
1627
 
  (c-name "empathy_status_presets_remove")
1628
 
  (return-type "none")
1629
 
  (parameters
1630
 
    '("McPresence" "state")
1631
 
    '("const-gchar*" "status")
1632
 
  )
1633
 
)
1634
 
 
1635
 
(define-function empathy_status_presets_reset
1636
 
  (c-name "empathy_status_presets_reset")
1637
 
  (return-type "none")
1638
 
)
1639
 
 
1640
 
(define-function empathy_status_presets_get_default_state
1641
 
  (c-name "empathy_status_presets_get_default_state")
1642
 
  (return-type "McPresence")
1643
 
)
1644
 
 
1645
 
(define-function empathy_status_presets_get_default_status
1646
 
  (c-name "empathy_status_presets_get_default_status")
1647
 
  (return-type "const-gchar*")
1648
 
)
1649
 
 
1650
 
(define-function empathy_status_presets_set_default
1651
 
  (c-name "empathy_status_presets_set_default")
1652
 
  (return-type "none")
1653
 
  (parameters
1654
 
    '("McPresence" "state")
1655
 
    '("const-gchar*" "status")
1656
 
  )
1657
 
)
1658
 
 
1659
 
(define-function empathy_status_presets_clear_default
1660
 
  (c-name "empathy_status_presets_clear_default")
1661
 
  (return-type "none")
1662
 
)
1663
 
 
1664
 
 
1665
 
 
1666
1718
;; From empathy-theme-boxes.h
1667
1719
 
1668
1720
(define-function empathy_theme_boxes_get_type
1871
1923
  )
1872
1924
)
1873
1925
 
1874
 
(define-function empathy_icon_name_for_presence_state
1875
 
  (c-name "empathy_icon_name_for_presence_state")
1876
 
  (return-type "const-gchar*")
1877
 
  (parameters
1878
 
    '("McPresence" "state")
1879
 
  )
1880
 
)
1881
 
 
1882
1926
(define-function empathy_icon_name_for_presence
1883
1927
  (c-name "empathy_icon_name_for_presence")
1884
1928
  (return-type "const-gchar*")
1885
1929
  (parameters
1886
 
    '("EmpathyPresence*" "presence")
 
1930
    '("McPresence" "presence")
1887
1931
  )
1888
1932
)
1889
1933
 
2040
2084
  (varargs #t)
2041
2085
)
2042
2086
 
2043
 
 
2044
 
 
2045
 
;; From ephy-spinner.h
2046
 
 
2047
 
(define-function ephy_spinner_get_type
2048
 
  (c-name "ephy_spinner_get_type")
2049
 
  (return-type "GType")
2050
 
)
2051
 
 
2052
 
(define-function ephy_spinner_new
2053
 
  (c-name "ephy_spinner_new")
2054
 
  (is-constructor-of "EphySpinner")
2055
 
  (return-type "GtkWidget*")
2056
 
)
2057
 
 
2058
 
(define-method start
2059
 
  (of-object "EphySpinner")
2060
 
  (c-name "ephy_spinner_start")
2061
 
  (return-type "none")
2062
 
)
2063
 
 
2064
 
(define-method stop
2065
 
  (of-object "EphySpinner")
2066
 
  (c-name "ephy_spinner_stop")
2067
 
  (return-type "none")
2068
 
)
2069
 
 
2070
 
(define-method set_size
2071
 
  (of-object "EphySpinner")
2072
 
  (c-name "ephy_spinner_set_size")
2073
 
  (return-type "none")
2074
 
  (parameters
2075
 
    '("GtkIconSize" "size")
2076
 
  )
2077
 
)
2078
 
 
2079
 
 
2080
 
 
2081
 
;; From stamp-empathy-gtk-enum-types.h
2082
 
 
2083