Commit 49eda9aa authored by Matthias Clasen's avatar Matthias Clasen
Browse files

Add GtkLinkButton to gallery

parent 0f61ac62
2006-01-30 Matthias Clasen <mclasen@redhat.com>
* gtk/visual_index.xml: Add GtkLinkButton
* gtk/images/link-button.png: New image.
* gtk/Makefile.am: Add new files.
2006-01-29 Matthias Clasen <mclasen@redhat.com>
* gtk/visual_index.xml: Add GtkAssistant
......
......@@ -261,6 +261,7 @@ HTML_IMAGES = \
$(srcdir)/images/icon-view.png \
$(srcdir)/images/image.png \
$(srcdir)/images/label.png \
$(srcdir)/images/link-button.png \
$(srcdir)/images/list-and-tree.png \
$(srcdir)/images/menubar.png \
$(srcdir)/images/messagedialog.png \
......
......@@ -38,6 +38,9 @@
<link linkend="GtkLabel">
<inlinegraphic fileref="label.png" format="PNG"></inlinegraphic>
</link>
<link linkend="GtkLinkButton">
<inlinegraphic fileref="link-button.png" format="PNG"></inlinegraphic>
</link>
<link linkend="GtkMenuBar">
<inlinegraphic fileref="menubar.png" format="PNG"></inlinegraphic>
</link>
......
......@@ -183,6 +183,19 @@ create_check_button (void)
return new_widget_info ("check-button", align, SMALL);
}
static WidgetInfo *
create_link_button (void)
{
GtkWidget *widget;
GtkWidget *align;
widget = gtk_link_button_new_with_label ("http://www.gtk.org", "Link Button");
align = gtk_alignment_new (0.5, 0.5, 0.0, 0.0);
gtk_container_add (GTK_CONTAINER (align), widget);
return new_widget_info ("link-button", align, SMALL);
}
static WidgetInfo *
create_entry (void)
{
......@@ -885,6 +898,7 @@ get_all_widgets (void)
retval = g_list_prepend (retval, create_icon_view ());
retval = g_list_prepend (retval, create_image ());
retval = g_list_prepend (retval, create_label ());
retval = g_list_prepend (retval, create_link_button ());
retval = g_list_prepend (retval, create_menubar ());
retval = g_list_prepend (retval, create_message_dialog ());
retval = g_list_prepend (retval, create_notebook ());
......
Supports Markdown
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