#include <icon-list.h>
Inheritance diagram for Gnome::UI::IconList:
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 | 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 | |||
| IconTextItem * | get_icon_text_item (int idx) | |||
| Gnome::Canvas::Pixbuf * | get_icon_pixbuf_item (int idx) | |||
| SelectionList & | selection () | |||
| const SelectionList & | selection () 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::IconList * | wrap (GnomeIconList *object, bool take_copy=false) | |||
| ||||
| virtual Gnome::UI::IconList::~IconList | ( | ) | [virtual] |
| Gnome::UI::IconList::IconList | ( | guint | icon_width = 80, |
|
| bool | is_editable = false | |||
| ) | [explicit] |
| GnomeIconList* Gnome::UI::IconList::gobj | ( | ) | [inline] |
| const GnomeIconList* Gnome::UI::IconList::gobj | ( | ) | const [inline] |
| virtual void Gnome::UI::IconList::on_select_icon | ( | int | num, | |
| GdkEvent * | event | |||
| ) | [protected, virtual] |
| virtual void Gnome::UI::IconList::on_unselect_icon | ( | int | num, | |
| GdkEvent * | event | |||
| ) | [protected, virtual] |
| virtual void Gnome::UI::IconList::on_focus_icon | ( | int | num | ) | [protected, virtual] |
| virtual bool Gnome::UI::IconList::on_text_changed | ( | int | num, | |
| const char * | new_text | |||
| ) | [protected, virtual] |
| virtual void Gnome::UI::IconList::on_move_cursor | ( | Gtk::DirectionType | dir, | |
| bool | clear_selection | |||
| ) | [protected, virtual] |
| virtual void Gnome::UI::IconList::on_toggle_cursor_selection | ( | ) | [protected, virtual] |
| void Gnome::UI::IconList::set_hadjustment | ( | Gtk::Adjustment & | hadj | ) |
Reimplemented from Gtk::Layout.
| void Gnome::UI::IconList::set_vadjustment | ( | Gtk::Adjustment & | vadj | ) |
Reimplemented from Gtk::Layout.
| void Gnome::UI::IconList::freeze | ( | ) |
| void Gnome::UI::IconList::thaw | ( | ) |
| 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 | |||
| ) |
| 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 | ( | ) |
| void Gnome::UI::IconList::remove | ( | int | pos | ) |
| guint Gnome::UI::IconList::get_num_icons | ( | ) | const |
| Gtk::SelectionMode Gnome::UI::IconList::get_selection_mode | ( | ) | const |
| void Gnome::UI::IconList::set_selection_mode | ( | Gtk::SelectionMode | mode | ) |
| void Gnome::UI::IconList::select_icon | ( | int | idx | ) |
| void Gnome::UI::IconList::unselect_icon | ( | int | idx | ) |
| int Gnome::UI::IconList::select_all | ( | ) |
| int Gnome::UI::IconList::unselect_all | ( | ) |
| void Gnome::UI::IconList::focus_icon | ( | gint | idx | ) |
| void Gnome::UI::IconList::set_icon_width | ( | int | w | ) |
| void Gnome::UI::IconList::set_row_spacing | ( | int | spacing | ) |
| void Gnome::UI::IconList::set_col_spacing | ( | int | spacing | ) |
| void Gnome::UI::IconList::set_text_spacing | ( | int | spacing | ) |
| void Gnome::UI::IconList::set_icon_border | ( | int | spacing | ) |
| void Gnome::UI::IconList::set_separators | ( | const Glib::ustring & | sep | ) |
| Glib::ustring Gnome::UI::IconList::get_icon_filename | ( | int | idx | ) | const |
| int Gnome::UI::IconList::find_icon_from_filename | ( | const Glib::ustring & | filename | ) | const |
| void Gnome::UI::IconList::set_icon_data | ( | int | pos, | |
| gpointer | data | |||
| ) |
| int Gnome::UI::IconList::find_icon_from_data | ( | gpointer | data | ) | const |
| gpointer Gnome::UI::IconList::get_icon_data | ( | int | pos | ) |
| void Gnome::UI::IconList::moveto | ( | int | pos, | |
| double | yalign | |||
| ) |
| Gtk::Visibility Gnome::UI::IconList::icon_is_visible | ( | int | pos | ) |
| int Gnome::UI::IconList::get_icon_at | ( | int | x, | |
| int | y | |||
| ) | const |
| int Gnome::UI::IconList::get_items_per_line | ( | ) | const |
| IconTextItem* Gnome::UI::IconList::get_icon_text_item | ( | int | idx | ) |
| Gnome::Canvas::Pixbuf* Gnome::UI::IconList::get_icon_pixbuf_item | ( | int | idx | ) |
| SelectionList& Gnome::UI::IconList::selection | ( | ) |
| const SelectionList& Gnome::UI::IconList::selection | ( | ) | const |
| Glib::SignalProxy2< void,int,GdkEvent* > Gnome::UI::IconList::signal_select_icon | ( | ) |
| Glib::SignalProxy2< void,int,GdkEvent* > Gnome::UI::IconList::signal_unselect_icon | ( | ) |
| Glib::SignalProxy1< void,int > Gnome::UI::IconList::signal_focus_icon | ( | ) |
| Glib::SignalProxy2< bool,int,const char* > Gnome::UI::IconList::signal_text_changed | ( | ) |
| Glib::SignalProxy2< void,Gtk::DirectionType,bool > Gnome::UI::IconList::signal_move_cursor | ( | ) |
| Glib::SignalProxy0< void > Gnome::UI::IconList::signal_toggle_cursor_selection | ( | ) |
| Gnome::UI::IconList * wrap | ( | GnomeIconList * | object, | |
| bool | take_copy = false | |||
| ) | [related] |
| object | The C instance |
| take_copy | False if the result should take ownership of the C instance. True if it should take a new copy or ref. |
1.5.1