b9716613de
GTK+-2.4 adds significant new functionality while maintaining source and binary compatibility with GTK+-2.2. Highlights of new features and improvements in GTK+-2.4 are: New file selector widget The new GtkFileChooser widgets provide a radically simplified and improved way for users to select files. Capabilities such as customizable filters and previews are now available for application writers. The filesystem access is encapsulated as a dynamically loaded module; as an example of what this allows, libgnomeui now provides a gnome-vfs backend for GtkFileChooser so that it has the same view of remote filesystems as applications such Nautilus. New drop-down selection widget The GtkComboBox widget replaces the old GtkOptionMenu and GtkCombo widgets with a single unified appearance and programming interface for both editable and non-editable dropdowns. Other enhancements provided include customizability of the main display widget and grid layouts for the drop-down menu. Action-based toolbar and menu API GtkUIManager allows the application to specify a set of "actions", then create menus and toolbars using those actions from an XML-like interface description. This separation makes it easier to coordinate having the same item both in a menu and in a toolbar and simplifies the implementation of toolbar editing. Bidirectional editing and interface flipping improvements GTK+ now automatically determines the base direction for label and text-entry widgets based on their contents, rather than requiring it to be specified by the application; this gives a much better user experience when editing mixed right-to-left and left-to-right text. Support for user-interface mirroring in right-to-left locales has now been extended to cover virtually all widgets. Other enhancements: - The GtkTreeModelFilter tree model allows displaying a filtered view of another tree model - GtkTreeView now supports a fixed-height-mode for faster display. - GtkToolbar has been reworked to provide a more consistent and extensible programming interface along with new features such as an overflow menu and animated editing feedback. - GtkEntry now supports completion dropdowns. - Named icons via the freedesktop.org icon theme specification are now supported. - gdk-pixbuf improvements include a PCX loader and saving support for the ICO and CUR formats. - Round trips to the X server at application startup and during operations such as drag-and-drop have been greatly reduced.
32 lines
969 B
Makefile
32 lines
969 B
Makefile
# $NetBSD: buildlink3.mk,v 1.9 2004/04/01 18:15:41 jmmv Exp $
|
|
|
|
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
|
|
GTK2_BUILDLINK3_MK:= ${GTK2_BUILDLINK3_MK}+
|
|
|
|
.if !empty(BUILDLINK_DEPTH:M+)
|
|
BUILDLINK_DEPENDS+= gtk2
|
|
.endif
|
|
|
|
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ngtk2}
|
|
BUILDLINK_PACKAGES+= gtk2
|
|
|
|
.if !empty(GTK2_BUILDLINK3_MK:M+)
|
|
BUILDLINK_PKGBASE.gtk2?= gtk2+
|
|
BUILDLINK_DEPENDS.gtk2+= gtk2+>=2.4.0
|
|
BUILDLINK_PKGSRCDIR.gtk2?= ../../x11/gtk2
|
|
.endif # GTK2_BUILDLINK3_MK
|
|
|
|
USE_X11= yes
|
|
|
|
.include "../../devel/atk/buildlink3.mk"
|
|
.include "../../devel/gettext-lib/buildlink3.mk"
|
|
.include "../../devel/glib2/buildlink3.mk"
|
|
.include "../../devel/pango/buildlink3.mk"
|
|
.include "../../graphics/freetype2/buildlink3.mk"
|
|
.include "../../graphics/jpeg/buildlink3.mk"
|
|
.include "../../graphics/png/buildlink3.mk"
|
|
.include "../../graphics/tiff/buildlink3.mk"
|
|
.include "../../x11/xcursor/buildlink3.mk"
|
|
.include "../../x11/Xrandr/buildlink3.mk"
|
|
|
|
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
|