#include <graybar.h>
Inheritance diagram for Gnome::Db::GrayBar:
Public Member Functions | |
virtual | ~GrayBar () |
GnomeDbGrayBar* | gobj () |
Provides access to the underlying C GtkObject. | |
const GnomeDbGrayBar* | gobj () const |
Provides access to the underlying C GtkObject. | |
GrayBar (const Glib::ustring& text) | |
void | set_text (const Glib::ustring& text) |
Set the text displayed in the given gray bar widget. | |
Glib::ustring | get_text () const |
Get the text being displayed in the given gray bar widget. | |
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. | |
bool | get_show_icon () const |
Get whether the icon is being shown for the given gray bar. | |
Related Functions | |
(Note that these are not member functions.) | |
Gnome::Db::GrayBar* | wrap (GnomeDbGrayBar* object, bool take_copy=false) |
virtual Gnome::Db::GrayBar::~GrayBar | ( | ) | [virtual] |
Gnome::Db::GrayBar::GrayBar | ( | const Glib::ustring & | text | ) | [explicit] |
bool Gnome::Db::GrayBar::get_show_icon | ( | ) | const |
Get whether the icon is being shown for the given gray bar.
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.
const GnomeDbGrayBar* Gnome::Db::GrayBar::gobj | ( | ) | const [inline] |
GnomeDbGrayBar* Gnome::Db::GrayBar::gobj | ( | ) | [inline] |
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.
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.
Gnome::Db::GrayBar* wrap | ( | GnomeDbGrayBar * | object, | |
bool | take_copy = false | |||
) | [related] |
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. |