Commit c586762e authored by Sven Neumann's avatar Sven Neumann Committed by Sven Neumann

libgimpwidgets/libgimpwidgets-sections.txt

2007-01-02  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/libgimpwidgets-sections.txt
	* libgimpwidgets/libgimpwidgets.types
	* tools/widgets.c: added GimpRatioEntry.

	* libgimpwidgets/libgimpwidgets-docs.sgml
	* libgimpwidgets/tmpl/gimppropwidgets.sgml: regenerated.


svn path=/trunk/; revision=21619
parent a5c7d244
2007-01-02 Sven Neumann <sven@gimp.org>
* libgimpwidgets/libgimpwidgets-sections.txt
* libgimpwidgets/libgimpwidgets.types
* tools/widgets.c: added GimpRatioEntry.
* libgimpwidgets/libgimpwidgets-docs.sgml
* libgimpwidgets/tmpl/gimppropwidgets.sgml: regenerated.
2006-12-04 Sven Neumann <sven@gimp.org>
* app/app-docs.sgml
......
......@@ -48,8 +48,9 @@
<xi:include href="xml/gimppixmap.xml" />
<xi:include href="xml/gimppreviewarea.xml" />
<xi:include href="xml/gimppreview.xml" />
<xi:include href="xml/gimppropwidgets.xml" />
<xi:include href="xml/gimpratioentry.xml" />
<xi:include href="xml/gimpscrolledpreview.xml" />
<xi:include href="xml/gimpsizeentry.xml" />
<xi:include href="xml/gimpunitmenu.xml" />
</part>
......@@ -85,9 +86,9 @@
<title>GIMP Widgets Utilities</title>
<xi:include href="xml/gimphelpui.xml" />
<xi:include href="xml/gimpquerybox.xml" />
<xi:include href="xml/gimpsizeentry.xml" />
<xi:include href="xml/gimpstock.xml" />
<xi:include href="xml/gimpenumwidgets.xml" />
<xi:include href="xml/gimppropwidgets.xml" />
<xi:include href="xml/gimpwidgets.xml" />
</part>
......
......@@ -467,6 +467,26 @@ GIMP_TYPE_SIZE_ENTRY_UPDATE_POLICY
gimp_size_entry_update_policy_get_type
</SECTION>
<SECTION>
<FILE>gimpratioentry</FILE>
<TITLE>GimpRatioEntry</TITLE>
GimpRatioEntry
gimp_ratio_entry_new
gimp_ratio_entry_set_fraction
gimp_ratio_entry_get_fraction
gimp_ratio_entry_set_ratio
gimp_ratio_entry_get_ratio
<SUBSECTION Standard>
GIMP_RATIO_ENTRY
GIMP_IS_RATIO_ENTRY
GIMP_TYPE_RATIO_ENTRY
gimp_ratio_entry_get_type
GimpRatioEntryClass
GIMP_RATIO_ENTRY_CLASS
GIMP_IS_RATIO_ENTRY_CLASS
GIMP_RATIO_ENTRY_GET_CLASS
</SECTION>
<SECTION>
<FILE>gimpunitmenu</FILE>
<TITLE>GimpUnitMenu</TITLE>
......@@ -839,6 +859,7 @@ gimp_prop_label_new
gimp_prop_entry_new
gimp_prop_text_buffer_new
gimp_prop_file_chooser_button_new
gimp_prop_file_chooser_button_new_with_dialog
gimp_prop_path_editor_new
gimp_prop_size_entry_new
gimp_prop_coordinates_new
......
......@@ -36,7 +36,7 @@ gimp_pick_button_get_type
gimp_pixmap_get_type
gimp_preview_area_get_type
gimp_preview_get_type
gimp_resolution_entry_get_type
gimp_ratio_entry_get_type
gimp_scrolled_preview_get_type
gimp_size_entry_get_type
gimp_unit_menu_get_type
......
......@@ -262,6 +262,17 @@ GimpPropWidgets
@Returns:
<!-- ##### FUNCTION gimp_prop_file_chooser_button_new_with_dialog ##### -->
<para>
</para>
@config:
@property_name:
@dialog:
@Returns:
<!-- ##### FUNCTION gimp_prop_path_editor_new ##### -->
<para>
......
......@@ -613,6 +613,25 @@ create_preview_area (void)
return new_widget_info ("gimp-preview-area", vbox, MEDIUM);
}
static WidgetInfo *
create_ratio_entry (void)
{
GtkWidget *vbox;
GtkWidget *entry;
GtkWidget *align;
vbox = gtk_vbox_new (FALSE, 6);
align = gtk_alignment_new (0.5, 0.5, 0.5, 0.0);
entry = gimp_ratio_entry_new ();
gimp_ratio_entry_set_fraction (GIMP_RATIO_ENTRY (entry), 4, 3);
gtk_container_add (GTK_CONTAINER (align), entry);
gtk_box_pack_start_defaults (GTK_BOX (vbox), align);
gtk_box_pack_start (GTK_BOX (vbox),
gtk_label_new ("Ratio Entry"), FALSE, FALSE, 0);
return new_widget_info ("gimp-ratio-entry", vbox, SMALL);
}
static WidgetInfo *
create_unit_menu (void)
{
......@@ -657,6 +676,7 @@ get_all_widgets (void)
retval = g_list_append (retval, create_path_editor ());
retval = g_list_append (retval, create_pick_button ());
retval = g_list_append (retval, create_preview_area ());
retval = g_list_append (retval, create_ratio_entry ());
retval = g_list_append (retval, create_unit_menu ());
return retval;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment