GtkAssistant: an new style for assistants

GtkAssistant is widely recognized as a butt-ugly widget.

This commit changes its style to look more modern. We
deprecate the sidebar and header image properties and
don't show them anymore. Instead, page titles are arranged
in a sidebar, with the title of the current page shown
in highlighted style.
This commit is contained in:
Matthias Clasen
2011-04-16 20:45:26 -04:00
parent e8413cc28e
commit c83e76fb12
2 changed files with 389 additions and 703 deletions

File diff suppressed because it is too large Load Diff

View File

@ -153,6 +153,8 @@ void gtk_assistant_set_page_title (GtkAssistant
const gchar *title);
G_CONST_RETURN gchar *gtk_assistant_get_page_title (GtkAssistant *assistant,
GtkWidget *page);
#if !defined (GTK_DISABLE_DEPRECATED) || defined (GTK_COMPILATION)
void gtk_assistant_set_page_header_image (GtkAssistant *assistant,
GtkWidget *page,
GdkPixbuf *pixbuf);
@ -163,6 +165,8 @@ void gtk_assistant_set_page_side_image (GtkAssistant
GdkPixbuf *pixbuf);
GdkPixbuf *gtk_assistant_get_page_side_image (GtkAssistant *assistant,
GtkWidget *page);
#endif
void gtk_assistant_set_page_complete (GtkAssistant *assistant,
GtkWidget *page,
gboolean complete);