Hildon::AppView Class Reference

#include <appview.h>

Inheritance diagram for Hildon::AppView:

Bin List of all members.

Public Member Functions

virtual ~AppView ()
HildonAppView * gobj ()
 Provides access to the underlying C GtkObject.
const HildonAppView * gobj () const
 Provides access to the underlying C GtkObject.
 AppView (const Glib::ustring &title)
void add_with_scrollbar (Gtk::Widget &child)
 Adds the child to the self (HildonAppView) and creates a vertical scrollbar to it.
void set_fullscreen_key_allowed (bool allow=true)
 Sets given Hildon::AppView whether to allow toggling fullscreen mode with a shortcut key.
bool get_fullscreen_key_allowed () const
 Check if fullscreening with a shortcut is allowed for given Hildon::AppView.
bool get_fullscreen () const
 Gets the current state of fullscreen mode.
void set_fullscreen (bool fullscreen=true)
 Set the fullscreen state of given Hildon::AppView class.
Gtk::Menu * get_menu ()
 Gets the Gt::Menu assigned to the Hildon::Appview.
const Gtk::Menu * get_menu () const
 Gets the Gt::Menu assigned to the Hildon::Appview.
void set_title (const Glib::ustring &newname)
 Sets an title of an application view.
Glib::ustring get_title () const
 Gets the title of given Hildon::AppView.
void set_connected_adjustment (Gtk::Adjustment &adjustment)
 Sets a Gtk::Adjustment which will change when increase/decrease buttons are pressed.
Gtk::Adjustment * get_connected_adjustment ()
 Retrieves the Gtk::Adjustment which is connected to this application view and is changed with increase / decrease hardware buttons.
const Gtk::Adjustment * get_connected_adjustment () const
 Retrieves the Gtk::Adjustment which is connected to this application view and is changed with increase / decrease hardware buttons.
void set_menu_ui (const Glib::ustring &ui_string)
 Sets the ui description (xml) from which the UIManager creates menus (see GtkUIManager for details on how to use it).
const Glib::ustring & set_menu_ui ()
 Sets the ui description (xml) from which the UIManager creates menus (see Gtk::UIManager for details on how to use it).
Glib::SignalProxy0< void > signal_toolbar_changed ()
Glib::SignalProxy0< void > signal_toolbar_toggle_request ()
Glib::SignalProxy1< void,
bool > 
signal_fullscreen_state_change ()
Glib::SignalProxy0< void > signal_title_change ()
Glib::SignalProxy0< void > signal_switched_to ()
Glib::SignalProxy0< void > signal_switched_from ()
Glib::SignalProxy1< void,
guint > 
signal_increase_button_event ()
Glib::SignalProxy1< void,
guint > 
signal_decrease_button_event ()

Related Functions

(Note that these are not member functions.)

Hildon::AppViewwrap (HildonAppView *object, bool take_copy=false)

Constructor & Destructor Documentation

virtual Hildon::AppView::~AppView  )  [virtual]
 

Hildon::AppView::AppView const Glib::ustring &  title  )  [explicit]
 


Member Function Documentation

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

Adds the child to the self (HildonAppView) and creates a vertical scrollbar to it.

Similar as adding first a Gtk::ScrolledWindow and then the child to it.

Parameters:
child A GtkWidget .

const Gtk::Adjustment* Hildon::AppView::get_connected_adjustment  )  const
 

Retrieves the Gtk::Adjustment which is connected to this application view and is changed with increase / decrease hardware buttons.

Returns:
Currently connectd Gtk::Adjustment assigned to this application view or 0 if it's not set.

Gtk::Adjustment* Hildon::AppView::get_connected_adjustment  ) 
 

Retrieves the Gtk::Adjustment which is connected to this application view and is changed with increase / decrease hardware buttons.

Returns:
Currently connectd Gtk::Adjustment assigned to this application view or 0 if it's not set.

bool Hildon::AppView::get_fullscreen  )  const
 

Gets the current state of fullscreen mode.

Returns:
The current state of fullscreen mode.

bool Hildon::AppView::get_fullscreen_key_allowed  )  const
 

Check if fullscreening with a shortcut is allowed for given Hildon::AppView.

Returns:
Wheter it's possible to swith fullscreen on/off with a shortcut key.

const Gtk::Menu* Hildon::AppView::get_menu  )  const
 

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

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

Gtk::Menu* Hildon::AppView::get_menu  ) 
 

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

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

Glib::ustring Hildon::AppView::get_title  )  const
 

Gets the title of given Hildon::AppView.

Returns:
The title of the application view.

const HildonAppView* Hildon::AppView::gobj  )  const [inline]
 

Provides access to the underlying C GtkObject.

HildonAppView* Hildon::AppView::gobj  )  [inline]
 

Provides access to the underlying C GtkObject.

void Hildon::AppView::set_connected_adjustment Gtk::Adjustment &  adjustment  ) 
 

Sets a Gtk::Adjustment which will change when increase/decrease buttons are pressed.

Parameters:
adjustment A new Gtk::Adjustment set to reach to increase / decrease hardware keys or 0 to unset.

void Hildon::AppView::set_fullscreen bool  fullscreen = true  ) 
 

Set the fullscreen state of given Hildon::AppView class.

Parameters:
fullscreen The new state of fullscreen mode. true means fullscreen will be set. false the opposite.

void Hildon::AppView::set_fullscreen_key_allowed bool  allow = true  ) 
 

Sets given Hildon::AppView whether to allow toggling fullscreen mode with a shortcut key.

Parameters:
allow Wheter it's possible to swith fullscreen on/off with a shortcut key.

const Glib::ustring& Hildon::AppView::set_menu_ui  ) 
 

Sets the ui description (xml) from which the UIManager creates menus (see Gtk::UIManager for details on how to use it).

Returns:
Currently set ui description.

void Hildon::AppView::set_menu_ui const Glib::ustring &  ui_string  ) 
 

Sets the ui description (xml) from which the UIManager creates menus (see GtkUIManager for details on how to use it).

Parameters:
ui_string A Gtk::UIManager ui description string.

void Hildon::AppView::set_title const Glib::ustring &  newname  ) 
 

Sets an title of an application view.

The title is visible only if two-part-title is enabled on the Hildon::App.

Parameters:
newname The new title of the application view.

Glib::SignalProxy1< void,guint > Hildon::AppView::signal_decrease_button_event  ) 
 

Glib::SignalProxy1< void,bool > Hildon::AppView::signal_fullscreen_state_change  ) 
 

Glib::SignalProxy1< void,guint > Hildon::AppView::signal_increase_button_event  ) 
 

Glib::SignalProxy0< void > Hildon::AppView::signal_switched_from  ) 
 

Glib::SignalProxy0< void > Hildon::AppView::signal_switched_to  ) 
 

Glib::SignalProxy0< void > Hildon::AppView::signal_title_change  ) 
 

Glib::SignalProxy0< void > Hildon::AppView::signal_toolbar_changed  ) 
 

Glib::SignalProxy0< void > Hildon::AppView::signal_toolbar_toggle_request  ) 
 


Friends And Related Function Documentation

Hildon::AppView * wrap HildonAppView *  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