Class Index Cross Index Namespace Index

Class Gnome::AppBar


Contained in: Gnome
Derived from: Gtk::HBox
Derived by: none

#include <gtk--/appbar.h>


public function member index:

AppBar(bool has_progress = false, bool has_status = true , GnomePreferencesType interactivity = GNOME_PREFERENCES_NEVER);
void clear_stack();
Gtk::nstring get_default() const;
Gtk::ProgressBar* get_progress() const;
Gtk::nstring get_prompt() const;
Gtk::string get_response() const;
static GtkType get_type();
GnomeAppBar* gtkobj();
const GnomeAppBar* gtkobj() const;
static bool isA(Gtk::Object* checkcast);
void pop();
void prompt(const Gtk::string& message, bool modal=true);
void push(const Gtk::string& status);
void refresh();
void set_default(const Gtk::string& default_status);
void set_status(const Gtk::string& status);
virtual ~AppBar();
 

protected function member index:

explicit AppBar(GnomeAppBar* castitem);
virtual void clear_prompt_impl();
void initialize_class();
virtual void user_response_impl();
 

private function member index:

AppBar(const AppBar&);
AppBar& operator =(const AppBar&);
 

Description:



Function Member Descriptions:

Gnome::AppBar::AppBar - Create a AppBar.

AppBar(bool has_progress = false, bool has_status = true , GnomePreferencesType interactivity = GNOME_PREFERENCES_NEVER);
interactivity can be GNOME_PREFERENCES_NEVER, GNOME_PREFERENCES_USER, GNOME_PREFERENCES_ALWAYS.


Gnome::AppBar::clear_stack - Remove status on the stack.

void clear_stack();

Gnome::AppBar::get_progress - Get the progress bar.

Gtk::ProgressBar* get_progress() const;
Not setable internal. Use this to set the current progress precentage.


Gnome::AppBar::get_prompt - Get string of current prompt.

Gtk::nstring get_prompt() const;

Gnome::AppBar::get_response - Remove any prompt. Get the response to the prompt, if any.

Gtk::string get_response() const;

Gnome::AppBar::pop - Removes last status message.

void pop();
This is okay to call on empty stack. The previous message is displayed.


Gnome::AppBar::prompt - Prompt user for input.

void prompt(const Gtk::string& message, bool modal=true);
Put a prompt in the appbar and wait for a response. When the user responds or cancels, a user_response signal is emitted.


Gnome::AppBar::push - Places a new status message in the bar.

void push(const Gtk::string& status);
Temporarily sets status message. It is cleared by refresh or set. Does not affect the stack.


Gnome::AppBar::refresh - Reflect the current state of stack/default.

void refresh();
Useful to force a set_status to disappear.


Gnome::AppBar::set_status - Replaces the current status with a new one.

void set_status(const Gtk::string& status);


Variable Member Descriptions: