forked from AuroraMiddleware/gtk
range: Add private api to get the trough node
This will be needed in range subclasses to position their own subnodes.
This commit is contained in:
parent
9f3deaa496
commit
973836d395
@ -4317,3 +4317,9 @@ _gtk_range_set_steppers (GtkRange *range,
|
||||
|
||||
gtk_widget_queue_resize (GTK_WIDGET (range));
|
||||
}
|
||||
|
||||
GtkCssNode *
|
||||
gtk_range_get_trough_node (GtkRange *range)
|
||||
{
|
||||
return range->priv->trough_node;
|
||||
}
|
||||
|
@ -27,6 +27,7 @@
|
||||
|
||||
|
||||
#include <gtk/gtkrange.h>
|
||||
#include <gtk/gtkcssnodeprivate.h>
|
||||
|
||||
|
||||
G_BEGIN_DECLS
|
||||
@ -47,6 +48,8 @@ void _gtk_range_set_steppers (GtkRange *range
|
||||
gboolean has_c,
|
||||
gboolean has_d);
|
||||
|
||||
GtkCssNode *gtk_range_get_trough_node (GtkRange *range);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user