| Top |
| EMessagePopover * | e_message_popover_new () |
| void | e_message_popover_set_text () |
| void | e_message_popover_set_text_literal () |
| void | e_message_popover_set_markup () |
| void | e_message_popover_set_markup_literal () |
| void | e_message_popover_show () |
GObject
╰── GInitiallyUnowned
╰── GtkWidget
╰── GtkContainer
╰── GtkBin
╰── GtkPopover
╰── EMessagePopover
EMessagePopover is a simple modal GtkPopover showing a message attached to a provided widget.
Create the instance with e_message_popover_new(), then
set the text of the message with either of e_message_popover_set_text(),
e_message_popover_set_markup() or their "literal" variants,
and then show the popover with e_message_popover_show().
After this the popover is freed when closed.
EMessagePopover * e_message_popover_new (GtkWidget *relative_to,EMessagePopoverFlags flags);
Creates a new EMessagePopover. The flags
influence the behaviour
and look out of the popover.
The relative_to
widget cannot be changed after the creation.
relative_to |
a GtkWidget to tight the message popover to |
|
flags |
a bit-or of EMessagePopoverFlags flags |
Since: 3.60
void e_message_popover_set_text (EMessagePopover *self,const gchar *format,...);
Sets plain text content of the message popover, formatted
according to format
. Use e_message_popover_set_text_literal()
to set text directly.
See e_message_popover_set_markup().
Since: 3.60
void e_message_popover_set_text_literal (EMessagePopover *self,const gchar *text);
Sets the text
as the message shown in the self
.
See e_message_popover_set_text(), e_message_popover_set_markup_literal().
Since: 3.60
void e_message_popover_set_markup (EMessagePopover *self,const gchar *format,...);
Sets markup content of the message popover, formatted
according to format
. Use e_message_popover_set_markup_literal()
to set markup directly.
See e_message_popover_set_text().
Since: 3.60
void e_message_popover_set_markup_literal (EMessagePopover *self,const gchar *markup);
Sets the markup
as the message shown in the self
.
See e_message_popover_set_markup(), e_message_popover_set_text_literal().
Since: 3.60
void
e_message_popover_show (EMessagePopover *self);
Shows the message popover and frees it once it's closed.
Since: 3.60
“flags” property“flags” EMessagePopoverFlags
Owner: EMessagePopover
Flags: Read / Write / Construct Only