blob: 036537aa7b83db0e30db932fd08e5bbd63f69109 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
#include "hdy-nothing-private.h"
/**
* PRIVATE:hdy-nothing
* @short_description: A helper object for #HdyWindow and #HdyApplicationWindow
* @title: HdyNothing
* @See_also: #HdyApplicationWindow, #HdyWindow, #HdyWindowMixin
* @stability: Private
*
* The HdyNothing widget does nothing. It's used as the titlebar for
* #HdyWindow and #HdyApplicationWindow.
*
* Since: 1.0
*/
struct _HdyNothing
{
GtkWidget parent_instance;
};
G_DEFINE_TYPE (HdyNothing, hdy_nothing, GTK_TYPE_WIDGET)
static void
hdy_nothing_class_init (HdyNothingClass *klass)
{
}
static void
hdy_nothing_init (HdyNothing *self)
{
}
/**
* hdy_nothing_new:
*
* Creates a new #HdyNothing.
*
* Returns: (transfer full): a newly created #HdyNothing
*
* Since: 1.0
*/
GtkWidget *
hdy_nothing_new (void)
{
return g_object_new (HDY_TYPE_NOTHING, NULL);
}
|