Lines Matching refs:close_button
54 GtkWidget *close_button;
185 if (grip->_priv->close_button) {
187 gtk_widget_hide (GTK_WIDGET (grip->_priv->close_button));
189 gtk_widget_show (GTK_WIDGET (grip->_priv->close_button));
259 if (!GDL_DOCK_ITEM_CANT_CLOSE (grip->item) && grip->_priv->close_button)
260 gtk_widget_show (grip->_priv->close_button);
368 grip->_priv->close_button = gtk_button_new ();
371 gtk_widget_set_can_focus (grip->_priv->close_button, FALSE);
372 gtk_widget_set_parent (grip->_priv->close_button, GTK_WIDGET (grip));
373 gtk_button_set_relief (GTK_BUTTON (grip->_priv->close_button), GTK_RELIEF_NONE);
374 gtk_widget_show (grip->_priv->close_button);
377 gtk_container_add (GTK_CONTAINER (grip->_priv->close_button), image);
380 g_signal_connect (G_OBJECT (grip->_priv->close_button), "clicked",
403 gtk_widget_set_tooltip_text (grip->_priv->close_button,
518 gtk_widget_size_request (grip->_priv->close_button, &child_requisition);
520 if (gtk_widget_get_visible (grip->_priv->close_button)) {
555 gtk_widget_size_request (grip->_priv->close_button,
575 if (gtk_widget_get_visible (grip->_priv->close_button)) {
587 gtk_widget_size_allocate (grip->_priv->close_button, &child_allocation);
679 (* callback) (grip->_priv->close_button, callback_data);