Lines Matching defs:adj
84 static void sp_rtb_value_changed(GtkAdjustment *adj, GObject *tbl, gchar const *value_name,
96 Quantity::convert(gtk_adjustment_get_value(adj), unit, "px"));
112 if (gtk_adjustment_get_value(adj) != 0) {
113 (SP_RECT(*i)->*setter)(Quantity::convert(gtk_adjustment_get_value(adj), unit, "px"));
131 static void sp_rtb_rx_value_changed(GtkAdjustment *adj, GObject *tbl)
133 sp_rtb_value_changed(adj, tbl, "rx", &SPRect::setVisibleRx);
136 static void sp_rtb_ry_value_changed(GtkAdjustment *adj, GObject *tbl)
138 sp_rtb_value_changed(adj, tbl, "ry", &SPRect::setVisibleRy);
141 static void sp_rtb_width_value_changed(GtkAdjustment *adj, GObject *tbl)
143 sp_rtb_value_changed(adj, tbl, "width", &SPRect::setVisibleWidth);
146 static void sp_rtb_height_value_changed(GtkAdjustment *adj, GObject *tbl)
148 sp_rtb_value_changed(adj, tbl, "height", &SPRect::setVisibleHeight);
155 GtkAdjustment *adj = 0;
157 adj = GTK_ADJUSTMENT( g_object_get_data(obj, "rx") );
158 gtk_adjustment_set_value(adj, 0.0);
160 gtk_adjustment_value_changed(adj);
162 adj = GTK_ADJUSTMENT( g_object_get_data(obj, "ry") );
163 gtk_adjustment_set_value(adj, 0.0);
164 gtk_adjustment_value_changed(adj);
190 GtkAdjustment *adj = GTK_ADJUSTMENT( g_object_get_data( tbl, "rx" ) );
193 gtk_adjustment_set_value(adj, Quantity::convert(rx, "px", unit));
197 GtkAdjustment *adj = GTK_ADJUSTMENT( g_object_get_data( tbl, "ry" ) );
200 gtk_adjustment_set_value(adj, Quantity::convert(ry, "px", unit));
204 GtkAdjustment *adj = GTK_ADJUSTMENT( g_object_get_data( tbl, "width" ) );
207 gtk_adjustment_set_value(adj, Quantity::convert(width, "px", unit));
211 GtkAdjustment *adj = GTK_ADJUSTMENT( g_object_get_data( tbl, "height" ) );
214 gtk_adjustment_set_value(adj, Quantity::convert(height, "px", unit));