ANNOUNCE: GtkExtra-0.99.7



I am pleased to announce the new release of gtkextra, moving towards
1.0.0! The new version features important changes to GtkPlotCanvas and
GtkPSFont. You can embed figures and images in the canvas, as shown in
testgtkplot.

http://magnet.fsu.edu/~feiguin/gtk

Enjoy!,
<ADRIAN>

12/06/2000 Summary of changes

GtkPlotCanvas
=============

- GtkPlotCanvasItem struct removed and replaced by GtkPlotCanvasChild

- New policy for handling canvas child objects:
  GtkPlotCanvas has a field GList *childs, replacing the old GList *text.
  Now, it can contain diferent kind of objects, like 
  GTK_PLOT_CANVAS_TEXT,
  GTK_PLOT_CANVAS_LINE,
  GTK_PLOT_CANVAS_RECTANGLE,
  GTK_PLOT_CANVAS_ELLIPSE.

  These childs are predefined in the code, and you don't have to care about.
  You just use the new functions:
  gtk_plot_canvas_put_line
  gtk_plot_canvas_put_rectangle
  gtk_plot_canvas_put_ellipse

  I have included also the type GTK_PLOT_CANVAS_CUSTOM. It allows to
  define your custom childs, like the pixmap in testgtkplot.
  To do this, you should use

  child = gtk_plot_canvas_child_new(GTK_PLOT_CANVAS_CUSTOM);
  
  and define your drawing and printing routines and redirect as

  child->data = my_data;
  child->draw = my_drawing_code;
  child->print = my_printing_code;

  This should allow to insert images in the plots.
  By default, the child can only be moved. If you also want to allow to
  resize it, you should set the child->flags.
  
- You can use the following functions to set the childs' attributes
  gtk_plot_line/rectangle/ellipse_set_attributes

- I added guiding grids to the canvas. This grids can be displayed in the 
  canvas to guide the eyes, but they are not printed.

  To do so use:
  gtk_plot_canvas_grid_set_visible
  gtk_plot_canvas_grid_set_step
  gtk_plot_canvas_grid_set_attributes

- Signal handling for "select_item" has changed. Now the signal handler returns
  a GtkPlotCanvasChild struct. The contentd of the selection are in 
  child->data, and the type is declared in child->type. See the demo.

- gtk_plot_canvas_put_text has a new field "transparent". If TRUE, the text 
  background is not drawn.


GtkPlot
=======

- Silly bugfixes

- gtk_plot_put_text has a new field "transparent". If TRUE, the text 
  background is not drawn.


GtkSheet
========

- New functions
  gtk_sheet_row/column_label_set_visibility
  gtk_sheet_rows/columns_labels_set_visibility


GtkPSFont
=========

- New handling to avoid memory leaks: 
  Every time you plan to use PSfonts you should initialize the tables and
  lists using gtk_psfont_init(); inmediately after gtk_init, or at the
  begining of a subroutine.
  At the end of the program or subroutine you should use gtk_psfont_unref();

GtkFontCombo
============

- Changed to complain the new gtkpsfont concept.

GtkComboBox
===========

- Bugfix in the size allocation routine.


08/05/2000 Summary of changes

GtkPlotCanvas
=============

- GtkPlotLayout was merged with GtkPlotCanvas and removed from the dirtribution.
  All the gtk_plot_layout... functions are now called gtk_plot_canvas...

- GtkPlotCanvas has been changed to be a GtkFixed subclass.

- gtk_plot_canvas_new has a new argument "magnification"

 Magnification: 
  With gtk_plot_canvas_set_magnification you can choose the page
  magnification. The page, and all the plots contained are rescaled.
  It's completely WYSIWYG. 

GtkPlotLayout
=============

Removed from the distribution.


GtkPlot
=======

- All the functions "gtk_plot_dataset..." are now "gtk_plot_data..."

- Magnification

- Data labels: you can add individual labels to each point.

- New functions:
  gtk_plot_set_magnification
  gtk_plot_data_set_labels
  gtk_plot_data_labels_set_attributes
  gtk_plot_data_show/hide labels


GtkItemEntry
============

- GtkIEntry is now called GtkItemEntry. 

- GTK_IENTRY is now GTK_ITEM_ENTRY

GtkIconList
===========

- GtkIconList was changed to be a GtkFixed subclass. Much, much faster...
  GtkIconFileSelection is now very usable.


19/04/2000 Summary of changes

GtkPlotCanvas
=============

Completely redesigned and re-written, almost from scratch, using the same API.
The new changes will make easier to add new objects in the future, like arrows.

- New structure GtkPlotCanvasItem:

  item->type                     item->data 
