Gtk::Util::TileView Class Reference
The Tile container.
More...
List of all members.
Detailed Description
The Tile container.
Member Typedef Documentation
Signal emmitted when user double-clicks, or pressed the Return key on a Tile in the container.
The signal passes a reference to the Tile that has been activated.
Constructor & Destructor Documentation
Gtk::Util::TileView::TileView |
( |
bool |
use_page_view = true |
) |
[explicit] |
Constructs a new TileView.
- Parameters:
-
| use_page_view | when true , indicates that tiles should be separated into pages; when false , all tiles will be displayed at once. |
virtual Gtk::Util::TileView::~TileView |
( |
|
) |
[virtual] |
Member Function Documentation
virtual void Gtk::Util::TileView::add_tile |
( |
Tile * |
tile |
) |
[virtual] |
Adds and shows a Tile in the container.
- Parameters:
-
virtual void Gtk::Util::TileView::add_tile |
( |
Tile & |
tile |
) |
[virtual] |
Adds and shows a Tile in the container.
- Parameters:
-
virtual void Gtk::Util::TileView::clear |
( |
|
) |
[virtual] |
Removes all child tiles and clears internal data.
virtual void Gtk::Util::TileView::for_each_tile |
( |
const SlotForEachTile & |
slot |
) |
[virtual] |
Calls a supplied function for each child Tile.
- Parameters:
-
| slot | user function to call |
virtual PageNavigator& Gtk::Util::TileView::get_page_navigator |
( |
|
) |
[virtual] |
virtual Tile* Gtk::Util::TileView::get_selection |
( |
|
) |
[virtual] |
Returns the last selected Tile, or null of none is selected.
- Returns:
- a pointer to Tile.
virtual int Gtk::Util::TileView::get_tiles_per_page |
( |
|
) |
const [virtual] |
Gets the current number of tiles displayed in one page.
- Returns:
- the number of tiles displayed in one page
virtual bool Gtk::Util::TileView::on_key_press_event |
( |
GdkEventKey * |
event |
) |
[protected, virtual] |
virtual void Gtk::Util::TileView::on_show_request |
( |
|
) |
[protected, virtual] |
called when child widget(s) request to be shown.
This occurs after a new Tile has been added.
virtual void Gtk::Util::TileView::reset_selection |
( |
|
) |
[virtual] |
Resets current selection in the view.
virtual void Gtk::Util::TileView::set_navigator_title |
( |
const Glib::ustring & |
title |
) |
[virtual] |
Sets a custom title in the TilePageNavigator above the content.
- Parameters:
-
virtual void Gtk::Util::TileView::set_navigator_title_markup |
( |
const Glib::ustring & |
marked_up_title |
) |
[virtual] |
Sets a custom markup on the title in the TilePageNavigator above the content.
- Parameters:
-
| marked_up_title | escaped markup string; escape strings with Glib::Markup::escape_text() |
virtual void Gtk::Util::TileView::set_page_view |
( |
bool |
use_page_view = true |
) |
[virtual] |
Sets the display style.
- Parameters:
-
| use_page_view | when true , indicates that tiles should be separated into pages; when false , all tiles will be displayed at once |
virtual void Gtk::Util::TileView::set_tiles_per_page |
( |
int |
tiles_per_page |
) |
[virtual] |
Sets the number of tiles displayed in one page.
- Parameters:
-
| tiles_per_page | a new number of tiles to be displayed in one page |
virtual void Gtk::Util::TileView::show_page_navigator |
( |
bool |
show = true |
) |
[virtual] |
Shows or hides a TilePageNavigator above the content.
- Parameters:
-
| show | indicates whether to show or hide the navigation bar |
Returns the SignalActivated, which you can connect to.
- Returns:
- a reference to the TileView's SignalActivated.
Member Data Documentation
The documentation for this class was generated from the following file: