news 28 Posted August 25, 2008 A new unstable development release of the Python bindings for GTK+ has been released. The new release is available from ftp.gnome.org and its mirrors as soon as its synced correctly: http://ftp.gnome.org/pub/GNOME/sources/pygtk/2.13/ Blurb: GTK+ is a toolkit for developing graphical applications that run on systems such as Linux, Windows and MacOS X. It provides a comprehensive set of GUI widgets, can display Unicode bidi text. It links into the Gnome Accessibility Framework through the ATK library. PyGTK provides a convenient wrapper for the GTK+ library for use in Python programs, and takes care of many of the boring details such as managing memory and type casting. When combined with PyORBit and gnome-python, it can be used to write full featured Gnome applications. Like the GTK+ library itself PyGTK is licensed under the GNU LGPL, so is suitable for use in both free software and proprietary applications. It is already in use in many applications ranging from small single purpose scripts up to large full features applications. What's new since 2.13.0? - GtkBuilder.add_from_string set the default length to -1 (Johan Dahlin) - UIManager.insert_action_group add default -1 to `pos' (Paul Pogonyshev) - Some tweaks to h2defs (Olivier Crete) - Fix the use of flags in examples (Nathaniel Smith) - GdkPixbuf.save detach from python interpreter while saving (Paul) - Create GdkScreen instance using get_default() (Yevgen Muntyan, #444974) - Add an application example (Johan) - Fix several bugs wrt 'y_root' caused by copy-paste (Paul, #519631) - Unbreak pango/cairo dependency chains (Johan Euphrosine, Johan, #528217) - Add a GdkColor constructor similar to what gtk.gdk.color_parse() does. Raise with useful message in case of wrong arguments (Paul, #527718) - Wrap gdk_region_get_rectangles (Gian Mario Tagliaretti, #517099) - cairo_set_source_pixmap should accept any drawable (Gian, #491256) - GdkEvent wrap is_modifier for key press/release, (Gian, #367970) - Wrap the requisition field of GtkWidget (Gian, #369311) - Wrap GtkBorder fields (Gian, #484030) - Wrap region field for expose event (Gian, #495933) - Wrap set_tip_area of GtkTooltip (Gian, #485171) - Wrap gdk_notify_startup_complete_with_id (Gian, #454985) - Wrap gtk_widget_set_has_tooltip (Gian, #524987) - gtk.gdk.DragContext.set_icon_widget allow mask to be NULL (Gian #497781) - Add new textscroll example (Yevgen Muntyan, #522047) - Allocate the right amount of memory for PySignalWatchSource (Owen Taylor, #534083) - Move CSS_DATA variable inside the if ENABLE_DOCS block. Makes make work if --enable-docs=no is specified and pygobject docs are not available. (Björn Lindqvist, #536077) - Allow None in GtkRecentAction constructor params (Gian, #536882) - Allow None in gtk.recent_action_new_for_manager params (Gian) - Ship tooltip.py example in pygtk-demo (Gian) - Deprecate gtk.FileSelection (Johan) - Add a gtk.FileChooserDialog get_action method to workaround an issue with the same mothos of gtk.Widget being called (Gian, #534042) - Wrap gtk.show_about_dialog() (Christopher Aillon, #167603) - Fix 'use_underline' being ignored if neither 'text' nor 'stock' is set in GtkButton constructor (Paul, #524187) - Wrap gtk.TreeView.get_tooltip_context (Gian, #530145) - Check that argument is a subclass of gtk.MenuItem or gtk.ToolItem correspondingly (Paul, #533644) - Wrap gtk.IconView.get_tooltip_context (Gian, #539743) - GtkTreeModel get|set fix logic in negative index branch to avoid refcount corruption (Paul, #537459) - GtkPlug fix to work also with integer 'socket_id' argument (Paul, #539365) - Strip GSEAL out from codegen, to avoid us thinking that there are many functions called GSEAL (Murray Cumming) - Move codegen to pygobject (Paul) - CellRenderer.do_start_editing mark return value as optional (Paul #542583) - Modulename should be gtk.glade, not just glade (Johan) - Add GTK+ 2.14 API in PyGTK (Gian, #544777) - Rename configure.in in configure.ac - Fix signal connection in GtkBuilder (Paul, 543768) - Types with well-defined equality semantics are not properly comparable (Paul, 527212) - gtk.CellViewset_background_color accept None (Paul, #546733) - gtk.Widget.get_snapshot accept None and default to None (Björn Lindqvist, Gian, #548349) - Undeprecate gtk.Toolbar.set_icon_size and unset_icon_size following GTK+ see #314172 (Paul) PyGTK requires GTK+ >= 2.8.0 and Python >= 2.3.5 to build. Bug reports, as always, should go to Bugzilla; check out http://pygtk.org/developer.html and http://pygtk.org/feedback.html for links to posting and querying bug reports for PyGTK. cheers -- Gian Mario Tagliaretti GNOME Foundation member gianmt ( -at -) gnome.org _______________________________________________ Share this post Link to post