diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2015-10-10 00:31:50 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2015-10-10 00:31:50 (GMT) |
commit | 8afd8490dcb695c5e1ab7c55d2305e6af7c97212 (patch) | |
tree | 07dfcfd53a5ce5a92733b735edfb5cc72259cd7a /src/gtkext/easygtk.h | |
parent | 56549ed6632859db219d5434079ad94381293a0a (diff) |
Fixed all remaining gtk warnings about deprecated declarations.
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@590 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
Diffstat (limited to 'src/gtkext/easygtk.h')
-rw-r--r-- | src/gtkext/easygtk.h | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/src/gtkext/easygtk.h b/src/gtkext/easygtk.h index 13cb7fd..02f2f18 100644 --- a/src/gtkext/easygtk.h +++ b/src/gtkext/easygtk.h @@ -31,12 +31,18 @@ /* Conversion anonyme */ #define ALLOC_2_REQ(a) ((GtkRequisition []){ { .width = (a)->width, .height = (a)->height }}) +/* Transition vers GTK-3.x claire */ +#define HAS_H_ORIENTATION(wid) gtk_orientable_get_orientation(GTK_ORIENTABLE(wid)) == GTK_ORIENTATION_HORIZONTAL -/* Met en place un aligement dont les bordures sont à ajuster. */ -GtkWidget *qck_create_padded_alignment(guint, guint, guint, guint); + +/* Aligne un composant GTK par rapport à son parent. */ +void qck_set_alignment(GtkWidget *, GtkAlign, GtkAlign); + +/* Définit des bordures extérieures à appliquer à un composant. */ +void qck_set_margins(GtkWidget *, guint, guint, guint, guint); /* Met en place une frame. */ -GtkWidget *qck_create_frame(const char *, GtkWidget **, guint, guint, guint, guint); +GtkWidget *qck_create_frame(const char *, GtkWidget *, guint, guint, guint, guint); /* Met en place un support à onglets. */ GtkWidget *qck_create_notebook(GObject *, const char *); |