gtk2/docs/reference/gtk/tmpl/gtkframe.sgml
Soeren Sandmann 356df7f650 Make this function take an index and a GtkToolItem.
Thu Oct 23 21:55:10 2003  Soeren Sandmann  <sandmann@daimi.au.dk>

	* gtk/gtktoolbar.c (gtk_toolbar_highlight_drop_location): Make
	this function take an index and a GtkToolItem.

	* tests/testtoolbar.c (main): Make "Show Arrow" default to
	true. Make one of the separators !draw and expand.
	Update for new highlight_drop_location() API.

	* gtk/gtktoolitem.[ch]: Remove "pack_end" property

	* gtk/gtktoolbar.h: Formatting fixes.

	* gtk/gtktoolbar.c: Remove "pack_end" child property. Allow
	separator tool items to expand.
	(logical_to_physical, physical_to_logical): Fix off-by-one errors
	(Fix #125472, Marco Pesenti Gritti)

	* gtk/gtkseparatortoolitem.[ch]: Add new "draw" property.
	(gtk_separator_tool_item_expose) only draw if "draw" is TRUE. Also
	return FALSE, not TRUE.
	(gtk_separator_too_item_{set|get}_property,
	(gtk_separator_tool_item_{set|get}_draw): new functions
2003-10-25 19:58:51 +00:00

148 lines
2.3 KiB
Plaintext

<!-- ##### SECTION Title ##### -->
GtkFrame
<!-- ##### SECTION Short_Description ##### -->
A bin with a decorative frame and optional label.
<!-- ##### SECTION Long_Description ##### -->
<para>
The frame widget is a Bin that surrounds its child
with a decorative frame and an optional label.
If present, the label is drawn in a gap in the
top side of the frame. The position of the
label can be controlled with gtk_frame_set_label_align().
</para>
<!-- ##### SECTION See_Also ##### -->
<para>
</para>
<!-- ##### STRUCT GtkFrame ##### -->
<para>
</para>
<!-- ##### FUNCTION gtk_frame_new ##### -->
<para>
Create a new Frame, with optional label @label.
If @label is %NULL, the label is omitted.
</para>
@label:
@Returns:
<!-- ##### FUNCTION gtk_frame_set_label ##### -->
<para>
Set the text of the label. If @label is %NULL,
the current label, if any, is removed.
</para>
@frame:
@label:
<!-- ##### FUNCTION gtk_frame_set_label_widget ##### -->
<para>
</para>
@frame:
@label_widget:
<!-- # Unused Parameters # -->
@title_widget:
<!-- ##### FUNCTION gtk_frame_set_label_align ##### -->
<para>
Set the alignment of the Frame widget's label. The
default value for a newly created Frame is 0.0.
</para>
@frame: The Frame widget.
@xalign: The position of the label along the top edge
of the widget. A value of 0.0 represents left alignment;
1.0 represents right alignment.
@yalign: The y alignment of the label. Currently ignored.
<!-- ##### FUNCTION gtk_frame_set_shadow_type ##### -->
<para>
Set the shadow type for the Frame widget.
</para>
@frame: The Frame widget.
@type: New shadow type.
<!-- ##### FUNCTION gtk_frame_get_label ##### -->
<para>
</para>
@frame:
@Returns:
<!-- ##### FUNCTION gtk_frame_get_label_align ##### -->
<para>
</para>
@frame:
@xalign:
@yalign:
<!-- ##### FUNCTION gtk_frame_get_label_widget ##### -->
<para>
</para>
@frame:
@Returns:
<!-- ##### FUNCTION gtk_frame_get_shadow_type ##### -->
<para>
</para>
@frame:
@Returns:
<!-- ##### ARG GtkFrame:label ##### -->
<para>
</para>
<!-- ##### ARG GtkFrame:label-widget ##### -->
<para>
</para>
<!-- ##### ARG GtkFrame:label-xalign ##### -->
<para>
</para>
<!-- ##### ARG GtkFrame:label-yalign ##### -->
<para>
</para>
<!-- ##### ARG GtkFrame:shadow ##### -->
<para>
</para>
<!-- ##### ARG GtkFrame:shadow-type ##### -->
<para>
</para>