~ubuntu-branches/ubuntu/hardy/eog/hardy-updates

« back to all changes in this revision

Viewing changes to bindings/python/eog.defs

  • Committer: Bazaar Package Importer
  • Author(s): Sebastien Bacher
  • Date: 2007-12-04 11:57:27 UTC
  • mfrom: (1.1.36 upstream)
  • Revision ID: james.westby@ubuntu.com-20071204115727-lka8thyx592x3owl
Tags: 2.21.2-0ubuntu1
* New upstream version:
  New features:
  - Support for resetting the toolbar to its default layout (LP: #145327)
  Misc improvements/fixes:
  - Fixes for memory leaks and code optimizations
  - Improvements in plugin API
  - Improvements in the plugin system Python bindinds
  Bug fixes:
  - #458661, Up/Down keys in image collection
  - #491528, Use trash icon i.s.o. delete icon for move to trash menu item
  - #491826, Defaults are wrong
  - #494881, Support for exempi 1.99.5
  - #496184, Eog does not support color management
  - #499154, Specify correct type for eog_image_load and _has_data
  - #499156, Wrap eog_image_load in Python
  - #480975, Feature request : EOG lack an option to reset toolbars

Show diffs side-by-side

added added

removed removed

Lines of Context:
252
252
  )
253
253
)
254
254
 
 
255
(define-enum WindowMode
 
256
  (in-module "Eog")
 
257
  (c-name "EogWindowMode")
 
258
  (gtype-id "EOG_TYPE_WINDOW_MODE")
 
259
  (values
 
260
    '("unknown" "EOG_WINDOW_MODE_UNKNOWN")
 
261
    '("normal" "EOG_WINDOW_MODE_NORMAL")
 
262
    '("fullscreen" "EOG_WINDOW_MODE_FULLSCREEN")
 
263
    '("slideshow" "EOG_WINDOW_MODE_SLIDESHOW")
 
264
  )
 
265
)
 
266
 
255
267
(define-enum WindowError
256
268
  (in-module "Eog")
257
269
  (c-name "EogWindowError")
403
415
  )
404
416
)
405
417
 
 
418
(define-method load
 
419
  (of-object "EogImage")
 
420
  (c-name "eog_image_load")
 
421
  (return-type "gboolean")
 
422
  (parameters
 
423
    '("guint" "data2read")
 
424
    '("EogJob*" "job" (null-ok))
 
425
    '("GError**" "error")
 
426
  )
 
427
)
 
428
 
406
429
(define-method set_thumbnail
407
430
  (of-object "EogImage")
408
431
  (c-name "eog_image_set_thumbnail")
1241
1264
  )
1242
1265
)
1243
1266
 
 
1267
(define-method get_mode
 
1268
  (of-object "EogWindow")
 
1269
  (c-name "eog_window_get_mode")
 
1270
  (return-type "EogWindowMode")
 
1271
)
 
1272
 
 
1273
(define-method set_mode
 
1274
  (of-object "EogWindow")
 
1275
  (c-name "eog_window_set_mode")
 
1276
  (return-type "none")
 
1277
  (parameters
 
1278
    '("EogWindowMode" "mode")
 
1279
  )
 
1280
)
 
1281
 
1244
1282
(define-method get_ui_manager
1245
1283
  (of-object "EogWindow")
1246
1284
  (c-name "eog_window_get_ui_manager")
1253
1291
  (return-type "EogListStore*")
1254
1292
)
1255
1293
 
 
1294
(define-method get_view
 
1295
  (of-object "EogWindow")
 
1296
  (c-name "eog_window_get_view")
 
1297
  (return-type "GtkWidget*")
 
1298
)
 
1299
 
1256
1300
(define-method get_sidebar
1257
1301
  (of-object "EogWindow")
1258
1302
  (c-name "eog_window_get_sidebar")