Lines Matching defs:dlg
87 static GtkWidget *dlg = NULL;
1011 if (dlg == NULL) {
1014 dlg = sp_window_new(_("Gradient editor"), TRUE);
1032 gtk_window_move(reinterpret_cast<GtkWindow *>(dlg), x, y);
1034 gtk_window_set_position(GTK_WINDOW(dlg), GTK_WIN_POS_CENTER);
1037 gtk_window_resize(reinterpret_cast<GtkWindow *>(dlg), w, h);
1039 sp_transientize(dlg);
1040 wd.win = dlg;
1043 GObject *obj = G_OBJECT(dlg);
1049 g_signal_connect(obj, "event", G_CALLBACK(sp_dialog_event_handler), dlg);
1050 g_signal_connect(obj, "destroy", G_CALLBACK(sp_gradient_vector_dialog_destroy), dlg);
1051 g_signal_connect(obj, "delete_event", G_CALLBACK(sp_gradient_vector_dialog_delete), dlg);
1059 conn = new sigc::connection(INKSCAPE.signal_dialogs_hide.connect(sigc::bind(sigc::ptr_fun(>k_widget_hide), dlg)));
1062 conn = new sigc::connection(INKSCAPE.signal_dialogs_unhide.connect(sigc::bind(sigc::ptr_fun(>k_widget_show), dlg)));
1065 gtk_container_set_border_width(GTK_CONTAINER(dlg), PAD);
1068 g_object_set_data(G_OBJECT(dlg), "gradient-vector-widget", wid);
1071 gtk_container_add(GTK_CONTAINER(dlg), wid);
1080 GtkWidget *widget = static_cast<GtkWidget *>(dlg);
1088 g_assert(dlg == NULL);
1092 return dlg;
1188 GObject *obj = G_OBJECT(dlg);
1211 wd.win = dlg = NULL;
1217 gtk_window_get_position(GTK_WINDOW(dlg), &x, &y);
1218 gtk_window_get_size(GTK_WINDOW(dlg), &w, &h);