aboutsummaryrefslogtreecommitdiffstats
path: root/lib/widgets/ephy-icon-entry.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/widgets/ephy-icon-entry.c')
-rw-r--r--lib/widgets/ephy-icon-entry.c19
1 files changed, 19 insertions, 0 deletions
diff --git a/lib/widgets/ephy-icon-entry.c b/lib/widgets/ephy-icon-entry.c
index 0cb159689..6224076d5 100644
--- a/lib/widgets/ephy-icon-entry.c
+++ b/lib/widgets/ephy-icon-entry.c
@@ -319,6 +319,16 @@ ephy_icon_entry_new (void)
return GTK_WIDGET (g_object_new (EPHY_TYPE_ICON_ENTRY, NULL));
}
+/*
+ * ephy_icon_entry_pack_widget:
+ * @entry: an #EphyIconEntry
+ * @widget: a #GtkWidget to pack into the entry
+ * @start: wheter we should use gtk_box_pack_start or gtk_box_pack_end
+ *
+ * Packs a widget into an #EphyIconEntry, the @start parameter determines if
+ * it's packed at the start or end of it.
+ *
+ */
void
ephy_icon_entry_pack_widget (EphyIconEntry *entry,
GtkWidget *widget,
@@ -341,6 +351,15 @@ ephy_icon_entry_pack_widget (EphyIconEntry *entry,
}
}
+/*
+ * ephy_icon_entry_get_entry:
+ * @entry: an #EphyIconEntry
+ *
+ * Returns the #GtkEntry inside @entry.
+ *
+ * Return value: the embedded #GtkEntry
+ *
+ */
GtkWidget *
ephy_icon_entry_get_entry (EphyIconEntry *entry)
{