add_track_widget


Description:

[ CCode ( cname = "gimp_ruler_add_track_widget" ) ]
[ Version ( since = "2.8" ) ]
public void add_track_widget (Widget widget)

Adds a "track widget" to the ruler.

The ruler will connect to GtkWidget:motion-notify-event: on the track widget and update its position marker accordingly. The marker is correctly updated also for the track widget's children, regardless of whether they are ordinary children of off-screen children.

Parameters:

this

a Ruler

widget

the track widget to add