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

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.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.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.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)