forked from AuroraMiddleware/gtk
7a4c689387
2000-10-18 Havoc Pennington <hp@redhat.com> * gtk/gtk-sections.txt: Some updates * gdk/gdk-sections.txt: remove GdkPixbufAlphaMode * gdk-pixbuf/gdk-pixbuf-sections.txt: Add new API, remove GdkPixbufClass/GdkAnimationClass since those are private * gdk-pixbuf/Makefile.am (IGNORE_HFILES): ignore more headers 2000-10-18 Havoc Pennington <hp@redhat.com> * gtk/gtktextiter.c (gtk_text_iter_forward_to_newline): Fix a bug where any number of empty lines would get skipped * gtk/gtktextiter.h: Remove padding from GtkTextIter; live on the edge. * gtk/gtktextiter.c (gtk_text_iter_make_surreal): enhance the warning about invalid iterators (explain more thoroughly) (gtk_text_iter_in_region): rename gtk_text_iter_in_range * gtk/gtktextview.c (FOCUS_EDGE_WIDTH): Make focus rectangle less big * demos/*.c: Add error handling * gtk/gtktextbuffer.c: don't modify const iterators * gtk/gdk-pixbuf-loader.c: Add full error handling here * gtk/gtkimage.c (gtk_image_set_from_file): ignore errors on file load * gtk/gtkiconfactory.c: Update to reflect addition of error handling to gdk-pixbuf loaders 2000-10-16 Havoc Pennington <hp@redhat.com> * gdk-pixbuf-io.c (gdk_pixbuf_get_module) (gdk_pixbuf_get_named_module) (gdk_pixbuf_load_module): add error reporting here also * make-inline-pixbuf.c (main): use GError * io-xpm.c: include unistd.h * gdk-pixbuf-util.c: include string.h * io-*.c: add error reporting * gdk-pixbuf-animation.c (gdk_pixbuf_animation_new_from_file): add error reporting * gdk-pixbuf-io.c (gdk_pixbuf_new_from_file): Add error reporting * gdk-pixbuf-io.h: Add GError** to load_increment and load methods * gdk-pixbuf-io.c (gdk_pixbuf_save) (gdk_pixbuf_savev): return a G_FILE_ERROR if we fail to write or close the file. * gdk-pixbuf.h: remove GDK_PIXBUF_ERROR_IO, instead we'll use G_FILE_ERROR_*. Rename enum to GdkPixbufError, properly following the GError naming rules. Add GError** to load functions.
889 lines
8.5 KiB
Plaintext
889 lines
8.5 KiB
Plaintext
<!-- ##### SECTION Title ##### -->
|
|
Styles
|
|
|
|
<!-- ##### SECTION Short_Description ##### -->
|
|
|
|
|
|
<!-- ##### SECTION Long_Description ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
<!-- ##### SECTION See_Also ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
<!-- ##### MACRO GTK_STYLE_NUM_STYLECOLORS ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
|
|
|
|
<!-- ##### MACRO GTK_STYLE_ATTACHED ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@style:
|
|
|
|
|
|
<!-- ##### STRUCT GtkStyle ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@parent_instance:
|
|
@fg:
|
|
@bg:
|
|
@light:
|
|
@dark:
|
|
@mid:
|
|
@text:
|
|
@base:
|
|
@black:
|
|
@white:
|
|
@font:
|
|
@font_desc:
|
|
@xthickness:
|
|
@ythickness:
|
|
@fg_gc:
|
|
@bg_gc:
|
|
@light_gc:
|
|
@dark_gc:
|
|
@mid_gc:
|
|
@text_gc:
|
|
@base_gc:
|
|
@black_gc:
|
|
@white_gc:
|
|
@bg_pixmap:
|
|
|
|
<!-- ##### STRUCT GtkStyleClass ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@parent_class:
|
|
@realize:
|
|
@unrealize:
|
|
@copy:
|
|
@clone:
|
|
@init_from_rc:
|
|
@set_background:
|
|
@render_icon:
|
|
@draw_hline:
|
|
@draw_vline:
|
|
@draw_shadow:
|
|
@draw_polygon:
|
|
@draw_arrow:
|
|
@draw_diamond:
|
|
@draw_oval:
|
|
@draw_string:
|
|
@draw_box:
|
|
@draw_flat_box:
|
|
@draw_check:
|
|
@draw_option:
|
|
@draw_cross:
|
|
@draw_ramp:
|
|
@draw_tab:
|
|
@draw_shadow_gap:
|
|
@draw_box_gap:
|
|
@draw_extension:
|
|
@draw_focus:
|
|
@draw_slider:
|
|
@draw_handle:
|
|
|
|
<!-- ##### FUNCTION gtk_style_new ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@Returns:
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_style_copy ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@style:
|
|
@Returns:
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_style_attach ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@style:
|
|
@window:
|
|
@Returns:
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_style_detach ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@style:
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_style_ref ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@style:
|
|
@Returns:
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_style_unref ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@style:
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_style_set_background ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@style:
|
|
@window:
|
|
@state_type:
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_style_apply_default_background ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@style:
|
|
@window:
|
|
@set_bg:
|
|
@state_type:
|
|
@area:
|
|
@x:
|
|
@y:
|
|
@width:
|
|
@height:
|
|
|
|
|
|
<!-- ##### MACRO gtk_style_apply_default_pixmap ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@s:
|
|
@gw:
|
|
@st:
|
|
@a:
|
|
@x:
|
|
@y:
|
|
@w:
|
|
@h:
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_draw_hline ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@style:
|
|
@window:
|
|
@state_type:
|
|
@x1:
|
|
@x2:
|
|
@y:
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_draw_vline ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@style:
|
|
@window:
|
|
@state_type:
|
|
@y1:
|
|
@y2:
|
|
@x:
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_draw_shadow ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@style:
|
|
@window:
|
|
@state_type:
|
|
@shadow_type:
|
|
@x:
|
|
@y:
|
|
@width:
|
|
@height:
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_draw_polygon ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@style:
|
|
@window:
|
|
@state_type:
|
|
@shadow_type:
|
|
@points:
|
|
@npoints:
|
|
@fill:
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_draw_arrow ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@style:
|
|
@window:
|
|
@state_type:
|
|
@shadow_type:
|
|
@arrow_type:
|
|
@fill:
|
|
@x:
|
|
@y:
|
|
@width:
|
|
@height:
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_draw_diamond ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@style:
|
|
@window:
|
|
@state_type:
|
|
@shadow_type:
|
|
@x:
|
|
@y:
|
|
@width:
|
|
@height:
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_draw_oval ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@style:
|
|
@window:
|
|
@state_type:
|
|
@shadow_type:
|
|
@x:
|
|
@y:
|
|
@width:
|
|
@height:
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_draw_string ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@style:
|
|
@window:
|
|
@state_type:
|
|
@x:
|
|
@y:
|
|
@string:
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_draw_box ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@style:
|
|
@window:
|
|
@state_type:
|
|
@shadow_type:
|
|
@x:
|
|
@y:
|
|
@width:
|
|
@height:
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_draw_box_gap ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@style:
|
|
@window:
|
|
@state_type:
|
|
@shadow_type:
|
|
@x:
|
|
@y:
|
|
@width:
|
|
@height:
|
|
@gap_side:
|
|
@gap_x:
|
|
@gap_width:
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_draw_check ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@style:
|
|
@window:
|
|
@state_type:
|
|
@shadow_type:
|
|
@x:
|
|
@y:
|
|
@width:
|
|
@height:
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_draw_cross ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@style:
|
|
@window:
|
|
@state_type:
|
|
@shadow_type:
|
|
@x:
|
|
@y:
|
|
@width:
|
|
@height:
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_draw_extension ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@style:
|
|
@window:
|
|
@state_type:
|
|
@shadow_type:
|
|
@x:
|
|
@y:
|
|
@width:
|
|
@height:
|
|
@gap_side:
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_draw_flat_box ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@style:
|
|
@window:
|
|
@state_type:
|
|
@shadow_type:
|
|
@x:
|
|
@y:
|
|
@width:
|
|
@height:
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_draw_focus ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@style:
|
|
@window:
|
|
@x:
|
|
@y:
|
|
@width:
|
|
@height:
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_draw_handle ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@style:
|
|
@window:
|
|
@state_type:
|
|
@shadow_type:
|
|
@x:
|
|
@y:
|
|
@width:
|
|
@height:
|
|
@orientation:
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_draw_option ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@style:
|
|
@window:
|
|
@state_type:
|
|
@shadow_type:
|
|
@x:
|
|
@y:
|
|
@width:
|
|
@height:
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_draw_ramp ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@style:
|
|
@window:
|
|
@state_type:
|
|
@shadow_type:
|
|
@arrow_type:
|
|
@x:
|
|
@y:
|
|
@width:
|
|
@height:
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_draw_shadow_gap ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@style:
|
|
@window:
|
|
@state_type:
|
|
@shadow_type:
|
|
@x:
|
|
@y:
|
|
@width:
|
|
@height:
|
|
@gap_side:
|
|
@gap_x:
|
|
@gap_width:
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_draw_slider ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@style:
|
|
@window:
|
|
@state_type:
|
|
@shadow_type:
|
|
@x:
|
|
@y:
|
|
@width:
|
|
@height:
|
|
@orientation:
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_draw_tab ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@style:
|
|
@window:
|
|
@state_type:
|
|
@shadow_type:
|
|
@x:
|
|
@y:
|
|
@width:
|
|
@height:
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_paint_arrow ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@style:
|
|
@window:
|
|
@state_type:
|
|
@shadow_type:
|
|
@area:
|
|
@widget:
|
|
@detail:
|
|
@arrow_type:
|
|
@fill:
|
|
@x:
|
|
@y:
|
|
@width:
|
|
@height:
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_paint_box ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@style:
|
|
@window:
|
|
@state_type:
|
|
@shadow_type:
|
|
@area:
|
|
@widget:
|
|
@detail:
|
|
@x:
|
|
@y:
|
|
@width:
|
|
@height:
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_paint_box_gap ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@style:
|
|
@window:
|
|
@state_type:
|
|
@shadow_type:
|
|
@area:
|
|
@widget:
|
|
@detail:
|
|
@x:
|
|
@y:
|
|
@width:
|
|
@height:
|
|
@gap_side:
|
|
@gap_x:
|
|
@gap_width:
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_paint_check ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@style:
|
|
@window:
|
|
@state_type:
|
|
@shadow_type:
|
|
@area:
|
|
@widget:
|
|
@detail:
|
|
@x:
|
|
@y:
|
|
@width:
|
|
@height:
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_paint_cross ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@style:
|
|
@window:
|
|
@state_type:
|
|
@shadow_type:
|
|
@area:
|
|
@widget:
|
|
@detail:
|
|
@x:
|
|
@y:
|
|
@width:
|
|
@height:
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_paint_diamond ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@style:
|
|
@window:
|
|
@state_type:
|
|
@shadow_type:
|
|
@area:
|
|
@widget:
|
|
@detail:
|
|
@x:
|
|
@y:
|
|
@width:
|
|
@height:
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_paint_extension ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@style:
|
|
@window:
|
|
@state_type:
|
|
@shadow_type:
|
|
@area:
|
|
@widget:
|
|
@detail:
|
|
@x:
|
|
@y:
|
|
@width:
|
|
@height:
|
|
@gap_side:
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_paint_flat_box ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@style:
|
|
@window:
|
|
@state_type:
|
|
@shadow_type:
|
|
@area:
|
|
@widget:
|
|
@detail:
|
|
@x:
|
|
@y:
|
|
@width:
|
|
@height:
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_paint_focus ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@style:
|
|
@window:
|
|
@area:
|
|
@widget:
|
|
@detail:
|
|
@x:
|
|
@y:
|
|
@width:
|
|
@height:
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_paint_handle ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@style:
|
|
@window:
|
|
@state_type:
|
|
@shadow_type:
|
|
@area:
|
|
@widget:
|
|
@detail:
|
|
@x:
|
|
@y:
|
|
@width:
|
|
@height:
|
|
@orientation:
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_paint_hline ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@style:
|
|
@window:
|
|
@state_type:
|
|
@area:
|
|
@widget:
|
|
@detail:
|
|
@x1:
|
|
@x2:
|
|
@y:
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_paint_option ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@style:
|
|
@window:
|
|
@state_type:
|
|
@shadow_type:
|
|
@area:
|
|
@widget:
|
|
@detail:
|
|
@x:
|
|
@y:
|
|
@width:
|
|
@height:
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_paint_oval ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@style:
|
|
@window:
|
|
@state_type:
|
|
@shadow_type:
|
|
@area:
|
|
@widget:
|
|
@detail:
|
|
@x:
|
|
@y:
|
|
@width:
|
|
@height:
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_paint_polygon ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@style:
|
|
@window:
|
|
@state_type:
|
|
@shadow_type:
|
|
@area:
|
|
@widget:
|
|
@detail:
|
|
@points:
|
|
@npoints:
|
|
@fill:
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_paint_ramp ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@style:
|
|
@window:
|
|
@state_type:
|
|
@shadow_type:
|
|
@area:
|
|
@widget:
|
|
@detail:
|
|
@arrow_type:
|
|
@x:
|
|
@y:
|
|
@width:
|
|
@height:
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_paint_shadow ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@style:
|
|
@window:
|
|
@state_type:
|
|
@shadow_type:
|
|
@area:
|
|
@widget:
|
|
@detail:
|
|
@x:
|
|
@y:
|
|
@width:
|
|
@height:
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_paint_shadow_gap ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@style:
|
|
@window:
|
|
@state_type:
|
|
@shadow_type:
|
|
@area:
|
|
@widget:
|
|
@detail:
|
|
@x:
|
|
@y:
|
|
@width:
|
|
@height:
|
|
@gap_side:
|
|
@gap_x:
|
|
@gap_width:
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_paint_slider ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@style:
|
|
@window:
|
|
@state_type:
|
|
@shadow_type:
|
|
@area:
|
|
@widget:
|
|
@detail:
|
|
@x:
|
|
@y:
|
|
@width:
|
|
@height:
|
|
@orientation:
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_paint_string ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@style:
|
|
@window:
|
|
@state_type:
|
|
@area:
|
|
@widget:
|
|
@detail:
|
|
@x:
|
|
@y:
|
|
@string:
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_paint_tab ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@style:
|
|
@window:
|
|
@state_type:
|
|
@shadow_type:
|
|
@area:
|
|
@widget:
|
|
@detail:
|
|
@x:
|
|
@y:
|
|
@width:
|
|
@height:
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_paint_vline ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@style:
|
|
@window:
|
|
@state_type:
|
|
@area:
|
|
@widget:
|
|
@detail:
|
|
@y1:
|
|
@y2:
|
|
@x:
|
|
|
|
|