------------------------------------------------
GTK_PLOT_CANVAS_PLOT		 GtkPlot *
GTK_PLOT_CANVAS_TITLE		 GtkPlotAxis *
GTK_PLOT_CANVAS_AXIS		 GtkPlotAxis *
GTK_PLOT_CANVAS_LEGEND		 GtkPlot *
GTK_PLOT_CANVAS_TEXT		 GtkPlotText *

- Signals: "select_item", "move_item", "resize_item", "select_region"

- FLAGS: 
  GTK_PLOT_CANVAS_CAN_SELECT       allows to select a region,
                                   a simple box inside a plot.
  GTK_PLOT_CANVAS_CAN_SELECT_ITEM  allows to select objects, 
                                   but not datapoints. 
  GTK_PLOT_CANVAS_CAN_SELECT_POINT allows to select datapoints, 
                                   but not other objects. 
  GTK_PLOT_CANVAS_CAN_DND          allows to DnD objects, 
                                   once selected. 
  GTK_PLOT_CANVAS_CAN_DND_POINT    allows to DnD datapoints, 
                                   once selected. 

If you want to use DnD, you have to set both flags:
GTK_PLOT_CANVAS_CAN_SELECT_ITEM and GTK_PLOT_CANVAS_CAN_DND.
If you set only CAN_SETECT_ITEM, you won't be able to DnD.
If you set only CAN_DND, it won't work if CAN_SELECT_ITEM is off.
Same for datapoints.

You already know that if your signal handler returns the value FALSE,
the selection or action will be ignored.


GtkPlot 
=======

- Memory leaks fixed in gtk_plot_finalize.

- New function: gtk_plot_remove_text.

GtkPlotLayout 
=============

- Memory leaks fixed in gtk_plot_layout_finalize.

- New function: gtk_plot_layout_remove_text.

GtkPSFont
=========

- Patched to handle multi-enconded character sets
  by Hiroyuki ARAKI <Hiroyuki.Araki@msdw.com>

GtkSheet
========

- Macro GTK_TYPE_SHEET added.


10/04/2000 Summary of changes

GtkSheet
========

- GtkSheetAttr removed. 
  New strategy for cell attributes, using cell->attributes, now. 
  Cells and their attributes are allocated.

- Memory leaks 
  Thanks to the contributions by the Applix team:
  Chris Howell, Eric Ding, and Geoffrey.

- New function: 
  gtk_sheet_button_attach. Attach widgets to the buttons (like the pixmap in
  the demo). You can also use gtk_sheet_attach.


GtkPlot (and GtkPlotPrint)
=======

- gdk_font_unrefs added.

- Improvements in the WYSIWYG output.

- Bugfixes. More about tickmarks.


GtkPlotCanvas
=============

- New signals:
  "move_text", "move_legends", "move_plot", "resize_plot"

- BugFixes.


GtkPSFont
=========

- Bugfixes. Patches by Andreas Voegele.


GtkColorCombo
=============

-Bugfixes. Size of arrays, by Andreas Voegele.


GtkIconList
===========

- gtk_icon_list_destroy fixes memory leaks.


MISC
====

- Patches to pixmaps.h by Andreas Voegele.

- spec.in file by Conrad Steenberg <conrad@srl.caltech.edu>

- more const and gboolean patches by Murray Cumming <murrayc@usa.net>

- testgtksheet.c modified to show pixmaps in buttons.

- testgtkcheck. Simple demo for gtkcheckitem by Stephen Witkop 

14/03/2000 Summary of changes

GtkPlot (and GtkPlotPrint)
=======

- Bugfixes:
     - Minor ticks drawing out of the plot frame.
     - points' xy lines drawing out of the plot frame.


GtkComboBox
===========

- size allocation.


13/03/2000 Summary of changes

GtkDirTree
==========

- Bugfixes:
     - open_dir when the path does not end with a "/"


GtkIconFileSelection
====================

- Bugfixes

- Added a label on the top-left corner with the current path.

GtkPlotCanvas
=============

- Replaced GTK_TYPE_POINTER by GTK_TYPE_GDK_EVENT in signals deffinitions.
  (Andreas Voegele)
 
GtkPlot
=======

- Bugfixes:
     - Minor ticks drawing out of the plot frame.


10/03/2000 Summary of changes

- Fixes for ANSI C, by Aaron Lehman<aaronl@vitelus.com> and 
  Arnaud Charlet <charlet@ACT-Europe.FR>

GtkSheet
--------
- gchar* arguments replaced by const gchar* (Murray Cumming <murrayc@usa.net>)

- enums have a type

