When a captioned widget has focus, both the widget and the caption label are displayed with active focus.
|
Public Member Functions |
| Caption (const Glib::ustring& value, Gtk::Widget& child, CaptionStatus flag=CAPTION_OPTIONAL) |
| Caption (const Glib::ustring& value, Gtk::Widget& child, Gtk::Widget& icon, CaptionStatus flag=CAPTION_OPTIONAL) |
| Caption (const Glib::RefPtr<Gtk::SizeGroup>& group, const Glib::ustring& value, Gtk::Widget& child, Gtk::Widget& icon, CaptionStatus flag=CAPTION_OPTIONAL) |
bool | get_child_expand () const |
| Gets childs expandability.
|
const Gtk::Widget* | get_icon_image () const |
| Gets icon of Hildon::Caption.
|
Gtk::Widget* | get_icon_image () |
| Gets icon of Hildon::Caption.
|
CaptionIconPosition | get_icon_position () const |
Glib::ustring | get_label () const |
| Gets label of Hildon::Caption.
|
float | get_label_alignment () const |
| Gets current vertical alignment for the text part.
|
Glib::ustring | get_separator () const |
| Gets separator string of Hildon::Caption.
|
CaptionStatus | get_status () const |
| Gets Hildon::Caption status.
|
const HildonCaption* | gobj () const |
| Provides access to the underlying C GtkObject.
|
HildonCaption* | gobj () |
| Provides access to the underlying C GtkObject.
|
bool | is_mandatory () const |
| Query Hildon::Caption whether this captioned control is a mandatory one.
|
void | set_child_expand (bool expand=true) |
| Sets child expandability.
|
void | set_icon_image (Gtk::Widget& icon) |
| Sets the icon to be used by this hildon_caption widget.
|
void | set_icon_position (CaptionIconPosition pos) |
void | set_label (const Glib::ustring& label) |
| Sets the label text that appears before the control.
|
void | set_label_alignment (float alignment) |
| Sets the vertical alignment to be used for the text part of the caption.
|
void | set_separator (const Glib::ustring& separator) |
| Sets the separator character that appears after the label.
|
void | set_status (CaptionStatus flag) |
| Sets Hildon::Caption status.
|
Glib::SignalProxy0<void> | signal_activate () |
virtual | ~Caption () |
Related Functions |
(Note that these are not member functions.)
|
Hildon::Caption* | wrap (HildonCaption* object, bool take_copy=false) |