mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-14 20:51:07 +00:00
New function
2001-05-22 Havoc Pennington <hp@pobox.com> * gtk/gtkbin.c (gtk_bin_get_child): New function
This commit is contained in:
parent
92afa2ecc4
commit
b995aae44d
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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:
|
||||
|
@ -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:
|
||||
|
18
gtk/gtkbin.c
18
gtk/gtkbin.c
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user