Lines Matching defs:iconify_button
55 GtkWidget *iconify_button;
193 if (grip->_priv->iconify_button) {
195 gtk_widget_hide (GTK_WIDGET (grip->_priv->iconify_button));
197 gtk_widget_show (GTK_WIDGET (grip->_priv->iconify_button));
261 if (!GDL_DOCK_ITEM_CANT_ICONIFY (grip->item) && grip->_priv->iconify_button)
262 gtk_widget_show (grip->_priv->iconify_button);
284 GtkWidget *iconify_button = grip->_priv->iconify_button;
292 g_return_if_fail (gtk_widget_get_realized (iconify_button));
294 window = gtk_widget_get_parent_window (iconify_button);
312 //GTK_BUTTON (iconify_button)->in_button = FALSE;
313 g_signal_emit_by_name (iconify_button, "leave-notify-event",
385 grip->_priv->iconify_button = gtk_button_new ();
388 gtk_widget_set_can_focus (grip->_priv->iconify_button, FALSE);
389 gtk_widget_set_parent (grip->_priv->iconify_button, GTK_WIDGET (grip));
390 gtk_button_set_relief (GTK_BUTTON (grip->_priv->iconify_button), GTK_RELIEF_NONE);
391 gtk_widget_show (grip->_priv->iconify_button);
394 gtk_container_add (GTK_CONTAINER (grip->_priv->iconify_button), image);
397 g_signal_connect (G_OBJECT (grip->_priv->iconify_button), "clicked",
401 gtk_widget_set_tooltip_text (grip->_priv->iconify_button,
524 gtk_widget_size_request (grip->_priv->iconify_button, &child_requisition);
526 if (gtk_widget_get_visible (grip->_priv->iconify_button)) {
557 gtk_widget_size_request (grip->_priv->iconify_button,
594 if (gtk_widget_get_visible (grip->_priv->iconify_button)) {
606 gtk_widget_size_allocate (grip->_priv->iconify_button, &child_allocation);
680 (* callback) (grip->_priv->iconify_button, callback_data);