Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members

Gnome::UI::IconList Class Reference

#include <icon-list.h>

Inheritance diagram for Gnome::UI::IconList:

Gnome::Canvas::Canvas Gtk::Layout Gtk::Container Gtk::Widget Gtk::Object Glib::Object Glib::ObjectBase SigC::Object List of all members.

Public Types

typedef IconList_Helpers::SelectionList SelectionList

Public Member Functions

virtual ~IconList ()
GnomeIconList * gobj ()
 Provides access to the underlying C GtkObject.
const GnomeIconList * gobj () const
 Provides access to the underlying C GtkObject.
 IconList (guint icon_width=80, bool is_editable=false)
void set_hadjustment (Gtk::Adjustment &hadj)
void set_vadjustment (Gtk::Adjustment &vadj)
void freeze ()
void thaw ()
void insert (int pos, const Glib::ustring &icon_filename, const Glib::ustring &text)
void insert (int idx, const Glib::RefPtr< Gdk::Pixbuf > &im, const Glib::ustring &icon_filename, const Glib::ustring &text)
int append (const Glib::ustring &icon_filename, const Glib::ustring &text)
int append (const Glib::RefPtr< Gdk::Pixbuf > &im, const Glib::ustring &icon_filename, const Glib::ustring &text)
void clear ()
void remove (int pos)
guint get_num_icons () const
Gtk::SelectionMode get_selection_mode () const
void set_selection_mode (Gtk::SelectionMode mode)
void select_icon (int idx)
void unselect_icon (int idx)
int unselect_all ()
void focus_icon (gint idx)
void set_icon_width (int w)
void set_row_spacing (int spacing)
void set_col_spacing (int spacing)
void set_text_spacing (int spacing)
void set_icon_border (int spacing)
void set_separators (const Glib::ustring &sep)
Glib::ustring get_icon_filename (int idx) const
int find_icon_from_filename (const Glib::ustring &filename) const
void set_icon_data (int pos, gpointer data)
int find_icon_from_data (gpointer data) const
gpointer get_icon_data (int pos)
void moveto (int pos, double yalign)
Gtk::Visibility icon_is_visible (int pos)
int get_icon_at (int x, int y) const
int get_items_per_line () const
IconTextItemget_icon_text_item (int idx)
Gnome::Canvas::Pixbufget_icon_pixbuf_item (int idx)
SelectionListselection ()
const SelectionListselection () const
Glib::SignalProxy2< void,
int, GdkEvent * > 
signal_select_icon ()
Glib::SignalProxy2< void,
int, GdkEvent * > 
signal_unselect_icon ()
Glib::SignalProxy1< void,
int > 
signal_focus_icon ()
Glib::SignalProxy2< bool,
int, const char * > 
signal_text_changed ()
Glib::SignalProxy2< void,
Gtk::DirectionType, bool > 
signal_move_cursor ()
Glib::SignalProxy0< void > signal_toggle_cursor_selection ()

Protected Member Functions

virtual void on_select_icon (int num, GdkEvent *event)
virtual void on_unselect_icon (int num, GdkEvent *event)
virtual void on_focus_icon (int num)
virtual bool on_text_changed (int num, const char *new_text)
virtual void on_move_cursor (Gtk::DirectionType dir, bool clear_selection)
virtual void on_toggle_cursor_selection ()

Related Functions

(Note that these are not member functions.)

Gnome::UI::IconListwrap (GnomeIconList *object, bool take_copy=false)

Member Typedef Documentation

typedef IconList_Helpers::SelectionList Gnome::UI::IconList::SelectionList
 


Constructor & Destructor Documentation

virtual Gnome::UI::IconList::~IconList  )  [virtual]
 

Gnome::UI::IconList::IconList guint  icon_width = 80,
bool  is_editable = false
[explicit]
 


Member Function Documentation

int Gnome::UI::IconList::append const Glib::RefPtr< Gdk::Pixbuf > &  im,
const Glib::ustring icon_filename,
const Glib::ustring text
 

int Gnome::UI::IconList::append const Glib::ustring icon_filename,
const Glib::ustring text
 

void Gnome::UI::IconList::clear  ) 
 

int Gnome::UI::IconList::find_icon_from_data gpointer  data  )  const
 

int Gnome::UI::IconList::find_icon_from_filename const Glib::ustring filename  )  const
 

void Gnome::UI::IconList::focus_icon gint  idx  ) 
 

void Gnome::UI::IconList::freeze  ) 
 

int Gnome::UI::IconList::get_icon_at int  x,
int  y
const
 

gpointer Gnome::UI::IconList::get_icon_data int  pos  ) 
 

Glib::ustring Gnome::UI::IconList::get_icon_filename int  idx  )  const
 

Gnome::Canvas::Pixbuf* Gnome::UI::IconList::get_icon_pixbuf_item int  idx  ) 
 

