GNOME UI Library Reference Manual | |||
---|---|---|---|
<<< Previous Page | Home | Up | Next Page >>> |
#include <libgnomeui/libgnomeui.h> void gnome_window_toplevel_set_title (GtkWindow *window, const gchar *doc_name, const gchar *app_name, const gchar *extension); |
This module is a convenience wrapper for some similar functions in GTK+. This allows all GNOME applications to have a consistent way of setting their window and dialog titles. It is possible that in the future, a configurable way of setting window titles may be added.
void gnome_window_toplevel_set_title (GtkWindow *window, const gchar *doc_name, const gchar *app_name, const gchar *extension); |
Set the title of a toplevel window. This is done by appending the window-specific name (less the extension, if any) to the application name. So it appears as "<appname> : <docname>".
This parameters to this function are appopriate in that it identifies application windows as containing certain files that are being worked on at the time (for example, a word processor file, a spreadsheet or an image).