Maeomm Reference Documentation: hildon-libsmm
Main Page   Namespaces   Book  

Hildon::GridItem Class Reference
[Widgets]

Inheritance diagram for Hildon::GridItem:

Inheritance graph
[legend]
List of all members.

Detailed Description

Hildon::GridItem is used to create grid items used by Hildon::Grid.

The grid item consists of an icon and a label. Based on the displaying mode employed by Hildon::Grid, the label is justified to the right or the bottom.


Public Member Functions

Glib::ustring get_emblem_type () const
const HildonGridItem* gobj () const
 Provides access to the underlying C GtkObject.
HildonGridItem* gobj ()
 Provides access to the underlying C GtkObject.
 GridItem (const Glib::ustring& icon_basename, const Glib::ustring& label)
 GridItem (const Glib::ustring& icon_basename)
void set_emblem_type (const Glib::ustring& emblem_basename)
 Sets item emblem type.
void set_label (const Glib::ustring& label)
virtual ~GridItem ()

Related Functions

(Note that these are not member functions.)

Hildon::GridItemwrap (HildonGridItem* object, bool take_copy=false)


Constructor & Destructor Documentation

virtual Hildon::GridItem::~GridItem (  )  [virtual]
 

Hildon::GridItem::GridItem ( const Glib::ustring icon_basename  )  [explicit]
 

Hildon::GridItem::GridItem ( const Glib::ustring icon_basename,
const Glib::ustring label
[explicit]
 


Member Function Documentation

Glib::ustring Hildon::GridItem::get_emblem_type (  )  const
 

Returns:
Emblem's basename.

const HildonGridItem* Hildon::GridItem::gobj (  )  const [inline]
 

Provides access to the underlying C GtkObject.

Reimplemented from Gtk::Container.

HildonGridItem* Hildon::GridItem::gobj (  )  [inline]
 

Provides access to the underlying C GtkObject.

Reimplemented from Gtk::Container.

void Hildon::GridItem::set_emblem_type ( const Glib::ustring emblem_basename  ) 
 

Sets item emblem type.

Parameters:
emblem_basename Emblem's basename.

void Hildon::GridItem::set_label ( const Glib::ustring label  ) 
 


Friends And Related Function Documentation

Hildon::GridItem* wrap ( HildonGridItem*  object,
bool  take_copy = false
[related]
 

Parameters:
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.
Returns:
A C++ instance that wraps this C instance.


The documentation for this class was generated from the following file:
Generated for hildon-libsmm by Doxygen 1.4.2 © 1997-2001