IconTextItem* Gnome::UI::IconList::get_icon_text_item int  idx  ) 
 

int Gnome::UI::IconList::get_items_per_line  )  const
 

guint Gnome::UI::IconList::get_num_icons  )  const
 

Gtk::SelectionMode Gnome::UI::IconList::get_selection_mode  )  const
 

const GnomeIconList* Gnome::UI::IconList::gobj  )  const [inline]
 

Provides access to the underlying C GtkObject.

Reimplemented from Gnome::Canvas::Canvas.

GnomeIconList* Gnome::UI::IconList::gobj  )  [inline]
 

Provides access to the underlying C GtkObject.

Reimplemented from Gnome::Canvas::Canvas.

Gtk::Visibility Gnome::UI::IconList::icon_is_visible int  pos  ) 
 

void Gnome::UI::IconList::insert int  idx,
const Glib::RefPtr< Gdk::Pixbuf > &  im,
const Glib::ustring icon_filename,
const Glib::ustring text
 

void Gnome::UI::IconList::insert int  pos,
const Glib::ustring icon_filename,
const Glib::ustring text
 

void Gnome::UI::IconList::moveto int  pos,
double  yalign
 

virtual void Gnome::UI::IconList::on_focus_icon int  num  )  [protected, virtual]
 

virtual void Gnome::UI::IconList::on_move_cursor Gtk::DirectionType  dir,
bool  clear_selection
[protected, virtual]
 

virtual void Gnome::UI::IconList::on_select_icon int  num,
GdkEvent *  event
[protected, virtual]
 

virtual bool Gnome::UI::IconList::on_text_changed int  num,
const char *  new_text
[protected, virtual]
 

virtual void Gnome::UI::IconList::on_toggle_cursor_selection  )  [protected, virtual]
 

virtual void Gnome::UI::IconList::on_unselect_icon int  num,
GdkEvent *  event
[protected, virtual]
 

void Gnome::UI::IconList::remove int  pos  ) 
 

void Gnome::UI::IconList::select_icon int  idx  ) 
 

const SelectionList& Gnome::UI::IconList::selection  )  const
 

SelectionList& Gnome::UI::IconList::selection  ) 
 

void Gnome::UI::IconList::set_col_spacing int  spacing  ) 
 

void Gnome::UI::IconList::set_hadjustment Gtk::Adjustment hadj  ) 
 

Reimplemented from Gtk::Layout.

void Gnome::UI::IconList::set_icon_border int  spacing  ) 
 

void Gnome::UI::IconList::set_icon_data int  pos,
gpointer  data
 

void Gnome::UI::IconList::set_icon_width int  w  ) 
 

void Gnome::UI::IconList::set_row_spacing int  spacing  ) 
 

void Gnome::UI::IconList::set_selection_mode Gtk::SelectionMode  mode  ) 
 

void Gnome::UI::IconList::set_separators const Glib::ustring sep  ) 
 

void Gnome::UI::IconList::set_text_spacing int  spacing  ) 
 

void Gnome::UI::IconList::set_vadjustment Gtk::Adjustment vadj  ) 
 

Reimplemented from Gtk::Layout.

Glib::SignalProxy1<void,int> Gnome::UI::IconList::signal_focus_icon  ) 
 

Prototype:
void focus_icon(int num)

Glib::SignalProxy2<void,Gtk::DirectionType,bool> Gnome::UI::IconList::signal_move_cursor  ) 
 

Prototype:
void move_cursor(Gtk::DirectionType dir, bool clear_selection)

Glib::SignalProxy2<void,int,GdkEvent*> Gnome::UI::IconList::signal_select_icon  ) 
 

Prototype:
void select_icon(int num, GdkEvent* event)

Glib::SignalProxy2<bool,int,const char*> Gnome::UI::IconList::signal_text_changed  ) 
 

Prototype:
bool text_changed(int num, const char* new_text)

Glib::SignalProxy0<void> Gnome::UI::IconList::signal_toggle_cursor_selection  ) 
 

Prototype:
void toggle_cursor_selection()

Glib::SignalProxy2<void,int,GdkEvent*> Gnome::UI::IconList::signal_unselect_icon  ) 
 

Prototype:
void unselect_icon(int num, GdkEvent* event)

void Gnome::UI::IconList::thaw  ) 
 

int Gnome::UI::IconList::unselect_all  ) 
 

void Gnome::UI::IconList::unselect_icon int  idx  ) 
 


Friends And Related Function Documentation

Gnome::UI::IconList * wrap GnomeIconList *  object,
bool  take_copy = false
[related]
 


The documentation for this class was generated from the following file:
Generated on Sun Sep 11 19:05:00 2005 for libgnomeuimm by  doxygen 1.4.4