ANNOUNCE: gtkmm and glibmm 2.6



*** gtkmm and glibmm 2.5/2.6

gtkmm 2.6 wraps new API in GTK+ 2.6, and is API/ABI-compatibile with gtkmm 2.4. 

gtkmm stays in-sync with GTK+ by following the official GNOME release schedule:
http://www.gnome.org/start/unstable/

Bindings for the rest of the GNOME Platform are also available, and are also 
API-stable.

http://www.gtkmm.org


*** Changes

Changes compared to gtkmm 2.4.x:

Gtk:
* New widgets: AboutDialog, CellRendererCombo, 
  CellRendererProgress, CellView, FileChooserButton, IconView, 
  MenuToolButton
* Action: Added get_accel_path(), set_visible().
* ActionGroup: Added translate_string().
* Button: Added set/get_image().
* CellRenderer:
  - Added editing_started signal.
  - Added stop_editing() which replaces the 
  now-deprecated editing_cancelled()
* CellRendererText: Added language, ellipsize, and 
  ellipsize-set properties.
* Clipboard:
* - Added set_image(), wait_is_image_available(),
  wait_for_image(), request_image(), wait_is_target_available(), 
  set_can_store(), and store().
* ComboBox:
  - Added get_wrap_width(), get_row_span_column(),
    get_column_span_column(), get_add_tearoffs(), set_add_tearoffs(), 
    get_focus_on_click(), set_focus_on_click(), 
   get_popup_accessible(), unset_row_separator_func().
* ComboBoxEntry: Added get_entry().
* ComboBoxText: Added set_active_text(), clear().
* Dialog:
  - Added set_secondary_text() for HIG-compliant dialogs.
  - Added set_alternative_button_order().
* Entry: Added layout_index_to_text_index() and 
  text_index_to_layout_index().
* EntryCompletion: Added insert_prefix(), set_inline_completion(),
  get_inline_completion(), set_popup_completion(), 
  get_popup_completion(), get_text_column()
* FileChooser:
  - Added FileChooserError exception class.
  - Added get/set_show_hidden().
* FileChooserButton: Added get/set_width_chars().
* FileFilter: Added add_pixbuf_formats().
* IconTheme:
  - Added get_icon_sizes().
  - Added IconThemeError exception class.
* Image: Added set_from_icon_name(), get/set_pixel_size(), 
  get_icon_name().
* Label: Added get/set_max_chars_width(), set/get_single_line_mode(), 
  get/set_width_chars(), get/set_ellipsize().
* Main: Added Main constructor that takes a Glib:: OptionContext, 
  and add_gtk_option_group(option_context).
* MessageDialog: Added set_secondary_text().
* PixbufLoader: Added size_prepared signal.
* Plug: Added default constructor.
* ProgressBar: Added set/get_ellipsize().
* SelectionData: Added targets_include_image(), get/set_pixbuf(), 
  and get/set_uris().
* Scale: Now works with libglademm. 
* Style: Added create() method.
* TextView: Added get_iter_at_position().
* TreeSortable: Added DEFAULT_UNSORTED_COLUMN_ID constant.
* TreeView: Added get/set_fixed_height_mode(), get/set_hover_selection(), 
  get/set_hover_expand(), 
* TreeModel::itereator: Add forward_search() and backward_search() 
  overloads without the limit argument.
* IconInfo: Added operator bool(), needed to check 
  the result of IconTheme::lookup_icon().
* Label: Added get/set_angle().
* TreeView: Added append_column_numeric(), and 
  append_column_numeric_editable().
* Widget: Made set_parent(), and unparent() public instead 
  of protected. Added a size_request() overload which is const 
  and returns a value.
* Window: Added drag_dest_add_text_targets(), 
  drag_dest_add_uri_targets(), drag_dest_add_image_targets(), 
  drag_source_add_text_targets(), drag_source_add_uri_targets(),
  and drag_source_add_image_targets().
* New Stock items.
* Documentation:
  - Extra reference documentation.
  - Properties are now documented.

Gdk:
* Display: Added supports_selection_notification(), 
  request_selection_notification(), supports_clipboard_persistance(), 
  store_clipboard().
* Pixbuf:
  - Added rotate_simple(), flip(), save_to_buffer().
  - Added create_from_file() overload that takes 
  height and width.
* PixbufFormat: Added is_scalable(), is_disabled(), 
  set_disabled(), get_license().
* Window: Added enable_synchronized_configure(), 
  configure_finished(), set_focus_on_map().

Pango:
* New classes: Renderer
* Color: Added operator bool(). 
* Context: Added get/set_matrix(), get_font_map().
* FontMetrics: Added get_underline_position(), 
  get_underline_thickness(), get_strikethrough_position(), 
  get_strikethrough_thickness().
* Layout: Added get/set_ellipsize().

Atk:
* Relation: Added add_target().
* RelationSet.hg: add_relation_by_type().
* Text: Added get_range_extents(), get_bounded_ranges().

Changes compare to glibmm 2.4.x:

* Added Option, OptionContext, OptionGroup for parsing of command-line arguments.
* Added filename_display_basename() and filename_display_name().
* Added setenv() and unsetenv().
* gmmproc:
  - Now reuses C properties documentation.

gtkmm 2.6 is the result of hard work from the following developers:
Murray Cumming, Bryan Forbes, and Albert Chin, Cedric Gustin, 
Roger Leigh, Ronald Lembcke, Gene Ruebsamen, Claudio Saavedra, 
Marco Scholten, Roel Vanhout, Chris Vine.


*** Download

http://www.gtkmm.org/download.shtml

You will need libsigc++ 2.0, available here: 
https://sourceforge.net/project/showfiles.php?group_id=1970


*** Development 

There is active discussion on the mailing list: 
http://www.gtkmm.org/mailinglist.shtml
and in the #c++ channel on irc.gnome.org


-- 
Murray Cumming
murray usa net
www.murrayc.com




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]