Github User Fetcher
1.0.0
C Application with Server and GUI
Loading...
Searching...
No Matches
gdkpopup.h
Go to the documentation of this file.
1
/*
2
* Copyright © 2020 Red Hat, Inc.
3
*
4
* This library is free software; you can redistribute it and/or
5
* modify it under the terms of the GNU Lesser General Public
6
* License as published by the Free Software Foundation; either
7
* version 2.1 of the License, or (at your option) any later version.
8
*
9
* This library is distributed in the hope that it will be useful,
10
* but WITHOUT ANY WARRANTY; without even the implied warranty of
11
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12
* Lesser General Public License for more details.
13
*
14
* You should have received a copy of the GNU Lesser General Public
15
* License along with this library. If not, see <http://www.gnu.org/licenses/>.
16
*
17
* Authors: Matthias Clasen <mclasen@redhat.com>
18
*/
19
20
#pragma once
21
22
#if !defined (__GDK_H_INSIDE__) && !defined (GTK_COMPILATION)
23
#error "Only <gdk/gdk.h> can be included directly."
24
#endif
25
26
#include <
gdk/gdkpopuplayout.h
>
27
#include <
gdk/gdksurface.h
>
28
29
G_BEGIN_DECLS
30
31
#define GDK_TYPE_POPUP (gdk_popup_get_type ())
32
33
GDK_AVAILABLE_IN_ALL
34
G_DECLARE_INTERFACE
(GdkPopup, gdk_popup, GDK, POPUP,
GObject
)
35
36
GDK_AVAILABLE_IN_ALL
37
gboolean
gdk_popup_present
(GdkPopup *popup,
38
int
width,
39
int
height,
40
GdkPopupLayout
*layout);
41
42
GDK_AVAILABLE_IN_ALL
43
GdkGravity
gdk_popup_get_surface_anchor
(GdkPopup *popup);
44
45
GDK_AVAILABLE_IN_ALL
46
GdkGravity
gdk_popup_get_rect_anchor
(GdkPopup *popup);
47
48
GDK_AVAILABLE_IN_ALL
49
GdkSurface
*
gdk_popup_get_parent
(GdkPopup *popup);
50
51
GDK_AVAILABLE_IN_ALL
52
int
gdk_popup_get_position_x
(GdkPopup *popup);
53
54
GDK_AVAILABLE_IN_ALL
55
int
gdk_popup_get_position_y
(GdkPopup *popup);
56
57
GDK_AVAILABLE_IN_ALL
58
gboolean
gdk_popup_get_autohide
(GdkPopup *popup);
59
60
G_END_DECLS
61
GDK_AVAILABLE_IN_ALL
#define GDK_AVAILABLE_IN_ALL
Definition
gdk-visibility.h:22
GdkGravity
GdkGravity
Definition
gdkenums.h:72
gdk_popup_present
GDK_AVAILABLE_IN_ALL GDK_AVAILABLE_IN_ALL gboolean gdk_popup_present(GdkPopup *popup, int width, int height, GdkPopupLayout *layout)
gdk_popup_get_rect_anchor
GDK_AVAILABLE_IN_ALL GdkGravity gdk_popup_get_rect_anchor(GdkPopup *popup)
gdk_popup_get_parent
GDK_AVAILABLE_IN_ALL GdkSurface * gdk_popup_get_parent(GdkPopup *popup)
gdk_popup_get_surface_anchor
GDK_AVAILABLE_IN_ALL GdkGravity gdk_popup_get_surface_anchor(GdkPopup *popup)
gdk_popup_get_autohide
GDK_AVAILABLE_IN_ALL gboolean gdk_popup_get_autohide(GdkPopup *popup)
gdk_popup_get_position_x
GDK_AVAILABLE_IN_ALL int gdk_popup_get_position_x(GdkPopup *popup)
gdk_popup_get_position_y
GDK_AVAILABLE_IN_ALL int gdk_popup_get_position_y(GdkPopup *popup)
gdkpopuplayout.h
GdkPopupLayout
struct _GdkPopupLayout GdkPopupLayout
Definition
gdkpopuplayout.h:70
gdksurface.h
GdkSurface
struct _GdkSurface GdkSurface
Definition
gdktypes.h:91
G_END_DECLS
#define G_END_DECLS
Definition
gmacros.h:910
G_BEGIN_DECLS
#define G_BEGIN_DECLS
Definition
gmacros.h:909
G_DECLARE_INTERFACE
#define G_DECLARE_INTERFACE(ModuleObjName, module_obj_name, MODULE, OBJ_NAME, PrerequisiteName)
Definition
gtype.h:1797
gboolean
gint gboolean
Definition
gtypes.h:56
_GObject
Definition
gobject.h:253
nix
store
v9wbd5iwvxl666sf67ard7lvjamhggbk-gtk4-4.16.12-dev
include
gtk-4.0
gdk
gdkpopup.h
Generated by
1.10.0