add new sigc++2 directory
[ardour.git] / libs / gtkmm2 / CHANGES
1 *** Changes from gtkmm 2.4 to 2.6:
2
3 * Added IconView, FileChooserButton, and CellView widgets.
4
5 * New API for existing classes:
6   TODO
7
8 *** Changes from gtkmm 2.0/2.2 to gtkmm 2.4:
9
10 * Useless signals not wrapped.
11
12 * Use of libsigc++ 2 instead of libsigc++ 1.2. See the glibmm CHANGES for details of the syntax.
13
14 * It is now easier to see which signal you should handle, because there are less of them.
15   Previously we wrapped key-binding signals, but they were quite useless for gtkmm coders.
16
17 * Use of Gdk::Device and Gtk::SelectionData instead of C equivalents
18   (Murray Cumming)
19
20 * New classes:
21
22   UIManager: Action-based menu and toolbar items. 
23     - Add Actions to an ActionGroup.
24     - Add the ActionGroup to the UIManager.
25     - Layout the Menus and Toolbars, with an XML string. Toolbar items and menu items can share the same Action.
26     - Add the Layout string to the UIManager.
27     - Get a top-level menu or toolbar from the UIManager and put it in a container.
28
29   ComboBox, ComboBoxText, ComboBoxEntry, CellLayout
30
31   EntryCompletion
32
33   ColorButton, FontButton: Buttons that open selection dialogs when clicked, and show the result inside the button.
34
35   Expander: A disclosure triangle, to hide distracting widgets.
36
37   FileChooser: A new File Selection widget.
38     
39   RadioToolButton, SeparatorToolItem, ToggleToolButton, ToolItem, ToolButton
40
41   IconTheme, IconInfo
42   
43 * New API for existing classes:
44   Gtk::AccelMap: lock_path(), unlock_path()
45   Gtk::Alignment: get/set_padding(). Useful for indenting Gtk::Frame contents.
46   Gtk::Button: get/set_focus_on_click() get/set_alignment()
47   Gtk::ButtonBox: get_child_secondary().
48   Gtk::Calendar:
49     - display_options() is now set_display_options().
50     - New properties.
51   Gtk::Clipboard: wait_for_targets(), and a simpler request_targets().
52   Gtk::CheckMenuItem: get/set_draw_as_radio()
53   Gtk::Entry: get/set_completion()
54   Gtk::EventBox: get/set_visible_window(), get/set_above_child()
55   Gtk::IconSource: get/set_icon_name()
56   Gtk::Menu: attach(), set_monitor()
57   Gtk::MenuItem: unset_accel_path()
58   Gtk::MenuShell: cancel()
59   Gtk::MessageDialog:
60     - set_markup()
61     - Constructors: Added bool use_markup paramater after message parameter.
62       This is an API change, and I'd leak to hear suggestions for alternatives.
63   Gtk::TextBuffer: select_range()
64   Gtk::TextIter (also known as Gtk::TextBuffer::iterator):
65     Added *_visible_* versions of forwards/backwards methods.
66   Gtk::TextView:
67   - get/set_overwrite(), get/set_accepts_tab()
68   - Added WRAP_WORD_CHAR wrap mode.
69   Gtk::TreeViewColumn (also known as Gtk::TreeView::Column):
70     Added get/set_expand(), get_cell_position()
71   Gtk::Widget:
72   - queue_resize_no_redraw(), get/set__no_show_all()
73   - Added unset_fg(), unset_bg(), unset_font(), unset_text(), unset_base().
74   - Added add_modal_grab(), remove_modal_grab(), get_current_modal_grab().
75     (Ole Laursen)
76   - Added set_window() and set_allocation() for implementing new native widgets.
77     (Detlef Reichl)
78   Gtk::Window: set_default_icon(), set_keep_above(), set_keep_below()
79
80   Gdk::Cursor: new constructor: Cursor(const Glib::RefPtr<Display>& display, const Glib::RefPtr<Pixbuf>& pixbuf, int x, int y)
81   Gdk::Display: flush(), supports_cursor_alpha(), supports_cursor_color(), get_default_cursor_size(),
82     get_maximal_cursor_size(), set_double_click_distance(), get_default_group().
83   Gdk::Pixbuf: get_formats().
84   Gdk::PixbufLoader: create() now has extra bool mime_type parameter.
85   Gdk::Window: set_keep_above(), set_keep_below().
86
87   Pango:LayoutLine: get_length(), get_start_index(), and get_layout().
88