logo top
Main Page   Widgets   Namespaces   Book  

Atk::Selection Class Reference

Inheritance diagram for Atk::Selection:

Inheritance graph
[legend]
List of all members.

Public Member Functions

virtual ~Selection ()
AtkSelection* gobj ()
 Provides access to the underlying C GObject.

const AtkSelection* gobj () const
 Provides access to the underlying C GObject.

bool add_selection (int i)
 Adds the specified accessible child of the object to the object's selection.

bool clear_selection ()
 Clears the selection in the object so that no children in the object are selected.

Glib::RefPtr<Atk::Objectget_selection (int i)
 Gets a reference to the accessible object representing the specified selected child of the object.

int get_selection_count () const
 Gets the number of accessible children currently selected.

bool is_child_selected (int i) const
 Determines if the current child of this object is selected.

bool remove_selection (int i)
 Removes the specified child of the object from the object's selection.

bool select_all_selection ()
 Causes every child of the object to be selected if the object supports multiple selections.

Glib::SignalProxy0<void> signal_selection_changed ()

Static Public Member Functions

void add_interface (GType gtype_implementer)

Protected Member Functions

virtual bool add_selection_vfunc (int i)
virtual bool clear_selection_vfunc ()
virtual Glib::RefPtr<Atk::Objectget_selection_vfunc (int i)
virtual int get_selection_count_vfunc ()
virtual bool is_child_selected_vfunc (int i)
virtual bool remove_selection_vfunc (int i)
virtual bool select_all_selection_vfunc ()
virtual void on_selection_changed ()

Related Functions

(Note that these are not member functions.)

Glib::RefPtr<Atk::Selectionwrap (AtkSelection* object, bool take_copy=false)

Constructor & Destructor Documentation

virtual Atk::Selection::~Selection (  )  [virtual]
 


Member Function Documentation

void Atk::Selection::add_interface ( GType  gtype_implementer  )  [static]
 

bool Atk::Selection::add_selection ( int  i  ) 
 

Adds the specified accessible child of the object to the object's selection.

Parameters:
i A int specifying the child index.
Returns:
true if success, false otherwise.

virtual bool Atk::Selection::add_selection_vfunc ( int  i  )  [protected, virtual]
 

bool Atk::Selection::clear_selection (  ) 
 

Clears the selection in the object so that no children in the object are selected.

Returns:
true if success, false otherwise.

virtual bool Atk::Selection::clear_selection_vfunc (  )  [protected, virtual]
 

Glib::RefPtr<Atk::Object> Atk::Selection::get_selection ( int  i  ) 
 

Gets a reference to the accessible object representing the specified selected child of the object.

Note:
callers should not rely on 0 or on a zero value for indication of whether AtkSelectionIface is implemented, they should use type checking/interface checking macros or the atk_get_accessible_value() convenience method.
Parameters:
i A int specifying the index in the selection set. (e.g. the ith selection as opposed to the ith child).
Returns:
An Atk::Object representing the selected accessible , or 0 if selection does not implement this interface.

int Atk::Selection::get_selection_count (  )  const
 

Gets the number of accessible children currently selected.

Note:
callers should not rely on 0 or on a zero value for indication of whether AtkSelectionIface is implemented, they should use type checking/interface checking macros or the atk_get_accessible_value() convenience method.
Returns:
A int representing the number of items selected, or 0 if selection does not implement this interface.

virtual int Atk::Selection::get_selection_count_vfunc (  )  [protected, virtual]
 

virtual Glib::RefPtr<Atk::Object> Atk::Selection::get_selection_vfunc ( int  i  )  [protected, virtual]
 

const AtkSelection* Atk::Selection::gobj (  )  const [inline]
 

Provides access to the underlying C GObject.

Reimplemented from Glib::Interface.

Reimplemented in Atk::NoOpObject.

AtkSelection* Atk::Selection::gobj (  )  [inline]
 

Provides access to the underlying C GObject.

Reimplemented from Glib::Interface.

Reimplemented in Atk::NoOpObject.

bool Atk::Selection::is_child_selected ( int  i  )  const
 

Determines if the current child of this object is selected.

Note:
callers should not rely on 0 or on a zero value for indication of whether AtkSelectionIface is implemented, they should use type checking/interface checking macros or the atk_get_accessible_value() convenience method.
Parameters:
i A int specifying the child index.
Returns:
A bool representing the specified child is selected, or 0 if selection does not implement this interface.

virtual bool Atk::Selection::is_child_selected_vfunc ( int  i  )  [protected, virtual]
 

virtual void Atk::Selection::on_selection_changed (  )  [protected, virtual]
 

bool Atk::Selection::remove_selection ( int  i  ) 
 

Removes the specified child of the object from the object's selection.

Parameters:
i A int specifying the index in the selection set. (e.g. the ith selection as opposed to the ith child).
Returns:
true if success, false otherwise.

virtual bool Atk::Selection::remove_selection_vfunc ( int  i  )  [protected, virtual]
 

bool Atk::Selection::select_all_selection (  ) 
 

Causes every child of the object to be selected if the object supports multiple selections.

Returns:
true if success, false otherwise.

virtual bool Atk::Selection::select_all_selection_vfunc (  )  [protected, virtual]
 

Glib::SignalProxy0<void> Atk::Selection::signal_selection_changed (  ) 
 

Prototype:
void selection_changed()


Friends And Related Function Documentation

Glib::RefPtr<Atk::Selection> wrap ( AtkSelection*  object,
bool  take_copy = false
[related]
 


The documentation for this class was generated from the following file:
Generated for gtkmm2.2 by Doxygen 1.3.4 © 1997-2001