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
49eda9aa
Commit
49eda9aa
authored
Jan 30, 2006
by
Matthias Clasen
Browse files
Add GtkLinkButton to gallery
parent
0f61ac62
Changes
5
Hide whitespace changes
Inline
Side-by-side
docs/reference/ChangeLog
View file @
49eda9aa
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
...
...
docs/reference/gtk/Makefile.am
View file @
49eda9aa
...
...
@@ -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
\
...
...
docs/reference/gtk/images/link-button.png
0 → 100644
View file @
49eda9aa
2.46 KB
docs/reference/gtk/visual_index.xml
View file @
49eda9aa
...
...
@@ -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>
...
...
docs/tools/widgets.c
View file @
49eda9aa
...
...
@@ -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
());
...
...
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