This function behaves as if Widget had a signal
GtkWidget::monitor_changed(GtkWidget *widget, gpointer user_data)
That is emitted whenever widget's toplevel window is moved from one monitor to another. This function automatically connects
to the right toplevel Window, even across moving widget between
toplevel windows.
Note that this function tracks the toplevel, not widget itself, so all a window's widgets are always considered to be on the
same monitor. This is because this function is mainly used for fetching the new monitor's color profile, and it makes little sense to use
different profiles for the widgets of one window.
| widget |
a Widget |
| monitor_changed_callback |
the callback when |
| user_data |
data passed to |
| user_data_destroy |
destroy function for |