gtk2/docs/reference/gtk/tmpl/gtkstyle.sgml
Havoc Pennington b4e4a0ed9d fix some shell typos
2001-05-04  Havoc Pennington  <hp@redhat.com>

	* configure.in: fix some shell typos

	* gtk/gtkcolorsel.c (gtk_color_selection_destroy): warning fix

	* gtk/gtkimage.c: handle animations

	* gtk/gtkcheckbutton.c (gtk_check_button_size_request): request
	border_width * 2, not just border_width

	* gtk/gtkscale.c: add "format_value" signal to allow people
	to override the way values are drawn.
	(gtk_scale_get_value_size): fix width/height mistake,
	and compute size from actual displayed text, not
	from made-up text.

	* gtk/gtktexttag.c (gtk_text_tag_class_init): fix return type in
	signal registration

	* tests/testtext.c: Add "Remove all tags" menu item for testing

	* gtk/gtktextbuffer.c (gtk_text_buffer_remove_all_tags): implement

	* demos/gtk-demo/main.c (main): add hack so we can find modules
	without installing gtk

	* demos/gtk-demo/textview.c (insert_text): demo font scaling

	* gtk/gtkcellrenderertext.c: Add "scale" property (font scaling
	factor)
	(gtk_cell_renderer_text_set_property): remove some bogus
	g_object_notify

	* gtk/gtktexttag.c: add "scale" property which is a font scaling
	factor

	* gtk/gtktextlayout.c (add_text_attrs): add font scale attribute
	to layout

	* gtk/gtktextiter.c (gtk_text_iter_is_start): rename from
	gtk_text_iter_is_first

2001-05-04  Havoc Pennington  <hp@redhat.com>

	* pixops/pixops.c (pixops_process): merge fix from stable: Patch
	 from hoshem@mel.comcen.com.au to fix nonzero X offsets.  Fixes
	 bug #50371.

        * gdk-pixbuf/pixops/pixops.c (pixops_composite_nearest): merge
	from stable: Patch from OKADA Mitsuru <m-okada@fjb.co.jp> to fix
	confusion of using "src" instead of "p".
        (pixops_composite_color_nearest): Use a more accurate (and
	correct, to begin with) compositing method.  This cures checks
	showing through on images with no alpha.

	* gdk-pixbuf.c (gdk_pixbuf_fill): fix bug that left some trailing
	bytes unfilled.

	* gdk-pixbuf-io.h: fix UpdatedNotifyFunc to use signed ints

	* gdk-pixbuf-loader.h (struct _GdkPixbufLoaderClass): Change
	area_updated signal to use signed ints.  Removed animation-related
	signals.

	* io-gif.c, io-gif-animation.h, io-gif-animation.c: Massive
	rewrite action

	* gdk-pixbuf-animation.c: Add GdkPixbufAnimationIter to abstract
	all the pesky details. Remove old frame-based API. Make
	GdkPixbufAnimation an abstract base class, derived by the loaders.
2001-05-07 15:58:47 +00:00

955 lines
9.1 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>
@fg:
@bg:
@light:
@dark:
@mid:
@text:
@base:
@text_aa:
@black:
@white:
@font:
@font_desc:
@xthickness:
@ythickness:
@fg_gc:
@bg_gc:
@light_gc:
@dark_gc:
@mid_gc:
@text_gc:
@base_gc:
@text_aa_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_string:
@draw_box:
@draw_flat_box:
@draw_check:
@draw_option:
@draw_tab:
@draw_shadow_gap:
@draw_box_gap:
@draw_extension:
@draw_focus:
@draw_slider:
@draw_handle:
@draw_expander:
@draw_layout:
@draw_resize_grip:
<!-- ##### 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_style_lookup_icon_set ##### -->
<para>
</para>
@style:
@stock_id:
@Returns:
<!-- ##### FUNCTION gtk_style_render_icon ##### -->
<para>
</para>
@style:
@source:
@direction:
@state:
@size:
@widget:
@detail:
@Returns:
<!-- ##### 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_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_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_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_draw_expander ##### -->
<para>
</para>
@style:
@window:
@state_type:
@x:
@y:
@is_open:
<!-- ##### FUNCTION gtk_draw_layout ##### -->
<para>
</para>
@style:
@window:
@state_type:
@use_text:
@x:
@y:
@layout:
<!-- ##### FUNCTION gtk_draw_resize_grip ##### -->
<para>
</para>
@style:
@window:
@state_type:
@edge:
@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_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_polygon ##### -->
<para>
</para>
@style:
@window:
@state_type:
@shadow_type:
@area:
@widget:
@detail:
@points:
@npoints:
@fill:
<!-- ##### 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:
<!-- ##### FUNCTION gtk_paint_expander ##### -->
<para>
</para>
@style:
@window:
@state_type:
@area:
@widget:
@detail:
@x:
@y:
@is_open:
<!-- ##### FUNCTION gtk_paint_layout ##### -->
<para>
</para>
@style:
@window:
@state_type:
@use_text:
@area:
@widget:
@detail:
@x:
@y:
@layout:
<!-- ##### FUNCTION gtk_paint_resize_grip ##### -->
<para>
</para>
@style:
@window:
@state_type:
@area:
@widget:
@detail:
@edge:
@x:
@y:
@width:
@height:
<!-- ##### STRUCT GtkBorder ##### -->
<para>
</para>
@left:
@right:
@top:
@bottom:
<!-- ##### FUNCTION gtk_border_copy ##### -->
<para>
</para>
@border:
@Returns:
<!-- ##### FUNCTION gtk_border_free ##### -->
<para>
</para>
@border:
<!-- ##### STRUCT GtkRcProperty ##### -->
<para>
</para>
@type_name:
@property_name:
@origin:
@value:
<!-- ##### USER_FUNCTION GtkRcPropertyParser ##### -->
<para>
</para>
@pspec:
@rc_string:
@property_value:
@Returns: