Deprecated API

Contents

Deprecated Interfaces

DragDestinationListener
Use DragTargetListener instead.
DragSourceListener
Use DragOriginListener instead.
OptionMenuListener
Use ComboBoxListener instead.

Deprecated Classes

Combo
GListString
This class is deprecated.
ItemFactory
2.3
ItemFactoryEntry
2.3 This class contains the data necessary for an ItemFactory to create a menu.
KeySymbol
List
This class is deprecated.
OptionMenu
Replaced by ComboBox in gtk 2.3
OptionMenuEvent
Use ComboBoxEvent instead.
ToolBarChildType
ToolBarSpaceStyle

Deprecated Fields

org.gnu.gtk.CalendarDisplayOptions.WEEK_START_MONDAY
org.gnu.gtk.GtkStockItem.UNIDENT
org.gnu.gtk.event.MouseEvent.TRIPPLE_CLICK
org.gnu.gtk.ResizeMode.IMMEDIATE
per GTK API documentation.

Deprecated Methods

org.gnu.gtk.AboutDialog.setWebsite()
org.gnu.gtk.AboutDialog.setDocumenters()
Use getDocumenters() instead.
org.gnu.gtk.AboutDialog.setArtists()
Use getArtists() instead.
org.gnu.gtk.BindingSet.activateBindings(KeySymbol,ModifierType)
org.gnu.gtk.BindingSet.activateBindingSet(KeySymbol,ModifierType)
org.gnu.gtk.BindingSet.clearEntry(KeySymbol,ModifierType)
org.gnu.gtk.BindingSet.removeEntry(KeySymbol,ModifierType)
org.gnu.gtk.Calendar.getDate()
the form returning java.util.Calendar is deprecated and will be replaced.
org.gnu.gtk.Calendar.freeze()
org.gnu.gtk.Calendar.thaw()
org.gnu.gdk.Device.getDevicesList()
Use getDevices() instead.
org.gnu.gdk.Display.open(String)
org.gnu.gdk.Drawable.getSize()
use getWidth and getHeight instead.
org.gnu.gdk.Event.getGraphicsExpose(Window)
This method is intented for use with deprecated GTK widgets and as such has been deprecated.
org.gnu.glib.GObject.setPixbufProperty(String,Pixbuf)
As of libgtk-java 2.8.5, this method has been deprecated in favour of setJavaObjectProperty(String,Object).
org.gnu.glib.GObject.getPixbufProperty(String)
As of libgtk-java 2.8.5, this method has been deprecated in favour of getJavaObjectProperty(String).
org.gnu.pango.Layout.setWrapStyle(WrapMode)
org.gnu.pango.Layout.getWrapMode()
org.gnu.pango.Layout.setJustification(boolean)
org.gnu.pango.Layout.getJustified()
org.gnu.gtk.TextBuffer.removeAllTags(TextTag,TextTag)
org.gnu.gtk.TextView.setPixelsBelowLine(int)
org.gnu.gtk.ToolBar.appendWidget(Widget,String,String)
org.gnu.gtk.ToolBar.prependWidget(Widget,String,String)
org.gnu.gtk.ToolBar.insertWidget(Widget,String,String,int)
org.gnu.gtk.ToolBar.appendSpace()
org.gnu.gtk.ToolBar.prependSpace()
org.gnu.gtk.ToolBar.insertSpace(int)
org.gnu.gtk.ToolBar.removeSpace(int)
org.gnu.gtk.ToolBar.setIconSize(IconSize)
org.gnu.gtk.ToolItem.setTooltip(ToolTips,String,String)
org.gnu.gtk.TreeModel.getDataBlockCount()
use getColumnCount instead.
org.gnu.gtk.TreeView.setSearchColumn(TreeViewColumn)
This method is broken and has been deprecated in favor of the setSearchDataColumn(DataColumn) method.
org.gnu.gtk.TreeView.getSearchColumn()
This method is broken and has been deprecated in favor of the getSearchDataColumn() method.
org.gnu.glib.Type.PIXBUF()
As of libgtk-java 2.8.5, this method has been replaced by Pixbuf.getType().
org.gnu.glib.Value.setPixbuf(Pixbuf)
As of libgtk-java 2.8.5, this method has been deprecated in favour of setJavaObject(Object).
org.gnu.glib.Value.getPixbuf()
As of libgtk-java 2.8.5, this method has been deprecated in favour of getJavaObject().
org.gnu.gtk.Widget.getData(Widget,DragContext,Atom)
org.gnu.gtk.Widget.finish(DragContext,boolean,boolean)
org.gnu.gtk.Widget.highlight(Widget)
org.gnu.gtk.Widget.unHighlight(Widget)
org.gnu.gtk.Widget.addListener(DragDestinationListener)
org.gnu.gtk.Widget.removeListener(DragDestinationListener)
org.gnu.gtk.Widget.addListener(DragSourceListener)
org.gnu.gtk.Widget.removeListener(DragSourceListener)
org.gnu.gdk.Window.getWindowAt(int,int)
This method is incorrect and is deprecated in favor of getWindowAtPointer().

Deprecated Constructors

org.gnu.gdk.GC.GC(Window)
org.gnu.gtk.ToggleToolButton.ToggleToolButton(String)
org.gnu.gtk.ToolButton.ToolButton(String)