Last chance! 50% off unlimited learning
Sale ends in
gtkStatusbarNew(show = TRUE)
gtkStatusbarGetContextId(object, context.description)
gtkStatusbarPush(object, context.id, text)
gtkStatusbarPop(object, context.id)
gtkStatusbarRemove(object, context.id, message.id)
gtkStatusbarSetHasResizeGrip(object, setting)
gtkStatusbarGetHasResizeGrip(object)
gtkStatusbar(show = TRUE)
gtkStatusbarGetContextId
, given a
message and the statusbar that it will be added to. Note that messages are
stored in a stack, and when choosing which message to display, the stack
structure is adhered to, regardless of the context identifier of a message.
One could say that a statusbar maintains one stack of messages for display
purposes, but allows multiple message producers to maintain sub-stacks of
the messages they produced (via context ids).
Status bars are created using gtkStatusbarNew
.
Messages are added to the bar's stack with gtkStatusbarPush
.
The message at the top of the stack can be removed using gtkStatusbarPop
.
A message can be removed from anywhere in the stack if its message_id was
recorded at the time it was added. This is done using gtkStatusbarRemove
.gtkStatusbar
is the equivalent of gtkStatusbarNew
.