app: add gimp_widget_track_monitor()
Which installs a callback that behaves as if GtkWidget had a "monitor-changed" signal. Additionally, moving widgets around between windows is handled automatically.
This commit is contained in:
@ -46,6 +46,10 @@ void gimp_label_set_attributes (GtkLabel *label,
|
||||
gint gimp_widget_get_monitor (GtkWidget *widget);
|
||||
gint gimp_get_monitor_at_pointer (GdkScreen **screen);
|
||||
|
||||
void gimp_widget_track_monitor (GtkWidget *widget,
|
||||
GCallback monitor_changed_callback,
|
||||
gpointer user_data);
|
||||
|
||||
GimpColorProfile * gimp_widget_get_color_profile (GtkWidget *widget);
|
||||
|
||||
GimpColorTransform * gimp_widget_get_color_transform (GtkWidget *widget,
|
||||
|
||||
Reference in New Issue
Block a user