Hildon::Window Class Reference

#include <window.h>

Inheritance diagram for Hildon::Window:

Window List of all members.

Public Member Functions

virtual ~Window ()
HildonWindow * gobj ()
 Provides access to the underlying C GtkObject.
const HildonWindow * gobj () const
 Provides access to the underlying C GtkObject.
 Window ()
void add_with_scrollbar (Gtk::Widget &child)
 Adds the child to the HildonWindow and creates a scrollbar to it.
Gtk::Menu & get_menu () const
 Gets the Gt::Menu assigned to the Hildon::Appview.
void set_menu (Gtk::Menu &menu)
 Sets the menu to be used for this window.
void add_toolbar (Gtk::Toolbar &toolbar)
 Adds a toolbar to the window.
void remove_toolbar (Gtk::Toolbar &toolbar)
 Removes a toolbar from the window.
bool get_is_topmost () const

Related Functions

(Note that these are not member functions.)

Hildon::Windowwrap (HildonWindow *object, bool take_copy=false)

Constructor & Destructor Documentation

virtual Hildon::Window::~Window  )  [virtual]
 

Hildon::Window::Window  ) 
 


Member Function Documentation

void Hildon::Window::add_toolbar Gtk::Toolbar &  toolbar  ) 
 

Adds a toolbar to the window.

Parameters:
toolbar A Gtk::Toolbar to add to the HildonWindow.

void Hildon::Window::add_with_scrollbar Gtk::Widget &  child  ) 
 

Adds the child to the HildonWindow and creates a scrollbar to it.

Similar as adding first a GtkScrolledWindow and then the child to it.

Parameters:
child A GtkWidget .

bool Hildon::Window::get_is_topmost  )  const
 

Returns:
Whether or not the Hildon::Window is currenltly activated by the window manager.

Gtk::Menu& Hildon::Window::get_menu  )  const
 

Gets the Gt::Menu assigned to the Hildon::Appview.

Returns:
The Gtk::Menu assigned to this application view.

const HildonWindow* Hildon::Window::gobj  )  const [inline]
 

Provides access to the underlying C GtkObject.

HildonWindow* Hildon::Window::gobj  )  [inline]
 

Provides access to the underlying C GtkObject.

void Hildon::Window::remove_toolbar Gtk::Toolbar &  toolbar  ) 
 

Removes a toolbar from the window.

Parameters:
toolbar A Gtk::Toolbar to remove from the HildonWindow.

void Hildon::Window::set_menu Gtk::Menu &  menu  ) 
 

Sets the menu to be used for this window.

This menu overrides a program-wide menu that may have been set with hildon_program_set_common_menu.

Parameters:
menu The Gtk::Menu to be used for this Hildon::Window.


Friends And Related Function Documentation

Hildon::Window * wrap HildonWindow *  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 on Wed Nov 8 17:20:41 2006 for hildon-libsmm by  doxygen 1.4.6