This site has been retired. For up to date information, see handbook.gnome.org or gitlab.gnome.org.


[Home] [TitleIndex] [WordIndex

1. Overview

The ../GtkStatusbar is a subclass of GtkHBox. By default it just contains a ../GtkFrame object, which contains the messages. It can also draw a resize grip.

screenshot.png

2. Style Properties

Name

Default

Description

shadow-type

GTK_SHADOW_IN

Style of bevel around the statusbar text

Does this work for every application? It looks like gedit might not work.

3. Geometry

There are two things to note here. The statusbar has a 2 pixel spacing between each of the frames (hardcoded). The other thing is the placement and size of the resize grip. The resize grip is placed in the bottom left corner, with a padding to each side of x/ythickness. It has a maximum size of 18x18 pixel, and will be placed aligned to the bottom left.

There is no padding around the frames inside the statusbar. Just the 2 pixel between them.

4. Drawing

The statusbar only draws the resize grip itself. The detail is statusbar and state the state of ../GtkStatusbar (which will be NORMAL and sometimes INSENSITIVE I guess).

5. GTK+ API Documentation

http://library.gnome.org/devel/gtk/stable/GtkStatusbar.html


2024-10-23 10:58