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:
1026
gtk/gtkassistant.c
1026
gtk/gtkassistant.c
File diff suppressed because it is too large
Load Diff
@ -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);
|
||||
|
Reference in New Issue
Block a user