forked from AuroraMiddleware/gtk
11aed263b7
Tue May 14 16:44:09 2002 Owen Taylor <otaylor@redhat.com> * gtk/gtklabel.c (gtk_label_ensure_layout): Set the width of the layout to the actual wrap width (our requisition) not the width we set when calculating the width. This results in the lines being justified within the correct area. (#79157, Anders Carlsson) * gtk/gtkaccelgroup.c gtk/gtkmarshelers.list: Corrected registered parameter types of "accel_activate" and "accel_changed" signals. (Patch from Murray Cumming, #78798) * gtk/gtkrc.c (gtk_rc_make_default_dir): Switch binary-version and type to correspond to the current ordering in _gtk_get_module_path. (#78746, Sergey Kuzminov) * gtk/gtkrc.c (gtk_rc_get_module_dir): Add docs pointing to the GTK_PATH documentation. * gtk/Makefile.am (uninstall-local): Delete key themes as well. (#81286, Kristian Rietveld.)
945 lines
9.0 KiB
Plaintext
945 lines
9.0 KiB
Plaintext
<!-- ##### SECTION Title ##### -->
|
|
Styles
|
|
|
|
<!-- ##### SECTION Short_Description ##### -->
|
|
|
|
|
|
<!-- ##### SECTION Long_Description ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
<!-- ##### SECTION See_Also ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
<!-- ##### MACRO GTK_STYLE_ATTACHED ##### -->
|
|
<para>
|
|
Returns whether the style is attached to a window.
|
|
</para>
|
|
|
|
@style: a #GtkStyle.
|
|
|
|
|
|
<!-- ##### STRUCT GtkStyle ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@fg:
|
|
@bg:
|
|
@light:
|
|
@dark:
|
|
@mid:
|
|
@text:
|
|
@base:
|
|
@text_aa:
|
|
@black:
|
|
@white:
|
|
@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:
|
|
|
|
<!-- ##### 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_style_get_font ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@style:
|
|
@Returns:
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_style_get_font_for_display ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@display:
|
|
@style:
|
|
@Returns:
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_style_set_font ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@style:
|
|
@font:
|
|
|
|
|
|
<!-- ##### 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:
|
|
@expander_style:
|
|
<!-- # Unused Parameters # -->
|
|
@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:
|
|
@state_type:
|
|
@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:
|
|
@expander_style:
|
|
<!-- # Unused Parameters # -->
|
|
@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:
|
|
|
|
|