box gadget: Add a way to allocate in reverse

This is needed to preserve expected allocation behavior
in rtl mode.
This commit is contained in:
Matthias Clasen
2016-03-03 21:24:20 -05:00
parent d34161145f
commit c581259e06
2 changed files with 32 additions and 6 deletions

View File

@ -60,6 +60,8 @@ void gtk_box_gadget_set_draw_focus (GtkBoxGadget
gboolean draw_focus);
void gtk_box_gadget_set_draw_reverse (GtkBoxGadget *gadget,
gboolean draw_reverse);
void gtk_box_gadget_set_allocate_reverse (GtkBoxGadget *gadget,
gboolean allocate_reverse);
void gtk_box_gadget_insert_widget (GtkBoxGadget *gadget,
int pos,