forked from AuroraMiddleware/gtk
gdkborder: add GdkBorder to gdktypes.h
This commit is contained in:
parent
c6bd3ddb8a
commit
a6e4de2884
@ -638,6 +638,9 @@ gdk_rectangle_intersect
|
|||||||
gdk_rectangle_union
|
gdk_rectangle_union
|
||||||
gdk_rectangle_equal
|
gdk_rectangle_equal
|
||||||
|
|
||||||
|
<SUBSECTION>
|
||||||
|
GdkBorder
|
||||||
|
|
||||||
<SUBSECTION Private>
|
<SUBSECTION Private>
|
||||||
gdk_rectangle_get_type
|
gdk_rectangle_get_type
|
||||||
</SECTION>
|
</SECTION>
|
||||||
|
@ -93,6 +93,26 @@ typedef struct _GdkRectangle GdkRectangle;
|
|||||||
typedef cairo_rectangle_int_t GdkRectangle;
|
typedef cairo_rectangle_int_t GdkRectangle;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
typedef struct _GdkBorder GdkBorder;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* GdkBorder:
|
||||||
|
* @left: The width of the left border
|
||||||
|
* @right: The width of the right border
|
||||||
|
* @top: The width of the top border
|
||||||
|
* @bottom: The width of the bottom border
|
||||||
|
*
|
||||||
|
* A struct that specifies a border around a rectangular area
|
||||||
|
* that can be of different width on each side.
|
||||||
|
*/
|
||||||
|
struct _GdkBorder
|
||||||
|
{
|
||||||
|
gint16 left;
|
||||||
|
gint16 right;
|
||||||
|
gint16 top;
|
||||||
|
gint16 bottom;
|
||||||
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* GdkAtom:
|
* GdkAtom:
|
||||||
*
|
*
|
||||||
|
@ -34,8 +34,6 @@
|
|||||||
|
|
||||||
G_BEGIN_DECLS
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
typedef struct _GtkBorder GtkBorder;
|
|
||||||
|
|
||||||
#define GTK_TYPE_BORDER (gtk_border_get_type ())
|
#define GTK_TYPE_BORDER (gtk_border_get_type ())
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -48,13 +46,7 @@ typedef struct _GtkBorder GtkBorder;
|
|||||||
* A struct that specifies a border around a rectangular area
|
* A struct that specifies a border around a rectangular area
|
||||||
* that can be of different width on each side.
|
* that can be of different width on each side.
|
||||||
*/
|
*/
|
||||||
struct _GtkBorder
|
typedef GdkBorder GtkBorder;
|
||||||
{
|
|
||||||
gint16 left;
|
|
||||||
gint16 right;
|
|
||||||
gint16 top;
|
|
||||||
gint16 bottom;
|
|
||||||
};
|
|
||||||
|
|
||||||
GDK_AVAILABLE_IN_ALL
|
GDK_AVAILABLE_IN_ALL
|
||||||
GType gtk_border_get_type (void) G_GNUC_CONST;
|
GType gtk_border_get_type (void) G_GNUC_CONST;
|
||||||
|
Loading…
Reference in New Issue
Block a user