Logo Search packages:      
Sourcecode: libnotify version File versions  Download package

void notify_notification_attach_to_widget ( NotifyNotification *  notification,
GtkWidget *  attach 

notify_notification_attach_to_widget: : The notification. : The widget to attach to, or NULL.

Attaches the notification to a widget. This will set hints on the notification requesting that the notification point to the widget's location. If is NULL, the widget will be unset.

Definition at line 577 of file notification.c.


      if (notification->priv->attached_widget == attach)

      if (notification->priv->attached_widget != NULL)

      notification->priv->attached_widget =
            (attach != NULL ? g_object_ref(attach) : NULL);

      g_object_notify(G_OBJECT(notification), "attach-widget");

Generated by  Doxygen 1.6.0   Back to index