head 1.8; access; symbols pkgsrc-2013Q2:1.8.0.22 pkgsrc-2013Q2-base:1.8 pkgsrc-2012Q4:1.8.0.20 pkgsrc-2012Q4-base:1.8 pkgsrc-2011Q4:1.8.0.18 pkgsrc-2011Q4-base:1.8 pkgsrc-2011Q2:1.8.0.16 pkgsrc-2011Q2-base:1.8 pkgsrc-2009Q4:1.8.0.14 pkgsrc-2009Q4-base:1.8 pkgsrc-2008Q4:1.8.0.12 pkgsrc-2008Q4-base:1.8 pkgsrc-2008Q3:1.8.0.10 pkgsrc-2008Q3-base:1.8 cube-native-xorg:1.8.0.8 cube-native-xorg-base:1.8 pkgsrc-2008Q2:1.8.0.6 pkgsrc-2008Q2-base:1.8 pkgsrc-2008Q1:1.8.0.4 pkgsrc-2008Q1-base:1.8 pkgsrc-2007Q4:1.8.0.2 pkgsrc-2007Q4-base:1.8 pkgsrc-2007Q3:1.7.0.2 pkgsrc-2007Q3-base:1.7 pkgsrc-2007Q2:1.6.0.16 pkgsrc-2007Q2-base:1.6 pkgsrc-2007Q1:1.6.0.14 pkgsrc-2007Q1-base:1.6 pkgsrc-2006Q4:1.6.0.12 pkgsrc-2006Q4-base:1.6 pkgsrc-2006Q3:1.6.0.10 pkgsrc-2006Q3-base:1.6 pkgsrc-2006Q2:1.6.0.8 pkgsrc-2006Q2-base:1.6 pkgsrc-2006Q1:1.6.0.6 pkgsrc-2006Q1-base:1.6 pkgsrc-2005Q4:1.6.0.4 pkgsrc-2005Q4-base:1.6 pkgsrc-2005Q3:1.6.0.2 pkgsrc-2005Q3-base:1.6 pkgsrc-2005Q2:1.5.0.8 pkgsrc-2005Q2-base:1.5 pkgsrc-2005Q1:1.5.0.6 pkgsrc-2005Q1-base:1.5 pkgsrc-2004Q4:1.5.0.4 pkgsrc-2004Q4-base:1.5 pkgsrc-2004Q3:1.5.0.2 pkgsrc-2004Q3-base:1.5 pkgsrc-2004Q2:1.4.0.6 pkgsrc-2004Q2-base:1.4 pkgsrc-2004Q1:1.4.0.4 pkgsrc-2004Q1-base:1.4 pkgsrc-2003Q4:1.4.0.2 pkgsrc-2003Q4-base:1.4; locks; strict; comment @# @; 1.8 date 2007.10.13.14.18.34; author adam; state dead; branches; next 1.7; 1.7 date 2007.09.22.22.56.44; author wiz; state Exp; branches; next 1.6; 1.6 date 2005.07.22.21.21.47; author adam; state dead; branches; next 1.5; 1.5 date 2004.07.05.11.04.34; author drochner; state Exp; branches; next 1.4; 1.4 date 2003.08.27.16.06.13; author adam; state Exp; branches; next 1.3; 1.3 date 2003.07.22.08.59.38; author adam; state Exp; branches; next 1.2; 1.2 date 2003.07.16.15.35.27; author adam; state Exp; branches; next 1.1; 1.1 date 2003.03.15.20.32.40; author jmmv; state Exp; branches; next ; desc @@ 1.8 log @Changes 2.12.1: * PrintOperation: Corrected a reference-counting problem that caused crashes. Changes 2.12: * New classes: Builder, RecentAction, Tooltip, VolumeButton. * Deprecated the Tooltips class. * More... @ text @$NetBSD: patch-ac,v 1.7 2007/09/22 22:56:44 wiz Exp $ --- gtk/gtkmm/toolbar.h.orig 2007-07-30 12:25:19.000000000 +0000 +++ gtk/gtkmm/toolbar.h @@@@ -136,8 +136,7 @@@@ public: void prepend(ToggleToolButton& item, const sigc::slot& toggled_slot); - /** Returns the position of @@a item on the toolbar, starting from 0. - * It is an error if @@a item is not a child of the toolbar. + /** Return value: the position of item on the toolbar. * @@param item A Gtk::ToolItem that is a child of @@a toolbar . * @@return The position of item on the toolbar. * @@@@ -145,15 +144,14 @@@@ public: */ int get_item_index(const ToolItem& item) const; - /** Returns the number of items on the toolbar. + /** Return value: the number of items on the toolbar * @@return The number of items on the toolbar * * @@newin2p4. */ int get_n_items() const; - /** Returns the @@a n <!-- -->'th item on @@a toolbar , or 0 if the - * toolbar does not contain an @@a n <!-- -->'th item. + /** Return value: The @@a n <!-- -->'th Gtk::ToolItem on @@a toolbar , or 0 if there * @@param n A position on the toolbar. * @@return The @@a n <!-- -->'th Gtk::ToolItem on @@a toolbar , or 0 if there * isn't an @@a n <!-- -->'th item. @@@@ -162,8 +160,7 @@@@ public: */ ToolItem* get_nth_item(int n); - /** Returns the @@a n <!-- -->'th item on @@a toolbar , or 0 if the - * toolbar does not contain an @@a n <!-- -->'th item. + /** Return value: The @@a n <!-- -->'th Gtk::ToolItem on @@a toolbar , or 0 if there * @@param n A position on the toolbar. * @@return The @@a n <!-- -->'th Gtk::ToolItem on @@a toolbar , or 0 if there * isn't an @@a n <!-- -->'th item. @@@@ -172,8 +169,7 @@@@ public: */ const ToolItem* get_nth_item(int n) const; - /** Returns whether the toolbar has an overflow menu. - * See set_show_arrow(). + /** Return value: true if the toolbar has an overflow menu. * @@return true if the toolbar has an overflow menu. * * @@newin2p4. @@@@ -234,28 +230,45 @@@@ public: */ void unset_toolbar_style(); - //Note that gtk_toolbar_set_icon_size() is deprecated, but gtk_toolbar_get_icon_size() is not. + //Note that gtk_toolbar_set_icon_size() and gtk_toolbar_unset_icon_size() were + //deprecated sometime before GTK+ 2.4, but were undeprecated in GTK+ 2.12. - /** Retrieves the icon size fo the toolbar. See set_icon_size(). + /** This function sets the size of stock icons in the toolbar. You + * can call it both before you add the icons and after they've been + * added. The size you set will override user preferences for the default + * icon size. + * + * This should only be used for special-purpose toolbars, normal + * application toolbars should respect the user preferences for the + * size of icons. + * + * @@newin2p12 + * @@param icon_size The Gtk::IconSize that stock icons in the toolbar shall have. + */ + void set_icon_size(IconSize icon_size); + + /** Unsets toolbar icon size set with set_icon_size(), so that + * user preferences will be used to determine the icon size. + * + * @@newin2p12 + */ + void unset_icon_size(); + + + /** Retrieves the icon size for the toolbar. See set_icon_size(). * @@return The current icon size for the icons on the toolbar. */ IconSize get_icon_size() const; - /** Returns the relief style of buttons on @@a toolbar . See - * Gtk::Button::set_relief(). + /** Return value: The relief style of buttons on @@a toolbar . * @@return The relief style of buttons on @@a toolbar . * * @@newin2p4. */ ReliefStyle get_relief_style() const; - /** Returns the position corresponding to the indicated point on - * @@a toolbar . This is useful when dragging items to the toolbar: - * this function returns the position a new item should be - * inserted. - * - * @@a x and @@a y are in @@a toolbar coordinates. + /** Return value: The position corresponding to the point ( @@a x , @@a y ) on the toolbar. * @@param x X coordinate of a point on the toolbar. * @@param y Y coordinate of a point on the toolbar. * @@return The position corresponding to the point ( @@a x , @@a y ) on the toolbar. @@@@ -324,10 +337,12 @@@@ public: Glib::SignalProxy3< bool,int,int,int > signal_popup_context_menu(); - //This is called get_tooltips_object() to avoid a clash with get_tooltips(), which just says whether they are enabled. + #ifndef GTKMM_DISABLE_DEPRECATED + //This was called get_tooltips_object() to avoid a clash with get_tooltips(), which just says whether they are enabled. + ///@@deprecated Use the Gtk::Tooltip API instead. + Tooltips* get_tooltips_object() const; + #endif //GTKMM_DISABLE_DEPRECATED - Tooltips* get_tooltips_object() const; - //This is probably the same as Container::children().size(), which is deprecated anyway? //_MEMBER_GET(num_children, num_children, int, gint) @ 1.7 log @Add three patches based on files in gtkmm-2.12.0 to fix the build with gtk2+-2.12.0. Bump PKGREVISION. In case this doesn't build with gtk2+<2.12 any longer, please add an appropriate BUILDLINK_API_DEPENDS.gtk2 line. @ text @d1 1 a1 1 $NetBSD$ @ 1.6 log @Changes 2.6.3: * Gtk::Action::get_proxies() Use the correct ownership semantics. * Gdk::Display::list_devices() Use the correct ownership semantics. * examples/book/menus_and_toolbars/ Distribute the .png file. Changes 2.6.2: * TreeView: When using the append_column() convenience API, prevent a crash when the window closes while the cell is editing. * Allow derived CellRenderers to be edited, by removing some debug code that sneaked into 2.6.1. * Documented many signals, based on the GTK+ documentation. Changes 2.6.1: * CellRenderer: Prevent an infinite loop. * MSVC++ .Net 2003 build fixes. * Documentation: - Hide deprecated widgets from the list of widgets. - Correct the description of the IO input example. Chamges 2.6.0: gtkmm 2.6 wraps new API in GTK+ 2.6, and is API/ABI-compatibile with gtkmm 2.4. @ text @d1 1 a1 1 $NetBSD: patch-ac,v 1.5 2004/07/05 11:04:34 drochner Exp $ d3 121 a123 8 --- docs/images/Makefile.in.orig 2004-06-03 19:49:17.000000000 +0200 +++ docs/images/Makefile.in @@@@ -191,7 +191,7 @@@@ EXTRA_DIST = gtkmm_logo.gif top.gif web_path_gtkmm2 = /home/groups/g/gt/gtkmm/htdocs/gtkmm2/ web_path_docs = $(web_path_gtkmm2)docs/ rsync_args = -vz --rsh ssh --delete --delete-after -gtkmm_docdir = $(datadir)/doc/gtkmm-2.0/docs +gtkmm_docdir = $(datadir)/doc/gtkmm-2.0 a124 2 # Post to the website. imagesdir = $(gtkmm_docdir)/images @ 1.5 log @update to 2.2.12, fix MASTER_SITES changes: * gtkmm 2.2.10 had an incorrect configure-time test, that mistakenly disabled some template code for gcc, used to convert from intermediate C++ containers to STL containers. For instance, this broke the gnome-vfsmm build. * TreeView::get_path_at_pos(): Correct memory management. ("David"). * ConstructParams::ConstructParams(): improvement. (Daniel Elstner). * TreePath::append(): Maybe fixed compilation for gcc 3.4. (Daniel Elstner) @ text @d1 1 a1 1 $NetBSD$ @ 1.4 log @Changes: * gcc 2.96 fix build * MS Visual C++ .Net 2003 support * Gdx::Display fix * documentation update @ text @d3 1 a3 1 --- docs/images/Makefile.in.orig 2003-08-23 09:49:27.000000000 +0200 d5 2 a6 1 @@@@ -171,7 +171,7 @@@@ web_path_gtkmm2 = /home/groups/g/gt/gtkm a8 1 a11 1 d13 1 @ 1.3 log @Changes 2.2.5: * fixed memory leak * gtkmmproc: added GMM_PROTECTED_GCLASS macro * documentation corrected @ text @d3 3 a5 3 --- docs/images/Makefile.in.orig 2003-07-21 18:53:19.000000000 +0200 +++ docs/images/Makefile.in 2003-07-22 10:20:24.000000000 +0200 @@@@ -120,7 +120,7 @@@@ @ 1.2 log @Changes for 2.2.3: bugfixes, updated examples and documentation, dispatcher ported to Win32 @ text @d3 3 a5 3 --- docs/images/Makefile.in.orig 2003-05-22 22:51:22.000000000 +0200 +++ docs/images/Makefile.in 2003-07-16 16:43:03.000000000 +0200 @@@@ -171,7 +171,7 @@@@ @ 1.1 log @Update to 2.2.1. Changes in this version: * configure depends on ATK 1.2. (Murray Cumming) * Various gtkmm/gdkmm reference-counting corrections, using refreturn. (Sven Grottke, Murray Cumming) * Gtk::Menu_Helpers::Element: lifetime refcounting fix. (Murray Cumming) * Glib: - build_path(), build_filename(): fix and performance improvement. - replace deprecated __builtin_bzero(). (Daniel Elstner) * Win32: 2.2 now builds, after lots of work. And there's an installer. (Cedric Gustin) * Documentation: - Glib::Cond documented (Rick L Vinyard Jr) - Review and completion of Gtk::AccelGroup -> Gtk::Bin (Bryan Forbes) - Minor internals docs fix. (Martin Schulze) @ text @d3 3 a5 3 --- docs/images/Makefile.in.orig 2003-03-15 18:38:26.000000000 +0000 +++ docs/images/Makefile.in @@@@ -159,7 +159,7 @@@@ web_path_gtkmm2 = /home/groups/g/gt/gtkm @