ExoIconBar

ExoIconBar — A widget for displaying icon bars

Synopsis

#include <exo/exo.h>

                    ExoIconBar;
GtkWidget *         exo_icon_bar_new                    (void);
GtkWidget *         exo_icon_bar_new_with_model         (GtkTreeModel *model);
GtkTreeModel *      exo_icon_bar_get_model              (ExoIconBar *icon_bar);
void                exo_icon_bar_set_model              (ExoIconBar *icon_bar,
                                                         GtkTreeModel *model);
gint                exo_icon_bar_get_pixbuf_column      (ExoIconBar *icon_bar);
void                exo_icon_bar_set_pixbuf_column      (ExoIconBar *icon_bar,
                                                         gint column);
gint                exo_icon_bar_get_text_column        (ExoIconBar *icon_bar);
void                exo_icon_bar_set_text_column        (ExoIconBar *icon_bar,
                                                         gint column);
GtkOrientation      exo_icon_bar_get_orientation        (ExoIconBar *icon_bar);
void                exo_icon_bar_set_orientation        (ExoIconBar *icon_bar,
                                                         GtkOrientation orientation);
gint                exo_icon_bar_get_active             (ExoIconBar *icon_bar);
void                exo_icon_bar_set_active             (ExoIconBar *icon_bar,
                                                         gint idx);
gboolean            exo_icon_bar_get_active_iter        (ExoIconBar *icon_bar,
                                                         GtkTreeIter *iter);
void                exo_icon_bar_set_active_iter        (ExoIconBar *icon_bar,
                                                         GtkTreeIter *iter);

Object Hierarchy

  GObject
   +----GInitiallyUnowned
         +----GtkObject
               +----GtkWidget
                     +----GtkContainer
                           +----ExoIconBar

Implemented Interfaces

ExoIconBar implements AtkImplementorIface and GtkBuildable.

Properties

  "active"                   gint                  : Read / Write
  "model"                    GtkTreeModel*         : Read / Write
  "orientation"              GtkOrientation        : Read / Write
  "pixbuf-column"            gint                  : Read / Write
  "text-column"              gint                  : Read / Write

Style Properties

  "active-item-border-color" GdkColor*             : Read
  "active-item-fill-color"   GdkColor*             : Read
  "active-item-text-color"   GdkColor*             : Read
  "cursor-item-border-color" GdkColor*             : Read
  "cursor-item-fill-color"   GdkColor*             : Read
  "cursor-item-text-color"   GdkColor*             : Read

Signals

  "selection-changed"                              : Run First
  "set-scroll-adjustments"                         : Run Last

Description

A widget that displays any object that implements the GtkTreeModel interface in an icon bar.

Example 1.  Creating a new ExoIconBar with a GtkListStore

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31