forked from AuroraMiddleware/gtk
85c05a86c0
Mon Dec 8 10:54:44 2003 Owen Taylor <otaylor@redhat.com> * === Released 2.3.1 === * NEWS: Updates for 2.3.1 * configure.in: Version 2.3.1, interface age 0, binary age 301. * gtk/gtkmenuitem.c (gtk_menu_item_can_activate_accel): Rename from gtk_menu_item_real_can_activate_accel() to match GTK+ convention, improve comment. * gtk/gtkwidget.c: Document gtk_widget_can_activate_accel(), can ::can-activate-accel signal. * gtk/gtkwidget.c (closure_accel_activate): Fix spelling in comment. * gtk/gtkmenu.c (gtk_menu_real_can_activate_accel): Clean up comment. * gtk/gtkcellview{,menuitem}.[ch]: Move GET_PRIVATE() macros into the .c file. Mon Dec 8 12:09:21 2003 Owen Taylor <otaylor@redhat.com> * gtk/gtkicontheme.c (find_builtin_icon): Fix a missing 'else'. (#128816, Jorn Baayen)
148 lines
2.3 KiB
Plaintext
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>
|
|
|
|
|
|
<!-- ##### 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>
|
|
|
|
<!-- ##### 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:
|
|
|
|
|