logo top
Main Page   Widgets   Namespaces   Book  

Gtk::AccelLabel Class Reference
[Widgets]

A label which displays an accelerator key on the right of the text. More...

Inheritance diagram for Gtk::AccelLabel:

Inheritance graph
[legend]
List of all members.

Public Member Functions

virtual ~AccelLabel ()
GtkAccelLabel* gobj ()
 Provides access to the underlying C GtkObject.

const GtkAccelLabel* gobj () const
 Provides access to the underlying C GtkObject.

 AccelLabel ()
 Default constructor to create an AccelLabel object.

 AccelLabel (const Glib::ustring& label, bool mnemonic=false)
 Constructor to create an AccelLabel object with a default label.

void set_accel_widget (const Widget& widget)
void unset_accel_widget ()
 Forget the accel widget previously set by set_accel_widget().

Widgetget_accel_widget ()
const Widgetget_accel_widget () const
guint get_accel_width () const
bool refetch ()
Glib::PropertyProxy<Gtk::Widget*> property_accel_widget ()

Related Functions

(Note that these are not member functions.)

Gtk::AccelLabelwrap (GtkAccelLabel* object, bool take_copy=false)

Detailed Description

A label which displays an accelerator key on the right of the text.

Used for menu item labels, for instance.


Constructor & Destructor Documentation

virtual Gtk::AccelLabel::~AccelLabel (  )  [virtual]
 

Gtk::AccelLabel::AccelLabel (  ) 
 

Default constructor to create an AccelLabel object.

Gtk::AccelLabel::AccelLabel ( const Glib::ustring&  label,
bool  mnemonic = false
[explicit]
 

Constructor to create an AccelLabel object with a default label.

Parameters:
label The label string.
mnemonic If true, characters preceded by an underscore (_) will be underlined and used as a keyboard accelerator.


Member Function Documentation

const Widget* Gtk::AccelLabel::get_accel_widget (  )  const
 

Widget* Gtk::AccelLabel::get_accel_widget (  ) 
 

guint Gtk::AccelLabel::get_accel_width (  )  const
 

const GtkAccelLabel* Gtk::AccelLabel::gobj (  )  const [inline]
 

Provides access to the underlying C GtkObject.

Reimplemented from Gtk::Label.

GtkAccelLabel* Gtk::AccelLabel::gobj (  )  [inline]
 

Provides access to the underlying C GtkObject.

Reimplemented from Gtk::Label.

Glib::PropertyProxy<Gtk::Widget*> Gtk::AccelLabel::property_accel_widget (  ) 
 

bool Gtk::AccelLabel::refetch (  ) 
 

void Gtk::AccelLabel::set_accel_widget ( const Widget widget  ) 
 

void Gtk::AccelLabel::unset_accel_widget (  ) 
 

Forget the accel widget previously set by set_accel_widget().


Friends And Related Function Documentation

Gtk::AccelLabel* wrap ( GtkAccelLabel*  object,
bool  take_copy = false
[related]
 


The documentation for this class was generated from the following file:
Generated for gtkmm2.2 by Doxygen 1.3.3 © 1997-2001