New function

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

	* gtk/gtkbin.c (gtk_bin_get_child): New function
This commit is contained in:
Havoc Pennington 2001-05-25 03:42:40 +00:00 committed by Havoc Pennington
parent 92afa2ecc4
commit b995aae44d
17 changed files with 89 additions and 2 deletions

View File

@ -1,3 +1,7 @@
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

View File

@ -1,3 +1,7 @@
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

View File

@ -1,3 +1,7 @@
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

View File

@ -1,3 +1,7 @@
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

View File

@ -1,3 +1,7 @@
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

View File

@ -1,3 +1,7 @@
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

View File

@ -1,3 +1,7 @@
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

View File

@ -1,3 +1,7 @@
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:

View File

@ -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

View File

@ -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.

View File

@ -40,3 +40,12 @@ an application.)
</para>
<!-- ##### FUNCTION gtk_bin_get_child ##### -->
<para>
</para>
@bin:
@Returns:

View File

@ -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>

View File

@ -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:

View File

@ -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>

View File

@ -35,7 +35,6 @@ GtkTreeViewColumn
@window:
@xalign:
@property_changed_signal:
@clickable_signal:
@width:
@requested_width:
@min_width:

View File

@ -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;
}

View File

@ -63,6 +63,7 @@ struct _GtkBinClass
GtkType gtk_bin_get_type (void) G_GNUC_CONST;
GtkWidget *gtk_bin_get_child (GtkBin *bin);
#ifdef __cplusplus
}