| 58 * |
58 * |
| 59 * Creates a new #PidginPresenceIcon. |
59 * Creates a new #PidginPresenceIcon. |
| 60 * |
60 * |
| 61 * Returns: (transfer full): The new presence icon. |
61 * Returns: (transfer full): The new presence icon. |
| 62 * |
62 * |
| 63 * Since: 3.0.0 |
63 * Since: 3.0 |
| 64 */ |
64 */ |
| 65 PIDGIN_AVAILABLE_IN_3_0 |
65 PIDGIN_AVAILABLE_IN_3_0 |
| 66 GtkWidget *pidgin_presence_icon_new(PurplePresence *presence, const gchar *fallback, GtkIconSize icon_size); |
66 GtkWidget *pidgin_presence_icon_new(PurplePresence *presence, const gchar *fallback, GtkIconSize icon_size); |
| 67 |
67 |
| 68 /** |
68 /** |
| 83 * @icon: The #PidginPresenceIcon instance. |
83 * @icon: The #PidginPresenceIcon instance. |
| 84 * @presence: (nullable): The new #PurplePresence to set, or %NULL to unset. |
84 * @presence: (nullable): The new #PurplePresence to set, or %NULL to unset. |
| 85 * |
85 * |
| 86 * Sets the #PurplePresence for @icon to display. |
86 * Sets the #PurplePresence for @icon to display. |
| 87 * |
87 * |
| 88 * Since: 3.0.0 |
88 * Since: 3.0 |
| 89 */ |
89 */ |
| 90 PIDGIN_AVAILABLE_IN_3_0 |
90 PIDGIN_AVAILABLE_IN_3_0 |
| 91 void pidgin_presence_icon_set_presence(PidginPresenceIcon *icon, PurplePresence *presence); |
91 void pidgin_presence_icon_set_presence(PidginPresenceIcon *icon, PurplePresence *presence); |
| 92 |
92 |
| 93 /** |
93 /** |
| 108 * @icon: The #PidginPresenceIcon instance. |
108 * @icon: The #PidginPresenceIcon instance. |
| 109 * @fallback: The name of the fallback icon name. |
109 * @fallback: The name of the fallback icon name. |
| 110 * |
110 * |
| 111 * Sets the fallback icon name for @icon to @fallback. |
111 * Sets the fallback icon name for @icon to @fallback. |
| 112 * |
112 * |
| 113 * Since: 3.0.0 |
113 * Since: 3.0 |
| 114 */ |
114 */ |
| 115 PIDGIN_AVAILABLE_IN_3_0 |
115 PIDGIN_AVAILABLE_IN_3_0 |
| 116 void pidgin_presence_icon_set_fallback(PidginPresenceIcon *icon, const gchar *fallback); |
116 void pidgin_presence_icon_set_fallback(PidginPresenceIcon *icon, const gchar *fallback); |
| 117 |
117 |
| 118 /** |
118 /** |
| 133 * @icon: The #PidginPresenceIcon instance. |
133 * @icon: The #PidginPresenceIcon instance. |
| 134 * @icon_size: The #GtkIconSize to render the icon at. |
134 * @icon_size: The #GtkIconSize to render the icon at. |
| 135 * |
135 * |
| 136 * Sets the #GtkIconSize that @icon will use to render the icon. |
136 * Sets the #GtkIconSize that @icon will use to render the icon. |
| 137 * |
137 * |
| 138 * Since: 3.0.0 |
138 * Since: 3.0 |
| 139 */ |
139 */ |
| 140 PIDGIN_AVAILABLE_IN_3_0 |
140 PIDGIN_AVAILABLE_IN_3_0 |
| 141 void pidgin_presence_icon_set_icon_size(PidginPresenceIcon *icon, GtkIconSize icon_size); |
141 void pidgin_presence_icon_set_icon_size(PidginPresenceIcon *icon, GtkIconSize icon_size); |
| 142 |
142 |
| 143 G_END_DECLS |
143 G_END_DECLS |