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.)
184 lines
2.7 KiB
Plaintext
184 lines
2.7 KiB
Plaintext
<!-- ##### SECTION Title ##### -->
|
|
GtkLayout
|
|
|
|
<!-- ##### SECTION Short_Description ##### -->
|
|
|
|
Infinite scrollable area containing child widgets and/or custom drawing
|
|
|
|
<!-- ##### SECTION Long_Description ##### -->
|
|
<para>
|
|
#GtkLayout is similar to #GtkDrawingArea in that it's a "blank slate"
|
|
and doesn't do anything but paint a blank background by default. It's
|
|
different in that it supports scrolling natively (you can add it to a
|
|
#GtkScrolledWindow), and it can contain child widgets, since it's a
|
|
#GtkContainer. However if you're just going to draw, a #GtkDrawingArea
|
|
is a better choice since it has lower overhead.
|
|
</para>
|
|
|
|
<para>
|
|
When handling expose events on a #GtkLayout, you must draw to
|
|
GTK_LAYOUT (layout)->bin_window, rather than to
|
|
GTK_WIDGET (layout)->window, as you would for a drawing
|
|
area.
|
|
</para>
|
|
|
|
<!-- ##### SECTION See_Also ##### -->
|
|
<para>
|
|
#GtkDrawingArea, #GtkScrolledWindow
|
|
</para>
|
|
|
|
<!-- ##### STRUCT GtkLayout ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@bin_window:
|
|
|
|
<!-- ##### FUNCTION gtk_layout_new ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@hadjustment:
|
|
@vadjustment:
|
|
@Returns:
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_layout_put ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@layout:
|
|
@child_widget:
|
|
@x:
|
|
@y:
|
|
<!-- # Unused Parameters # -->
|
|
@widget:
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_layout_move ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@layout:
|
|
@child_widget:
|
|
@x:
|
|
@y:
|
|
<!-- # Unused Parameters # -->
|
|
@widget:
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_layout_set_size ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@layout:
|
|
@width:
|
|
@height:
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_layout_get_size ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@layout:
|
|
@width:
|
|
@height:
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_layout_freeze ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@layout:
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_layout_thaw ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@layout:
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_layout_get_hadjustment ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@layout:
|
|
@Returns:
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_layout_get_vadjustment ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@layout:
|
|
@Returns:
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_layout_set_hadjustment ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@layout:
|
|
@adjustment:
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_layout_set_vadjustment ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@layout:
|
|
@adjustment:
|
|
|
|
|
|
<!-- ##### SIGNAL GtkLayout::set-scroll-adjustments ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@layout: the object which received the signal.
|
|
@arg1:
|
|
@arg2:
|
|
|
|
<!-- ##### ARG GtkLayout:hadjustment ##### -->
|
|
<para>
|
|
Horizontal scroll adjustment, see gtk_layout_set_hadjustment()
|
|
</para>
|
|
|
|
<!-- ##### ARG GtkLayout:vadjustment ##### -->
|
|
<para>
|
|
Vertical scroll adjustment, see gtk_layout_set_vadjustment()
|
|
</para>
|
|
|
|
<!-- ##### ARG GtkLayout:width ##### -->
|
|
<para>
|
|
Layout width, see gtk_layout_set_size()
|
|
</para>
|
|
|
|
<!-- ##### ARG GtkLayout:height ##### -->
|
|
<para>
|
|
Layout height, see gtk_layout_set_size()
|
|
</para>
|
|
|
|
<!-- ##### ARG GtkLayout:x ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
<!-- ##### ARG GtkLayout:y ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|