- Bugfixes:
     - top-left corner button drawing.
     - gtk_sheet_get_link.  (Andreas Voegele <andreas.voegele@gmx.de>)
     - initialization and GrowSheet. (Chris Howell <chris@applix.com>)
     - fixes when frozen. Ralf Forsberg <rfg@home.se>


GtkIconList
-----------
- GdkColor argument replaced by GdkColor *
  (Emmanuel Briot <briot@gnat.com>)

- gchar* arguments replaced by const gchar* (Murray Cumming <murrayc@usa.net>)


- Bugfixes:
     - signal handlers.  (Andreas Voegele <andreas.voegele@gmx.de>)
     - icon selection.

GtkPSFont
---------

- New function names: 
     gtk_psfont_add_font
     gtk_psfont_get_font

GtkFontCombo
------------

- Default size set to 12 
  (Andreas Voegele <andreas.voegele@gmx.de>)

- New functions:
    gtk_font_combo_select
    gtk_font_combo_select_nth

GtkPlotPC
---------
- GdkColor argument replaced by GdkColor *
  (Emmanuel Briot <briot@gnat.com>)

- pc->drawstring has new arguments (font, height)

GtkPlot
-------
- gtk_plot_paint argument changed to GtkPlot* 

- GdkColor argument replaced by GdkColor*
  (Emmanuel Briot <briot@gnat.com>)

- gchar* arguments replaced by const gchar* (Murray Cumming <murrayc@usa.net>)

- gtk_plot_dataset_get_points (Andreas Voegele)

- enums have a type

- Logarithmic scales (Torsten Luettgert <shaitan@physik.TU-Berlin.DE>)

- Autoscale function: gtk_plot_autoscale
  Rearranges the visible range to display all dataset points.
  (Thanks to Aaron Lehmann <aaronl@vitelus.com> and 
   Peter Wurmsdobler <peterw@cetehor.com>. 
   Finally I did it in my own way)
 

- Text formatting. 
  Special characters:
                     \B : bold
                     \i : italics
                     \g or \8 : greek
                     \s or \_: subindices
                     \S or \^: supraindices
                     \+ : increment size
                     \- : decrement size
                     \b : backspace
                     \N : normal
                     \0, \1, \2, \3, \4, \5, \6, \7, \8, \9 : font foundry 
       
- New tick labels format GTK_PLOT_LABEL_POW. in powers of 10 with
  the exponent as a supraindex.

- gtk_plot_axis_set_ticks changed: You have to set the number of 
  minor ticks between major ticks.

- New functions:
  - gtk_plot_autoscale
  - gtk_plot_axis_set_labels
  - gtk_plot_axis_use_custom_tick_labels
  - gtk_plot_set_legends_border
  - gtk_plot_show/hide_legends
  - gtk_plot_set_x_attrributes
  - gtk_plot_set_y_attrributes
  - gtk_plot_axis_set_major_ticks
  - gtk_plot_axis_set_minor_ticks
  
- Bugfixes.

GtkPlotLayout
------------- 
- GdkColor argument replaced by GdkColor*
  (Emmanuel Briot <briot@gnat.com>)

- gchar* arguments replaced by const gchar* (Murray Cumming <murrayc@usa.net>)

- New function gtk_plot_layout_set_size.

GtkPlotCanvas
------------- 

- New function gtk_plot_canvas_set_size.
  Rescales resizing all plots to fit into the canvas with the same ratio.

- Bugfixes:
   - signal handlers (Andreas Voegele)
   - signal emission

GtkComboBox
-----------

- New function: gtk_combo_box_hide_popdown_window


21/12/1999 Adrian E. Feiguin <adrian@ifir.edu.ar>

	* gtkplotlayout.c : new function gtk_plot_layout_set_size

	* gtkplotcanvas.c : new function gtk_plot_canvas_set_size

	* gtkpsfont.c : fixes for min_height in get_gdkfont


17/12/1999 Adrian E. Feiguin <adrian@ifir.edu.ar>
	
	* Released GtkExtra 0.99.0

 
17/12/1999 Adrian E. Feiguin <adrian@ifir.edu.ar>

	* Configure script based on the ones provided by
	  Andreas Voegele <andreas.voegele@gmx.de> for GtkSheet and
	  Peter Lerner <peter.lerner@bnbt.de> for GtkPlot,
	  and GTK+.


15/12/1999 <fancois.petitjean@bureauveritas.com>

	* gtkplotpc.c : memory leaks fixes.


15/12/1999 Adrian E. Feiguin <adrian@ifir.edu.ar>

	* gtkiconlist.c : entry_out removed.

	* gtkplot.c : several functions renamed for consistence 
          gtk_plot_axis_set/get_visible,
          gtk_plot_grids_set/get_visible,
          gtk_plot_x0/y0_set/get_visible.
           





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]