| Maeomm Reference Documentation: hildonmm |

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) | |
| Caption (CaptionStatus flag=CAPTION_OPTIONAL) | |
| bool | get_child_expand () const |
| Gets childs expandability. | |
| const Gtk::Widget* | get_icon_image () const |
| Gets the icon image widget used by caption. | |
| Gtk::Widget* | get_icon_image () |
| Gets the icon image widget used by caption. | |
| CaptionIconPosition | get_icon_position () const |
| Gets caption's icon position. | |
| Glib::ustring | get_label () const |
| Gets the label of the Hildon::Caption. | |
| float | get_label_alignment () const |
| Gets current vertical alignment for the text part. | |
| Glib::ustring | get_separator () const |
| Gets the separator string of the Hildon::Caption. | |
| Glib::RefPtr< const Gtk::SizeGroup > | get_size_group () const |
| Queries given captioned control for the Gtk::SizeGroup assigned to it. | |
| Glib::RefPtr<Gtk::SizeGroup> | get_size_group () |
| Queries given captioned control for the Gtk::SizeGroup assigned to it. | |
| CaptionStatus | get_status () const |
| Gets caption's 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 |
| Queries whether caption is mandatory. | |
| void | set_child_expand (bool expand=true) |
| Sets child expandability. | |
| void | set_icon_image (Gtk::Widget& icon) |
| Sets the icon image widget to be used by caption. | |
| void | set_icon_position (CaptionIconPosition pos) |
| Sets caption's icon position. | |
| 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_label_markup (const Glib::ustring& markup) |
| Sets the label markup text that appears before the control. | |
| void | set_separator (const Glib::ustring& separator) |
| Sets the separator character that appears after the label. | |
| void | set_size_group (const Glib::RefPtr<Gtk::SizeGroup>& new_group) |
| Sets a Gtk::SizeGroup of a given captioned control. | |
| void | set_status (CaptionStatus flag) |
| Sets caption's 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) |
| A Glib::wrap() method for this object. | |
| virtual Hildon::Caption::~Caption | ( | ) | [virtual] |
| Hildon::Caption::Caption | ( | CaptionStatus | flag = CAPTION_OPTIONAL |
) | [explicit] |
| Hildon::Caption::Caption | ( | const Glib::RefPtr< Gtk::SizeGroup > & | group, | |
| const Glib::ustring & | value, | |||
| Gtk::Widget & | child, | |||
| Gtk::Widget & | icon, | |||
| CaptionStatus | flag = CAPTION_OPTIONAL | |||
| ) |
| Hildon::Caption::Caption | ( | const Glib::ustring & | value, | |
| Gtk::Widget & | child, | |||
| Gtk::Widget & | icon, | |||
| CaptionStatus | flag = CAPTION_OPTIONAL | |||
| ) |
| Hildon::Caption::Caption | ( | const Glib::ustring & | value, | |
| Gtk::Widget & | child, | |||
| CaptionStatus | flag = CAPTION_OPTIONAL | |||
| ) |
| bool Hildon::Caption::get_child_expand | ( | ) | const |
Gets childs expandability.
| const Gtk::Widget* Hildon::Caption::get_icon_image | ( | ) | const |
Gets the icon image widget used by caption.
0 if no icon image is in use. | Gtk::Widget* Hildon::Caption::get_icon_image | ( | ) |
Gets the icon image widget used by caption.
0 if no icon image is in use. | CaptionIconPosition Hildon::Caption::get_icon_position | ( | ) | const |
| Glib::ustring Hildon::Caption::get_label | ( | ) | const |
Gets the label of the Hildon::Caption.
| float Hildon::Caption::get_label_alignment | ( | ) | const |
Gets current vertical alignment for the text part.
| Glib::ustring Hildon::Caption::get_separator | ( | ) | const |
Gets the separator string of the Hildon::Caption.
| Glib::RefPtr<const Gtk::SizeGroup> Hildon::Caption::get_size_group | ( | ) | const |
| Glib::RefPtr<Gtk::SizeGroup> Hildon::Caption::get_size_group | ( | ) |
| CaptionStatus Hildon::Caption::get_status | ( | ) | const |
| const HildonCaption* Hildon::Caption::gobj | ( | ) | const [inline] |
| HildonCaption* Hildon::Caption::gobj | ( | ) | [inline] |
| bool Hildon::Caption::is_mandatory | ( | ) | const |
Queries whether caption is mandatory.
| void Hildon::Caption::set_child_expand | ( | bool | expand = true |
) |
Sets child expandability.
| expand | Whether the child is expandable. |
| void Hildon::Caption::set_icon_image | ( | Gtk::Widget & | icon | ) |
Sets the icon image widget to be used by caption.
| icon | The Gtk::Image to use as the icon. Calls gtk_widget_show() on the icon if it is not visible. |
| void Hildon::Caption::set_icon_position | ( | CaptionIconPosition | pos | ) |
| void Hildon::Caption::set_label | ( | const Glib::ustring & | label | ) |
Sets the label text that appears before the control.
Separator character is added to the end of the label string. By default the separator is ":". See also set_separator().
| label | The text to use. |
| void Hildon::Caption::set_label_alignment | ( | float | alignment | ) |
Sets the vertical alignment to be used for the text part of the caption.
Applications need to align the child control themselves.
| alignment | New vertical alignment. |
| void Hildon::Caption::set_label_markup | ( | const Glib::ustring & | markup | ) |
Sets the label markup text that appears before the control.
It acts like set_label() but is using the markup text that allows to specify text properties such as bold or italic.
| markup | The markup text to use. |
| void Hildon::Caption::set_separator | ( | const Glib::ustring & | separator | ) |
Sets the separator character that appears after the label.
The default seaparator character is ":".
| separator | The separator to use. |
| void Hildon::Caption::set_size_group | ( | const Glib::RefPtr< Gtk::SizeGroup > & | new_group | ) |
| void Hildon::Caption::set_status | ( | CaptionStatus | flag | ) |
| Glib::SignalProxy0< void > Hildon::Caption::signal_activate | ( | ) |
void on_my_activate()
| Hildon::Caption* wrap | ( | HildonCaption * | object, | |
| bool | take_copy = false | |||
| ) | [related] |
A Glib::wrap() method for this object.
| 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. |