Deprecated API


Contents
Deprecated Interfaces
org.gnu.gtk.event.DragDestinationListener
          Use DragTargetListener instead. 
org.gnu.gtk.event.DragSourceListener
          Use DragOriginListener instead. 
org.gnu.gtk.event.OptionMenuListener
          Use ComboBoxListener instead. 
 

Deprecated Classes
org.gnu.gtk.Combo
            
org.gnu.glib.GListString
          This class is deprecated. Use Java's collection classes or arrays instead. Wrapper class for glib's GList structure, specialized to hold only lists of strings. This class provides a way to translate between GList and native Java arrays and collections. For instances initially constructed at the Java layer, the class manages all of the memory pointed to by the GLib layer, so, in that case, if an instance of this class gets gc'ed then the GLib memory will be reclaimed. Some instances of this class have their origin in the GLib layer, however. For these instances, no GLib memory is reclaimed when the Java instance gets collected.

This class is not intended to provide all of the functionality of GList directly. If, for example, you are interested in interactively inserting or deleting elements, or iterating over the elements, you should do such things with Java objects, translating to and from instances of this class as needed.

The Java-Gnome bindings library is free software distributed under the terms of the GNU Library General Public License version 2.

 
org.gnu.gtk.ItemFactory
          2.3 
org.gnu.gtk.ItemFactoryEntry
          2.3 This class contains the data necessary for an ItemFactory to create a menu. 
org.gnu.gdk.KeySymbol
            
org.gnu.glib.List
          This class is deprecated. Use Java's collection classes or arrays instead. This object represents a doubly-linked list in the GLib system. This should only be used internally. This type should be converted into one of the Java container types prior to being passed to the application layer. Objects of this type should be freed by calling thre free() method. The data parameter that is being passed into many of the methods is the handle of a java-gnome object. 
org.gnu.gtk.OptionMenu
          Replaced by ComboBox in gtk 2.3 
org.gnu.gtk.event.OptionMenuEvent
          Use ComboBoxEvent instead. 
org.gnu.gtk.ToolBarChildType
            
org.gnu.gtk.ToolBarSpaceStyle
            
 

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

Deprecated Methods
org.gnu.gtk.BindingSet.activateBindings(KeySymbol, ModifierType)
            
org.gnu.gtk.BindingSet.activateBindingSet(KeySymbol, ModifierType)
            
org.gnu.gtk.Widget.addListener(DragDestinationListener)
          Use Widget.addListener(DragTargetListener) instead. 
org.gnu.gtk.Widget.addListener(DragSourceListener)
          Use Widget.addListener(DragOriginListener) instead. 
org.gnu.gtk.ToolBar.appendSpace()
            
org.gnu.gtk.ToolBar.appendWidget(Widget, String, String)
            
org.gnu.gtk.BindingSet.clearEntry(KeySymbol, ModifierType)
            
org.gnu.gtk.Widget.finish(DragContext, boolean, boolean)
          Use DragContext.finish(boolean, boolean, int) 
org.gnu.gtk.Calendar.freeze()
            
org.gnu.gtk.Widget.getData(Widget, DragContext, Atom)
          Use Widget.getDragData(DragContext, Atom, int) 
org.gnu.gtk.TreeModel.getDataBlockCount()
          use getColumnCount instead. 
org.gnu.gtk.Calendar.getDate()
          the form returning java.util.Calendar is deprecated and will be replaced. Use Calendar.getYearMonthDay() as a workaround until libgtk-java 2.10, when getDate() will return an int[3] instead. 
org.gnu.gdk.Device.getDevicesList()
          Use Device.getDevices() 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.getJustified()
            
org.gnu.glib.Value.getPixbuf()
          As of libgtk-java 2.8.5, this method has been deprecated in favour of Value.getJavaObject(). Future major version releases will have this method removed, please use with caution. 
org.gnu.glib.GObject.getPixbufProperty(String)
          As of libgtk-java 2.8.5, this method has been deprecated in favour of GObject.getJavaObjectProperty(String). Future major version releases will have this method removed. Please use with caution. 
org.gnu.gtk.TreeView.getSearchColumn()
          This method is broken and has been deprecated in favor of the TreeView.getSearchDataColumn() method. 
org.gnu.gdk.Drawable.getSize()
          use getWidth and getHeight instead. 
org.gnu.gdk.Window.getWindowAt(int, int)
          This method is incorrect and is deprecated in favor of Window.getWindowAtPointer(). 
org.gnu.pango.Layout.getWrapMode()
            
org.gnu.gtk.Widget.highlight(Widget)
          Use Widget.highlight(). 
org.gnu.gtk.ToolBar.insertSpace(int)
            
org.gnu.gtk.ToolBar.insertWidget(Widget, String, String, int)
            
org.gnu.gdk.Display.open(String)
            
org.gnu.glib.Type.PIXBUF()
          As of libgtk-java 2.8.5, this method has been replaced by Pixbuf.getType(). Future major version releases will have this method removed, please use with caution. 
org.gnu.gtk.ToolBar.prependSpace()
            
org.gnu.gtk.ToolBar.prependWidget(Widget, String, String)
            
org.gnu.gtk.TextBuffer.removeAllTags(TextTag, TextTag)
            
org.gnu.gtk.BindingSet.removeEntry(KeySymbol, ModifierType)
            
org.gnu.gtk.Widget.removeListener(DragDestinationListener)
          Use Widget.removeListener(DragTargetListener) instead. 
org.gnu.gtk.Widget.removeListener(DragSourceListener)
          Use Widget.removeListener(DragOriginListener) 
org.gnu.gtk.ToolBar.removeSpace(int)
            
org.gnu.gtk.AboutDialog.setArtists()
          Use AboutDialog.getArtists() instead. 
org.gnu.gtk.AboutDialog.setDocumenters()
          Use AboutDialog.getDocumenters() instead. 
org.gnu.gtk.ToolBar.setIconSize(IconSize)
            
org.gnu.pango.Layout.setJustification(boolean)
            
org.gnu.glib.Value.setPixbuf(Pixbuf)
          As of libgtk-java 2.8.5, this method has been deprecated in favour of Value.setJavaObject(Object). Future major version releases will have this method removed, please use with caution. 
org.gnu.glib.GObject.setPixbufProperty(String, Pixbuf)
          As of libgtk-java 2.8.5, this method has been deprecated in favour of GObject.setJavaObjectProperty(String, Object). Future major version releases will have this method removed. Please use with caution. 
org.gnu.gtk.TextView.setPixelsBelowLine(int)
          Use TextView.setPixelsBelowLines(int) instead. 
org.gnu.gtk.TreeView.setSearchColumn(TreeViewColumn)
          This method is broken and has been deprecated in favor of the TreeView.setSearchDataColumn(org.gnu.gtk.DataColumn) method. 
org.gnu.gtk.ToolItem.setTooltip(ToolTips, String, String)
            
org.gnu.gtk.AboutDialog.setWebsite()
          Use AboutDialog.getWebsite(). 
org.gnu.pango.Layout.setWrapStyle(WrapMode)
            
org.gnu.gtk.Calendar.thaw()
            
org.gnu.gtk.Widget.unHighlight(Widget)
          Use Widget.unHighlight(). 
 

Deprecated Constructors
org.gnu.gdk.GC(Window)
            
org.gnu.gtk.ToolButton(String)