libgnomeuimm  2.28.0
Public Types | Public Member Functions | Protected Member Functions | Related Functions | List of all members
Gnome::UI::IconList Class Reference

#include <icon-list.h>

Inheritance diagram for Gnome::UI::IconList:
Canvas

Public Types

typedef
IconList_Helpers::SelectionList 
SelectionList
 

Public Member Functions

virtual ~IconList ()
 
GnomeIconList * gobj ()
 Provides access to the underlying C GtkObject. More...
 
const GnomeIconList * gobj () const
 Provides access to the underlying C GtkObject. More...
 
 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 select_all ()
 
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::Pixbuf * get_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)
 A Glib::wrap() method for this object. More...
 

Member Typedef Documentation

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::ustring &  icon_filename,
const Glib::ustring &  text 
)
int Gnome::UI::IconList::append ( const Glib::RefPtr< Gdk::Pixbuf > &  im,
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
GnomeIconList* Gnome::UI::IconList::gobj ( )
inline

Provides access to the underlying C GtkObject.

const GnomeIconList* Gnome::UI::IconList::gobj ( ) const
inline

Provides access to the underlying C GtkObject.

Gtk::Visibility Gnome::UI::IconList::icon_is_visible ( int  pos)
void Gnome::UI::IconList::insert ( int  pos,
const Glib::ustring &  icon_filename,
const Glib::ustring &  text 
)
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::moveto ( int  pos,
double  yalign 
)
virtual void Gnome::UI::IconList::on_focus_icon ( int  num)
protectedvirtual
virtual void Gnome::UI::IconList::on_move_cursor ( Gtk::DirectionType  dir,
bool  clear_selection 
)
protectedvirtual
virtual void Gnome::UI::IconList::on_select_icon ( int  num,
GdkEvent *  event 
)
protectedvirtual
virtual bool Gnome::UI::IconList::on_text_changed ( int  num,
const char *  new_text 
)
protectedvirtual
virtual void Gnome::UI::IconList::on_toggle_cursor_selection ( )
protectedvirtual
virtual void Gnome::UI::IconList::on_unselect_icon ( int  num,
GdkEvent *  event 
)
protectedvirtual
void Gnome::UI::IconList::remove ( int  pos)
int Gnome::UI::IconList::select_all ( )
void Gnome::UI::IconList::select_icon ( int  idx)
SelectionList& Gnome::UI::IconList::selection ( )
const SelectionList& Gnome::UI::IconList::selection ( ) const
void Gnome::UI::IconList::set_col_spacing ( int  spacing)
void Gnome::UI::IconList::set_hadjustment ( Gtk::Adjustment &  hadj)
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)
Glib::SignalProxy1< void,int > Gnome::UI::IconList::signal_focus_icon ( )
Prototype:
void on_my_focus_icon(int num)
Glib::SignalProxy2< void,Gtk::DirectionType,bool > Gnome::UI::IconList::signal_move_cursor ( )
Prototype:
void on_my_move_cursor(Gtk::DirectionType dir, bool clear_selection)
Glib::SignalProxy2< void,int,GdkEvent* > Gnome::UI::IconList::signal_select_icon ( )
Prototype:
void on_my_select_icon(int num, GdkEvent* event)
Glib::SignalProxy2< bool,int,const char* > Gnome::UI::IconList::signal_text_changed ( )
Prototype:
bool on_my_text_changed(int num, const char* new_text)
Glib::SignalProxy0< void > Gnome::UI::IconList::signal_toggle_cursor_selection ( )
Prototype:
void on_my_toggle_cursor_selection()
Glib::SignalProxy2< void,int,GdkEvent* > Gnome::UI::IconList::signal_unselect_icon ( )
Prototype:
void on_my_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

A Glib::wrap() method for this object.

Parameters
objectThe C instance.
take_copyFalse if the result should take ownership of the C instance. True if it should take a new copy or ref.
Returns
A C++ instance that wraps this C instance.

The documentation for this class was generated from the following file: