Documented gimp_color_button and cleaned up the framework.

Seems to be working now.


--Sven
This commit is contained in:
Sven Neumann
2000-02-03 02:35:08 +00:00
parent bdad9ab156
commit bbcc2ecc7b
9 changed files with 108 additions and 6 deletions

View File

@ -2,4 +2,3 @@ Makefile
Makefile.in
html
sgml
libgimp.signals

View File

@ -55,6 +55,7 @@ libgimp_docdir = $(HTML_DIR)
EXTRA_DIST = \
libgimp.hierarchy \
libgimp.signals \
libgimp.types \
libgimp-include.c \
libgimp-decl.txt \

View File

@ -63,7 +63,7 @@
<chapter id="libgimpui">
<title>GIMP User Interface Library</title>
&GimpChainButton;
&GimpColorButton;
&GimpColorButton;
&GimpFileSelection;
&GimpPathEditor;
&GimpSizeEntry;

View File

@ -0,0 +1,42 @@
<SIGNAL>
<NAME>GimpColorButton::color-changed</NAME>
<RETURNS>void</RETURNS>
GimpColorButton *gimpcolorbutton
</SIGNAL>
<SIGNAL>
<NAME>GimpFileSelection::filename-changed</NAME>
<RETURNS>void</RETURNS>
GimpFileSelection *gimpfileselection
</SIGNAL>
<SIGNAL>
<NAME>GimpPathEditor::path-changed</NAME>
<RETURNS>void</RETURNS>
GimpPathEditor *gimppatheditor
</SIGNAL>
<SIGNAL>
<NAME>GimpSizeEntry::value-changed</NAME>
<RETURNS>void</RETURNS>
GimpSizeEntry *gimpsizeentry
</SIGNAL>
<SIGNAL>
<NAME>GimpSizeEntry::refval-changed</NAME>
<RETURNS>void</RETURNS>
GimpSizeEntry *gimpsizeentry
</SIGNAL>
<SIGNAL>
<NAME>GimpSizeEntry::unit-changed</NAME>
<RETURNS>void</RETURNS>
GimpSizeEntry *gimpsizeentry
</SIGNAL>
<SIGNAL>
<NAME>GimpUnitMenu::unit-changed</NAME>
<RETURNS>void</RETURNS>
GimpUnitMenu *gimpunitmenu
</SIGNAL>

View File

@ -2,11 +2,16 @@
GimpColorButton
<!-- ##### SECTION Short_Description ##### -->
Widget for selecting a color.
<!-- ##### SECTION Long_Description ##### -->
<para>
This widget provides a simple button with a preview showing the color.
On click a GtkColorSelectionDialog is opened. Additionally the button
supports Drag and Drop and has a right-click menu that allows to choose
the color from the current FG or BG color. If the user changes the
color, the "color_changed" signal is emitted. Note that the color is
changed in place.
</para>
<!-- ##### SECTION See_Also ##### -->