libgnomedbmm Reference Documentation
Main Page   Namespaces   Book  

Gnome::Db::GrayBar Class Reference
[Extras]

Nice looking gray bar widget. More...

Inheritance diagram for Gnome::Db::GrayBar:

Inheritance graph
[legend]
List of all members.

Public Member Functions

bool get_show_icon () const
 Get whether the icon is being shown for the given gray bar.
Glib::ustring get_text () const
 Get the text being displayed in the given gray bar widget.
const GnomeDbGrayBar* gobj () const
 Provides access to the underlying C GtkObject.
GnomeDbGrayBar* gobj ()
 Provides access to the underlying C GtkObject.
 GrayBar (const Glib::ustring& text)
void set_icon_from_file (const std::string& filename)
void set_icon_from_stock (const Gtk::StockID& stock_id, Gtk::IconSize size)
void set_show_icon (bool show=true)
 Set the icon displaying mode for the given grid.
void set_text (const Glib::ustring& text)
 Set the text displayed in the given gray bar widget.
virtual ~GrayBar ()

Related Functions

(Note that these are not member functions.)

Gnome::Db::GrayBarwrap (GnomeDbGrayBar* object, bool take_copy=false)
 
Parameters:
object The C instance


Detailed Description

Nice looking gray bar widget.


Constructor & Destructor Documentation

virtual Gnome::Db::GrayBar::~GrayBar (  )  [virtual]

Gnome::Db::GrayBar::GrayBar ( const Glib::ustring text  )  [explicit]


Member Function Documentation

bool Gnome::Db::GrayBar::get_show_icon (  )  const

Get whether the icon is being shown for the given gray bar.

Returns:
true if the icon is shown, false if not.

Glib::ustring Gnome::Db::GrayBar::get_text (  )  const

Get the text being displayed in the given gray bar widget.

This does not include any embedded underlines indicating mnemonics or Pango markup.

Returns:
The text in the widget.

const GnomeDbGrayBar* Gnome::Db::GrayBar::gobj (  )  const [inline]

Provides access to the underlying C GtkObject.

Reimplemented from Gtk::Bin.

GnomeDbGrayBar* Gnome::Db::GrayBar::gobj (  )  [inline]

Provides access to the underlying C GtkObject.

Reimplemented from Gtk::Bin.

void Gnome::Db::GrayBar::set_icon_from_file ( const std::string &  filename  ) 

void Gnome::Db::GrayBar::set_icon_from_stock ( const Gtk::StockID stock_id,
Gtk::IconSize  size 
)

void Gnome::Db::GrayBar::set_show_icon ( bool  show = true  ) 

Set the icon displaying mode for the given grid.

Parameters:
show Whether to show the icon or not.

void Gnome::Db::GrayBar::set_text ( const Glib::ustring text  ) 

Set the text displayed in the given gray bar widget.

This can include embedded underlines indicating mnemonics or Pango markup.


Friends And Related Function Documentation

Gnome::Db::GrayBar* wrap ( GnomeDbGrayBar *  object,
bool  take_copy = false 
) [related]

Parameters:
object The C instance

Parameters:
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 libgnomedbmm by Doxygen 1.5.1 © 1997-2001