summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRussell Nelson <nelson@crynwr.com>1998-03-12 18:57:46 +0000
committerRuss Nelson <nelson@src.gnome.org>1998-03-12 18:57:46 +0000
commit9a9070c26d524e8481b4673beb9ebdb1e84a724e (patch)
tree817f8fcdceba4708111fd5936a0d02499e3dd52a
parentaebd3d2df2c138dac0a93b3fc52cc7396b8056d0 (diff)
downloadgdk-pixbuf-9a9070c26d524e8481b4673beb9ebdb1e84a724e.tar.gz
new_pixmap wasn't using its filename argument. Add descriptions
Wed Mar 11 22:52:57 1998 Russell Nelson <nelson@crynwr.com> * gtk/gtktest.c: new_pixmap wasn't using its filename argument. * docs/gtk.texi: Add descriptions
-rw-r--r--ChangeLog6
-rw-r--r--ChangeLog.pre-2-06
-rw-r--r--ChangeLog.pre-2-106
-rw-r--r--ChangeLog.pre-2-26
-rw-r--r--ChangeLog.pre-2-46
-rw-r--r--ChangeLog.pre-2-66
-rw-r--r--ChangeLog.pre-2-86
-rw-r--r--docs/gtk.texi88
-rw-r--r--gtk/testgtk.c2
-rw-r--r--tests/testgtk.c2
10 files changed, 129 insertions, 5 deletions
diff --git a/ChangeLog b/ChangeLog
index 3faa9b655..4333c8e8d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Wed Mar 11 22:52:57 1998 Russell Nelson <nelson@crynwr.com>
+
+ * gtk/gtktest.c: new_pixmap wasn't using its filename argument.
+ * docs/gtk.texi: Add descriptions
+
Wed Mar 11 14:36:48 PST 1998 Shawn T. Amundson <amundson@gimp.org>
* gtk/docs/: added tutorial, changed some files around to
@@ -47,6 +52,7 @@ Thu Mar 12 06:58:17 1998 Tim Janik <timj@gimp.org>
to leak memory, for dynamically allocated keys (problem pinpointed by
Mattias Gronlund).
+>>>>>>> 1.218
Tue Mar 10 23:02:42 1998 Owen Taylor <owt1@cornell.edu>
* gdk/gdkdnd.c gtk/gtkclist.c gtk/gtksignal.c gtk/testgtk.c:
diff --git a/ChangeLog.pre-2-0 b/ChangeLog.pre-2-0
index 3faa9b655..4333c8e8d 100644
--- a/ChangeLog.pre-2-0
+++ b/ChangeLog.pre-2-0
@@ -1,3 +1,8 @@
+Wed Mar 11 22:52:57 1998 Russell Nelson <nelson@crynwr.com>
+
+ * gtk/gtktest.c: new_pixmap wasn't using its filename argument.
+ * docs/gtk.texi: Add descriptions
+
Wed Mar 11 14:36:48 PST 1998 Shawn T. Amundson <amundson@gimp.org>
* gtk/docs/: added tutorial, changed some files around to
@@ -47,6 +52,7 @@ Thu Mar 12 06:58:17 1998 Tim Janik <timj@gimp.org>
to leak memory, for dynamically allocated keys (problem pinpointed by
Mattias Gronlund).
+>>>>>>> 1.218
Tue Mar 10 23:02:42 1998 Owen Taylor <owt1@cornell.edu>
* gdk/gdkdnd.c gtk/gtkclist.c gtk/gtksignal.c gtk/testgtk.c:
diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10
index 3faa9b655..4333c8e8d 100644
--- a/ChangeLog.pre-2-10
+++ b/ChangeLog.pre-2-10
@@ -1,3 +1,8 @@
+Wed Mar 11 22:52:57 1998 Russell Nelson <nelson@crynwr.com>
+
+ * gtk/gtktest.c: new_pixmap wasn't using its filename argument.
+ * docs/gtk.texi: Add descriptions
+
Wed Mar 11 14:36:48 PST 1998 Shawn T. Amundson <amundson@gimp.org>
* gtk/docs/: added tutorial, changed some files around to
@@ -47,6 +52,7 @@ Thu Mar 12 06:58:17 1998 Tim Janik <timj@gimp.org>
to leak memory, for dynamically allocated keys (problem pinpointed by
Mattias Gronlund).
+>>>>>>> 1.218
Tue Mar 10 23:02:42 1998 Owen Taylor <owt1@cornell.edu>
* gdk/gdkdnd.c gtk/gtkclist.c gtk/gtksignal.c gtk/testgtk.c:
diff --git a/ChangeLog.pre-2-2 b/ChangeLog.pre-2-2
index 3faa9b655..4333c8e8d 100644
--- a/ChangeLog.pre-2-2
+++ b/ChangeLog.pre-2-2
@@ -1,3 +1,8 @@
+Wed Mar 11 22:52:57 1998 Russell Nelson <nelson@crynwr.com>
+
+ * gtk/gtktest.c: new_pixmap wasn't using its filename argument.
+ * docs/gtk.texi: Add descriptions
+
Wed Mar 11 14:36:48 PST 1998 Shawn T. Amundson <amundson@gimp.org>
* gtk/docs/: added tutorial, changed some files around to
@@ -47,6 +52,7 @@ Thu Mar 12 06:58:17 1998 Tim Janik <timj@gimp.org>
to leak memory, for dynamically allocated keys (problem pinpointed by
Mattias Gronlund).
+>>>>>>> 1.218
Tue Mar 10 23:02:42 1998 Owen Taylor <owt1@cornell.edu>
* gdk/gdkdnd.c gtk/gtkclist.c gtk/gtksignal.c gtk/testgtk.c:
diff --git a/ChangeLog.pre-2-4 b/ChangeLog.pre-2-4
index 3faa9b655..4333c8e8d 100644
--- a/ChangeLog.pre-2-4
+++ b/ChangeLog.pre-2-4
@@ -1,3 +1,8 @@
+Wed Mar 11 22:52:57 1998 Russell Nelson <nelson@crynwr.com>
+
+ * gtk/gtktest.c: new_pixmap wasn't using its filename argument.
+ * docs/gtk.texi: Add descriptions
+
Wed Mar 11 14:36:48 PST 1998 Shawn T. Amundson <amundson@gimp.org>
* gtk/docs/: added tutorial, changed some files around to
@@ -47,6 +52,7 @@ Thu Mar 12 06:58:17 1998 Tim Janik <timj@gimp.org>
to leak memory, for dynamically allocated keys (problem pinpointed by
Mattias Gronlund).
+>>>>>>> 1.218
Tue Mar 10 23:02:42 1998 Owen Taylor <owt1@cornell.edu>
* gdk/gdkdnd.c gtk/gtkclist.c gtk/gtksignal.c gtk/testgtk.c:
diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6
index 3faa9b655..4333c8e8d 100644
--- a/ChangeLog.pre-2-6
+++ b/ChangeLog.pre-2-6
@@ -1,3 +1,8 @@
+Wed Mar 11 22:52:57 1998 Russell Nelson <nelson@crynwr.com>
+
+ * gtk/gtktest.c: new_pixmap wasn't using its filename argument.
+ * docs/gtk.texi: Add descriptions
+
Wed Mar 11 14:36:48 PST 1998 Shawn T. Amundson <amundson@gimp.org>
* gtk/docs/: added tutorial, changed some files around to
@@ -47,6 +52,7 @@ Thu Mar 12 06:58:17 1998 Tim Janik <timj@gimp.org>
to leak memory, for dynamically allocated keys (problem pinpointed by
Mattias Gronlund).
+>>>>>>> 1.218
Tue Mar 10 23:02:42 1998 Owen Taylor <owt1@cornell.edu>
* gdk/gdkdnd.c gtk/gtkclist.c gtk/gtksignal.c gtk/testgtk.c:
diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8
index 3faa9b655..4333c8e8d 100644
--- a/ChangeLog.pre-2-8
+++ b/ChangeLog.pre-2-8
@@ -1,3 +1,8 @@
+Wed Mar 11 22:52:57 1998 Russell Nelson <nelson@crynwr.com>
+
+ * gtk/gtktest.c: new_pixmap wasn't using its filename argument.
+ * docs/gtk.texi: Add descriptions
+
Wed Mar 11 14:36:48 PST 1998 Shawn T. Amundson <amundson@gimp.org>
* gtk/docs/: added tutorial, changed some files around to
@@ -47,6 +52,7 @@ Thu Mar 12 06:58:17 1998 Tim Janik <timj@gimp.org>
to leak memory, for dynamically allocated keys (problem pinpointed by
Mattias Gronlund).
+>>>>>>> 1.218
Tue Mar 10 23:02:42 1998 Owen Taylor <owt1@cornell.edu>
* gdk/gdkdnd.c gtk/gtkclist.c gtk/gtksignal.c gtk/testgtk.c:
diff --git a/docs/gtk.texi b/docs/gtk.texi
index bc71aded7..2b4373dc8 100644
--- a/docs/gtk.texi
+++ b/docs/gtk.texi
@@ -953,6 +953,10 @@ structure directly (or, for that matter, any type derived from
@subsection Description
+Ensure that the child window has a specified aspect ratio or, if
+obey_child, has the same aspect ratio as its requested size. Derived
+from @pxref{GtkFrame}).
+
@subsection Options
@defopt label
@@ -1326,6 +1330,10 @@ function in the @var{widget} variable.
@subsection Description
+A pressable button. Contains a widget. Changes its appearance
+(hilites) when it gets the focus. Changes its appearance (pressed) when
+activated. Derived from @pxref{GtkContainer}.
+
@subsection Signals
@deftypefn Signal void GtkButton::pressed (GtkButton *@var{button})
@@ -1386,6 +1394,10 @@ pointer to a @code{GtkWidget} object. @code{NULL} is returned on failure.
@subsection Description
+Another form of toggle button (@pxref{GtkToggleButton}) with an
+indicator. Contains a widget to the right of the indicator. Changes
+its appearance (hilites) when it gets the focus.
+
@subsection Options
@subsection Signals
@@ -1426,6 +1438,11 @@ values @var{label}. The new widget is returned as a pointer to a
@subsection Description
+Derived from @pxref{GtkMenuItem}. Very similar to a checkbutton
+(@pxref{GtkCheckButton}), except that it's a menu item. Has a toggled
+state which is displayed in a small rectangle to the left of the
+contained widget.
+
@subsection Options
@defopt label
@@ -1471,6 +1488,11 @@ object. @code{NULL} is returned on failure.
@subsection Description
+A list of rows of columns, with a title row. You can insert rows, and
+delete rows. The user can scroll around and select a row. Derived from
+@pxref{GtkContainer}. Cells can be empty, have a text and/or pixmap, or
+be a widget.
+
@subsection Options
@subsection Signals
@@ -1641,6 +1663,12 @@ This is much faster then removing each item separately with
@subsection Description
+A widget that allows a user to pick a color in one of many ways. They
+can click on a color wheel or saturation bar. They can change hue,
+saturation, value, red, green, or blue with a slider, or by entering
+values. Also allows the user to set an alpha (opacity) value. Derived
+from @pxref{GtkVBox}.
+
@subsection Options
@defopt policy
@itemize @bullet
@@ -1706,6 +1734,9 @@ to a @code{GtkWidget} object. @code{NULL} is returned on failure.
@subsection Description
+Text input box which also lets you choose from pre-defined values from a
+drop-down menu. Derived from @pxref{GtkHBox}.
+
@subsection Options
@subsection Signals
@@ -1742,12 +1773,17 @@ a @code{GtkWidget} object. @code{NULL} is returned on failure.
@gtkstdmacros{Combo, COMBO}
@page
-@node GtkContainer, GtkCurve, GtkCombo, Widgets
+@node GtkContainer, GtkGammaCurve, GtkCurve, GtkCombo, Widgets
@comment node-name, next, previous, up
@section The container widget
@subsection Description
+A base class for objects that are built out of other widgets. Many
+widgets are containers. For example, a button contains a widget. That
+widget might be a text label (usually is), or a pixmap, or even an hbox
+which has a label and a pixmap.
+
@subsection Options
@defopt border_width
@@ -1817,12 +1853,14 @@ Remove @var{widget} from @var{container}.
@gtkstdmacros{Container, CONTAINER}
@page
-@node GtkCurve, GtkDialog, GtkContainer, Widgets
+@node GtkCurve, GtkGammaCurve, GtkDialog, GtkContainer, Widgets
@comment node-name, next, previous, up
@section The curve widget
@subsection Description
+Derived from @pxref{GtkDrawingArea}.
+
@subsection Options
@defopt type
@@ -1867,7 +1905,39 @@ Create a new @code{GtkCurve} returning the new widget as a pointer to a
@gtkstdmacros{Curve, CURVE}
@page
-@node GtkDialog, GtkDrawingArea, GtkCurve, Widgets
+@node GtkGammaCurve, GtkCurve, GtkDialog, GtkContainer, Widgets
+@comment node-name, next, previous, up
+@section The gamma curve widget
+
+@subsection Description
+
+Lets the user edit a gamma curve (a one-to-one mapping usually used to
+adjust the intensity of an image to the physical characteristics of the
+output device). You can set the minimum and maximum values for input
+and output. You can set the initial vector as well. You are guaranteed
+that every input value will have a (not necessarily unique) output value
+specified. Derived from @pxref{GtkVBox}. Makes use of @pxref{GtkCurve} to
+draw the curve.
+
+@subsection Options
+
+@subsection Signals
+
+@subsection Functions
+
+@deftypefun guint gtk_gamma_curve_get_type (void)
+Returns the @code{GtkGamma} type identifier.
+@end deftypefun
+
+@deftypefun GtkWidget* gtk_gamma_curve_new (void)
+Create a new @code{GtkGamma} returning the new widget as a pointer to a
+@code{GtkWidget} object.
+@end deftypefun
+
+@gtkstdmacros{GammaCurve, GAMMACURVE}
+
+@page
+@node GtkDialog, GtkDrawingArea, GtkGammaCurve, GtkCurve, Widgets
@comment node-name, next, previous, up
@section The dialog widget
@@ -1902,6 +1972,9 @@ to a @code{GtkWidget} object. @code{NULL} is returned on failure.
@subsection Description
+A base class for widgets that need a box to draw into. So far, only
+used by GtkCurve.
+
@subsection Options
@defopt width
@@ -1938,6 +2011,9 @@ Set the size of the @var{darea} widget, created previously, to @var{width} and @
@subsection Description
+Enter text into this widget. Derived from @pxref{GtkEditable}. Can be
+set so it isn't editable.
+
@subsection Options
@defopt max
@@ -2025,6 +2101,8 @@ Returns the text that is contained in the @code{GtkEntry} as a pointer to a
@subsection Description
+Derived from @pxref{GtkBin}. Used by @pxref{GtkTreeItem}.
+
@subsection Options
@subsection Signals
@@ -3582,6 +3660,10 @@ Create a new @code{GtkText} object initializing it with the values in
@subsection Description
+Another form of button (@pxref{GtkButton}) with two states: on and off.
+The appearance is that of a button which stays pressed on the first
+click, and is released on the second click.
+
@subsection Options
@defopt state
diff --git a/gtk/testgtk.c b/gtk/testgtk.c
index 4c675e8d6..d36f6f223 100644
--- a/gtk/testgtk.c
+++ b/gtk/testgtk.c
@@ -599,7 +599,7 @@ new_pixmap (char *filename,
pixmap = gdk_pixmap_create_from_xpm (window, &mask,
background,
- "test.xpm");
+ filename);
wpixmap = gtk_pixmap_new (pixmap, mask);
return wpixmap;
diff --git a/tests/testgtk.c b/tests/testgtk.c
index 4c675e8d6..d36f6f223 100644
--- a/tests/testgtk.c
+++ b/tests/testgtk.c
@@ -599,7 +599,7 @@ new_pixmap (char *filename,
pixmap = gdk_pixmap_create_from_xpm (window, &mask,
background,
- "test.xpm");
+ filename);
wpixmap = gtk_pixmap_new (pixmap, mask);
return wpixmap;