pass the modifier mask as GdkModifierType instead of guint.

2003-03-20  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/gimpbutton.[ch]: pass the modifier mask as
	GdkModifierType instead of guint.

	* app/core/gimpmarshal.list
	* app/widgets/gimpcellrenderertoggle.c
	* app/widgets/gimpcellrendererviewable.c
	* app/widgets/gimppreview.c: use proper marshallers for signals
	that take flags as parameters.

	* app/core/gimpcontext.c: added the G_SIGNAL_TYPE_STATIC_SCOPE flag
	to the GimpRGB signal parameter.

2003-03-20  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/libgimpwidgets.types
	* libgimpwidgets/tmpl/gimpbutton.sgml
	* libgimpwidgets/tmpl/gimppickbutton.sgml: improved.
This commit is contained in:
Sven Neumann
2003-03-20 13:22:22 +00:00
committed by Sven Neumann
parent c1dffc05e0
commit 166078e101
14 changed files with 62 additions and 29 deletions

View File

@ -4,6 +4,7 @@
#include "devel-docs/libgimpwidgets/libgimpwidgets-include.c"
gimp_button_get_type
gimp_chain_button_get_type
gimp_color_button_get_type
gimp_color_display_get_type

View File

@ -2,11 +2,13 @@
GimpButton
<!-- ##### SECTION Short_Description ##### -->
A #GtkButton with a little extra functionality.
<!-- ##### SECTION Long_Description ##### -->
<para>
#GimpButton adds an extra signal to the #GtkButton widget that allows
to distinguish a normal click from a click that was performed with
modifier keys pressed.
</para>
<!-- ##### SECTION See_Also ##### -->
@ -37,3 +39,11 @@ GimpButton
@state:
<!-- ##### SIGNAL GimpButton::extended-clicked ##### -->
<para>
</para>
@gimpbutton: the object which received the signal.
@arg1: the state of modifier keys when the button was clicked

View File

@ -2,11 +2,13 @@
GimpPickButton
<!-- ##### SECTION Short_Description ##### -->
Widget to pick a color from screen.
<!-- ##### SECTION Long_Description ##### -->
<para>
#GimpPickButton is a specialized button. When clicked, it changes the
cursor to a color-picker pipette and allows the user to pick a color
from any point on the screen.
</para>
<!-- ##### SECTION See_Also ##### -->
@ -34,5 +36,5 @@ GimpPickButton
</para>
@gimppickbutton: the object which received the signal.
@arg1:
@arg1: pointer to a #GimpRGB structure that holds the picked color