aboutsummaryrefslogtreecommitdiff
path: root/src/ui.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui.h')
-rw-r--r--src/ui.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/src/ui.h b/src/ui.h
index 3c06bcc..7547b0c 100644
--- a/src/ui.h
+++ b/src/ui.h
@@ -28,12 +28,33 @@
28#include <gtk-3.0/gtk/gtk.h> 28#include <gtk-3.0/gtk/gtk.h>
29#include <libhandy-1/handy.h> 29#include <libhandy-1/handy.h>
30 30
31/**
32 * Sets the text of a GtkLabel applying automatic utf8
33 * conversion.
34 *
35 * @param label Label
36 * @param text Non-utf8 text
37 */
31void 38void
32ui_label_set_text(GtkLabel *label, const char *text); 39ui_label_set_text(GtkLabel *label, const char *text);
33 40
41/**
42 * Sets the text of a GtkEntry applying automatic utf8
43 * conversion.
44 *
45 * @param entry Entry
46 * @param text Non-utf8 text
47 */
34void 48void
35ui_entry_set_text(GtkEntry *entry, const char *text); 49ui_entry_set_text(GtkEntry *entry, const char *text);
36 50
51/**
52 * Sets the text of a HdyAvatar applying automatic utf8
53 * conversion.
54 *
55 * @param avatar Avatar
56 * @param text Non-utf8 text
57 */
37void 58void
38ui_avatar_set_text(HdyAvatar *avatar, const char *text); 59ui_avatar_set_text(HdyAvatar *avatar, const char *text);
39 60