tools/widgets.c libgimpwidgets/visual-index.xml added GimpPageSelector to
2005-07-08 Michael Natterer <mitch@gimp.org> * tools/widgets.c * libgimpwidgets/visual-index.xml * libgimpwidgets/images/gimp-page-selector.png: added GimpPageSelector to doc-shooter.
This commit is contained in:

committed by
Michael Natterer

parent
2813bcd8b7
commit
2a5be9758e
@ -1,3 +1,10 @@
|
|||||||
|
2005-07-08 Michael Natterer <mitch@gimp.org>
|
||||||
|
|
||||||
|
* tools/widgets.c
|
||||||
|
* libgimpwidgets/visual-index.xml
|
||||||
|
* libgimpwidgets/images/gimp-page-selector.png: added
|
||||||
|
GimpPageSelector to doc-shooter.
|
||||||
|
|
||||||
2005-07-07 Michael Natterer <mitch@gimp.org>
|
2005-07-07 Michael Natterer <mitch@gimp.org>
|
||||||
|
|
||||||
* libgimp*/tmpl/*.sgml: gtk-doc 1.4 added the Stability_Level
|
* libgimp*/tmpl/*.sgml: gtk-doc 1.4 added the Stability_Level
|
||||||
|
BIN
devel-docs/libgimpwidgets/images/gimp-page-selector.png
Normal file
BIN
devel-docs/libgimpwidgets/images/gimp-page-selector.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 18 KiB |
@ -46,6 +46,9 @@
|
|||||||
<link linkend="GimpOffsetArea">
|
<link linkend="GimpOffsetArea">
|
||||||
<inlinegraphic fileref="gimp-offset-area.png" format="PNG"></inlinegraphic>
|
<inlinegraphic fileref="gimp-offset-area.png" format="PNG"></inlinegraphic>
|
||||||
</link>
|
</link>
|
||||||
|
<link linkend="GimpPageSelector">
|
||||||
|
<inlinegraphic fileref="gimp-page-selector.png" format="PNG"></inlinegraphic>
|
||||||
|
</link>
|
||||||
<link linkend="GimpPathEditor">
|
<link linkend="GimpPathEditor">
|
||||||
<inlinegraphic fileref="gimp-path-editor.png" format="PNG"></inlinegraphic>
|
<inlinegraphic fileref="gimp-path-editor.png" format="PNG"></inlinegraphic>
|
||||||
</link>
|
</link>
|
||||||
|
@ -497,6 +497,25 @@ create_offset_area (void)
|
|||||||
return new_widget_info ("gimp-offset-area", vbox, LARGE);
|
return new_widget_info ("gimp-offset-area", vbox, LARGE);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
static WidgetInfo *
|
||||||
|
create_page_selector (void)
|
||||||
|
{
|
||||||
|
GtkWidget *vbox;
|
||||||
|
GtkWidget *selector;
|
||||||
|
|
||||||
|
vbox = gtk_vbox_new (FALSE, 6);
|
||||||
|
selector = gimp_page_selector_new ();
|
||||||
|
gtk_widget_set_size_request (selector, -1, 240);
|
||||||
|
gimp_page_selector_set_n_pages (GIMP_PAGE_SELECTOR (selector), 16);
|
||||||
|
gimp_page_selector_select_range (GIMP_PAGE_SELECTOR (selector),
|
||||||
|
"1,3,7-9,12-15");
|
||||||
|
gtk_box_pack_start_defaults (GTK_BOX (vbox), selector);
|
||||||
|
gtk_box_pack_start (GTK_BOX (vbox),
|
||||||
|
gtk_label_new ("Page Selector"), FALSE, FALSE, 0);
|
||||||
|
|
||||||
|
return new_widget_info ("gimp-page-selector", vbox, ASIS);
|
||||||
|
}
|
||||||
|
|
||||||
static WidgetInfo *
|
static WidgetInfo *
|
||||||
create_path_editor (void)
|
create_path_editor (void)
|
||||||
{
|
{
|
||||||
@ -623,6 +642,7 @@ get_all_widgets (void)
|
|||||||
retval = g_list_append (retval, create_int_combo_box ());
|
retval = g_list_append (retval, create_int_combo_box ());
|
||||||
retval = g_list_append (retval, create_memsize_entry ());
|
retval = g_list_append (retval, create_memsize_entry ());
|
||||||
retval = g_list_append (retval, create_offset_area ());
|
retval = g_list_append (retval, create_offset_area ());
|
||||||
|
retval = g_list_append (retval, create_page_selector ());
|
||||||
retval = g_list_append (retval, create_path_editor ());
|
retval = g_list_append (retval, create_path_editor ());
|
||||||
retval = g_list_append (retval, create_pick_button ());
|
retval = g_list_append (retval, create_pick_button ());
|
||||||
retval = g_list_append (retval, create_preview_area ());
|
retval = g_list_append (retval, create_preview_area ());
|
||||||
|
Reference in New Issue
Block a user