pidgin/pidginapplication.h

changeset 42620
72178a341eb8
parent 42466
ca3374c1cdba
child 43177
595a5f31003a
equal deleted inserted replaced
42619:3dd7cd0eabf1 42620:72178a341eb8
40 * PidginApplication: 40 * PidginApplication:
41 * 41 *
42 * #PidginApplication is a subclass of #GtkApplication that holds all of the 42 * #PidginApplication is a subclass of #GtkApplication that holds all of the
43 * application wide actions. 43 * application wide actions.
44 * 44 *
45 * Since: 3.0.0 45 * Since: 3.0
46 */ 46 */
47 47
48 #define PIDGIN_TYPE_APPLICATION (pidgin_application_get_type()) 48 #define PIDGIN_TYPE_APPLICATION (pidgin_application_get_type())
49 49
50 PIDGIN_AVAILABLE_IN_3_0 50 PIDGIN_AVAILABLE_IN_3_0
56 * 56 *
57 * Creates a new #PidginApplication instance. 57 * Creates a new #PidginApplication instance.
58 * 58 *
59 * Returns: (transfer full): The new #PidginApplication instance. 59 * Returns: (transfer full): The new #PidginApplication instance.
60 * 60 *
61 * Since: 3.0.0 61 * Since: 3.0
62 */ 62 */
63 PIDGIN_AVAILABLE_IN_3_0 63 PIDGIN_AVAILABLE_IN_3_0
64 GApplication *pidgin_application_new(void); 64 GApplication *pidgin_application_new(void);
65 65
66 /** 66 /**
74 * windows. 74 * windows.
75 * 75 *
76 * To remove @action_group from every window, call this function with the same 76 * To remove @action_group from every window, call this function with the same
77 * prefix, but %NULL for @action_group. 77 * prefix, but %NULL for @action_group.
78 * 78 *
79 * Since: 3.0.0 79 * Since: 3.0
80 */ 80 */
81 PIDGIN_AVAILABLE_IN_3_0 81 PIDGIN_AVAILABLE_IN_3_0
82 void pidgin_application_add_action_group(PidginApplication *application, const gchar *prefix, GActionGroup *action_group); 82 void pidgin_application_add_action_group(PidginApplication *application, const gchar *prefix, GActionGroup *action_group);
83 83
84 /** 84 /**
90 * [method@Gtk.Application.get_windows], and if that fails, return %NULL. 90 * [method@Gtk.Application.get_windows], and if that fails, return %NULL.
91 * 91 *
92 * Returns: (transfer none) (nullable): The active window or %NULL if one could 92 * Returns: (transfer none) (nullable): The active window or %NULL if one could
93 * not be found. 93 * not be found.
94 * 94 *
95 * Since: 3.0.0 95 * Since: 3.0
96 */ 96 */
97 PIDGIN_AVAILABLE_IN_3_0 97 PIDGIN_AVAILABLE_IN_3_0
98 GtkWindow *pidgin_application_get_active_window(PidginApplication *application); 98 GtkWindow *pidgin_application_get_active_window(PidginApplication *application);
99 99
100 G_END_DECLS 100 G_END_DECLS

mercurial