Commit b995aae4 authored by Havoc Pennington's avatar Havoc Pennington Committed by Havoc Pennington

New function

2001-05-22  Havoc Pennington  <hp@pobox.com>

	* gtk/gtkbin.c (gtk_bin_get_child): New function
parent 92afa2ec
2001-05-22 Havoc Pennington <hp@pobox.com>
* gtk/gtkbin.c (gtk_bin_get_child): New function
Wed May 23 20:07:53 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtkimcontextsimple.c: Add Mode_Switch to list of keys
......
2001-05-22 Havoc Pennington <hp@pobox.com>
* gtk/gtkbin.c (gtk_bin_get_child): New function
Wed May 23 20:07:53 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtkimcontextsimple.c: Add Mode_Switch to list of keys
......
2001-05-22 Havoc Pennington <hp@pobox.com>
* gtk/gtkbin.c (gtk_bin_get_child): New function
Wed May 23 20:07:53 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtkimcontextsimple.c: Add Mode_Switch to list of keys
......
2001-05-22 Havoc Pennington <hp@pobox.com>
* gtk/gtkbin.c (gtk_bin_get_child): New function
Wed May 23 20:07:53 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtkimcontextsimple.c: Add Mode_Switch to list of keys
......
2001-05-22 Havoc Pennington <hp@pobox.com>
* gtk/gtkbin.c (gtk_bin_get_child): New function
Wed May 23 20:07:53 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtkimcontextsimple.c: Add Mode_Switch to list of keys
......
2001-05-22 Havoc Pennington <hp@pobox.com>
* gtk/gtkbin.c (gtk_bin_get_child): New function
Wed May 23 20:07:53 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtkimcontextsimple.c: Add Mode_Switch to list of keys
......
2001-05-22 Havoc Pennington <hp@pobox.com>
* gtk/gtkbin.c (gtk_bin_get_child): New function
Wed May 23 20:07:53 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtkimcontextsimple.c: Add Mode_Switch to list of keys
......
2001-05-22 Havoc Pennington <hp@pobox.com>
* gtk/gtk-sections.txt: add gtk_bin_get_child
Fri May 18 12:28:08 2001 Owen Taylor <otaylor@redhat.com>
* gtk/tmpl/gtksizegroup.sgml gtk/gtk-sections.txt gtk/gtk.types:
......
......@@ -115,6 +115,7 @@ GTK_BUTTON_BOX_GET_CLASS
<FILE>gtkbin</FILE>
<TITLE>GtkBin</TITLE>
GtkBin
gtk_bin_get_child
<SUBSECTION Standard>
GTK_BIN
GTK_IS_BIN
......
......@@ -747,6 +747,12 @@ produce superscript and subscript.
</para>
<!-- ##### ARG GtkTextView:justify ##### -->
<para>
</para>
<!-- ##### ARG GtkVScale:adjustment ##### -->
<para>
the #GtkAdjustment which sets the range of the scale.
......
......@@ -40,3 +40,12 @@ an application.)
</para>
<!-- ##### FUNCTION gtk_bin_get_child ##### -->
<para>
</para>
@bin:
@Returns:
......@@ -106,3 +106,18 @@ Sets the text displayed in the preview area.
@text: the text to display in the preview area.
<!-- ##### ARG GtkFontSelection:font-name ##### -->
<para>
</para>
<!-- ##### ARG GtkFontSelection:font ##### -->
<para>
</para>
<!-- ##### ARG GtkFontSelection:preview-text ##### -->
<para>
</para>
......@@ -495,6 +495,7 @@ This can later be composited together with other
#GtkRcStyle structures to form a #GtkStyle.
</para>
@parent_instance:
@name:
@bg_pixmap_name:
@font_desc:
......
......@@ -665,7 +665,7 @@ types related to the text widget and how they work together.
</para>
<!-- ##### ARG GtkTextView:justify ##### -->
<!-- ##### ARG GtkTextView:justification ##### -->
<para>
</para>
......@@ -690,3 +690,8 @@ types related to the text widget and how they work together.
</para>
<!-- ##### ARG GtkTextView:cursor-visible ##### -->
<para>
</para>
......@@ -35,7 +35,6 @@ GtkTreeViewColumn
@window:
@xalign:
@property_changed_signal:
@clickable_signal:
@width:
@requested_width:
@min_width:
......
......@@ -232,3 +232,21 @@ gtk_bin_forall (GtkContainer *container,
if (bin->child)
(* callback) (bin->child, callback_data);
}
/**
* gtk_bin_get_child:
* @bin: a #GtkBin
*
* Gets the child of the #GtkBin, or %NULL if the bin contains
* no child widget. The returned widget does not have a reference
* added, so you do not need to unref it.
*
* Return value: pointer to child of the #GtkBin
**/
GtkWidget*
gtk_bin_get_child (GtkBin *bin)
{
g_return_val_if_fail (GTK_IS_BIN (bin), NULL);
return bin->child;
}
......@@ -63,6 +63,7 @@ struct _GtkBinClass
GtkType gtk_bin_get_type (void) G_GNUC_CONST;
GtkWidget *gtk_bin_get_child (GtkBin *bin);
#ifdef __cplusplus
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment