Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
GNOME
gtk
Commits
b995aae4
Commit
b995aae4
authored
May 25, 2001
by
Havoc Pennington
Committed by
Havoc Pennington
May 25, 2001
Browse files
New function
2001-05-22 Havoc Pennington <hp@pobox.com> * gtk/gtkbin.c (gtk_bin_get_child): New function
parent
92afa2ec
Changes
17
Hide whitespace changes
Inline
Side-by-side
ChangeLog
View file @
b995aae4
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
...
...
ChangeLog.pre-2-0
View file @
b995aae4
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
...
...
ChangeLog.pre-2-10
View file @
b995aae4
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
...
...
ChangeLog.pre-2-2
View file @
b995aae4
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
...
...
ChangeLog.pre-2-4
View file @
b995aae4
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
...
...
ChangeLog.pre-2-6
View file @
b995aae4
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
...
...
ChangeLog.pre-2-8
View file @
b995aae4
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
...
...
docs/reference/ChangeLog
View file @
b995aae4
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:
...
...
docs/reference/gtk/gtk-sections.txt
View file @
b995aae4
...
...
@@ -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
...
...
docs/reference/gtk/tmpl/gtk-unused.sgml
View file @
b995aae4
...
...
@@ -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.
...
...
docs/reference/gtk/tmpl/gtkbin.sgml
View file @
b995aae4
...
...
@@ -40,3 +40,12 @@ an application.)
</para>
<!-- ##### FUNCTION gtk_bin_get_child ##### -->
<para>
</para>
@bin:
@Returns:
docs/reference/gtk/tmpl/gtkfontsel.sgml
View file @
b995aae4
...
...
@@ -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>
docs/reference/gtk/tmpl/gtkrc.sgml
View file @
b995aae4
...
...
@@ -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:
...
...
docs/reference/gtk/tmpl/gtktextview.sgml
View file @
b995aae4
...
...
@@ -665,7 +665,7 @@ types related to the text widget and how they work together.
</para>
<!-- ##### ARG GtkTextView:justif
y
##### -->
<!-- ##### ARG GtkTextView:justif
ication
##### -->
<para>
</para>
...
...
@@ -690,3 +690,8 @@ types related to the text widget and how they work together.
</para>
<!-- ##### ARG GtkTextView:cursor-visible ##### -->
<para>
</para>
docs/reference/gtk/tmpl/gtktreeviewcolumn.sgml
View file @
b995aae4
...
...
@@ -35,7 +35,6 @@ GtkTreeViewColumn
@window:
@xalign:
@property_changed_signal:
@clickable_signal:
@width:
@requested_width:
@min_width:
...
...
gtk/gtkbin.c
View file @
b995aae4
...
...
@@ -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
;
}
gtk/gtkbin.h
View file @
b995aae4
...
...
@@ -63,6 +63,7 @@ struct _GtkBinClass
GtkType
gtk_bin_get_type
(
void
)
G_GNUC_CONST
;
GtkWidget
*
gtk_bin_get_child
(
GtkBin
*
bin
);
#ifdef __cplusplus
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment