1 <!-- ##### SECTION Title ##### -->
4 <!-- ##### SECTION Short_Description ##### -->
5 Report messages of minor importance to the user
7 <!-- ##### SECTION Long_Description ##### -->
9 A #GtkStatusbar is usually placed along the bottom of an application's main
10 #GtkWindow. It may provide a regular commentary of the application's status
11 (as is usually the case in a web browser, for example), or may be used to
12 simply output a message when the status changes, (when an upload is complete
13 in an FTP client, for example).
14 It may also have a resize grip (a triangular area in the lower right corner)
15 which can be clicked on to resize the window containing the statusbar.
18 Status bars in GTK+ maintain a stack of messages. The message at
19 the top of the each bar's stack is the one that will currently be displayed.
22 Any messages added to a statusbar's stack must specify a <emphasis>context
23 id</emphasis> that is used to uniquely identify the source of a message.
24 This context id can be generated by gtk_statusbar_get_context_id(), given a
25 message and the statusbar that it will be added to. Note that messages are
26 stored in a stack, and when choosing which message to display, the stack
27 structure is adhered to, regardless of the context identifier of a message.
30 One could say that a statusbar maintains one stack of messages for display
31 purposes, but allows multiple message producers to maintain sub-stacks of
32 the messages they produced (via context ids).
35 Status bars are created using gtk_statusbar_new().
38 Messages are added to the bar's stack with gtk_statusbar_push().
41 The message at the top of the stack can be removed using gtk_statusbar_pop().
42 A message can be removed from anywhere in the stack if its message_id was
43 recorded at the time it was added. This is done using gtk_statusbar_remove().
46 <!-- ##### SECTION See_Also ##### -->
49 <!-- ##### SECTION Stability_Level ##### -->
52 <!-- ##### SECTION Image ##### -->
55 <!-- ##### STRUCT GtkStatusbar ##### -->
57 Contains private data that should be modified with the functions described
62 <!-- ##### SIGNAL GtkStatusbar::text-popped ##### -->
71 <!-- ##### SIGNAL GtkStatusbar::text-pushed ##### -->
80 <!-- ##### ARG GtkStatusbar:has-resize-grip ##### -->
85 <!-- ##### ARG GtkStatusbar:shadow-type ##### -->
90 <!-- ##### FUNCTION gtk_statusbar_new ##### -->
99 <!-- ##### FUNCTION gtk_statusbar_get_context_id ##### -->
105 @context_description:
109 <!-- ##### FUNCTION gtk_statusbar_push ##### -->
120 <!-- ##### FUNCTION gtk_statusbar_pop ##### -->
129 <!-- ##### FUNCTION gtk_statusbar_remove ##### -->
139 <!-- ##### FUNCTION gtk_statusbar_set_has_resize_grip ##### -->
148 <!-- ##### FUNCTION gtk_statusbar_get_has_resize_grip ##### -->
157 <!-- ##### FUNCTION gtk_statusbar_get_message_area ##### -->