libgnomeuimm
2.28.0
|
#include <icon-list.h>
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 |
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) |
A Glib::wrap() method for this object. More... | |
|
virtual |
|
explicit |
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 |
|
inline |
Provides access to the underlying C GtkObject.
|
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 | ||
) |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
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 | ( | ) |
void on_my_focus_icon(int num)
Glib::SignalProxy2< void,Gtk::DirectionType,bool > Gnome::UI::IconList::signal_move_cursor | ( | ) |
void on_my_move_cursor(Gtk::DirectionType dir, bool clear_selection)
Glib::SignalProxy2< void,int,GdkEvent* > Gnome::UI::IconList::signal_select_icon | ( | ) |
void on_my_select_icon(int num, GdkEvent* event)
Glib::SignalProxy2< bool,int,const char* > Gnome::UI::IconList::signal_text_changed | ( | ) |
bool on_my_text_changed(int num, const char* new_text)
Glib::SignalProxy0< void > Gnome::UI::IconList::signal_toggle_cursor_selection | ( | ) |
void on_my_toggle_cursor_selection()
Glib::SignalProxy2< void,int,GdkEvent* > Gnome::UI::IconList::signal_unselect_icon | ( | ) |
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 | ) |
|
related |
A Glib::wrap() method for this object.
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. |