Lines Matching refs:_priv

267     dock->_priv = g_new0 (GdlDockPrivate, 1);
268 dock->_priv->width = -1;
269 dock->_priv->height = -1;
282 dock->_priv->float_x = event->x;
283 dock->_priv->float_y = event->y;
284 dock->_priv->width = event->width;
285 dock->_priv->height = event->height;
313 if (dock->_priv->floating) {
315 dock->_priv->window = gtk_window_new (GTK_WINDOW_TOPLEVEL);
316 g_object_set_data (G_OBJECT (dock->_priv->window), "dock", dock);
319 gtk_window_set_position (GTK_WINDOW (dock->_priv->window),
321 gtk_window_set_default_size (GTK_WINDOW (dock->_priv->window),
322 dock->_priv->width,
323 dock->_priv->height);
324 gtk_window_set_type_hint (GTK_WINDOW (dock->_priv->window),
327 gtk_window_set_skip_taskbar_hint (GTK_WINDOW (dock->_priv->window),
331 gtk_window_move (GTK_WINDOW (dock->_priv->window),
332 dock->_priv->float_x,
333 dock->_priv->float_y);
336 g_signal_connect (dock->_priv->window, "configure_event",
346 gtk_container_add (GTK_CONTAINER (dock->_priv->window), GTK_WIDGET (dock));
348 g_signal_connect (dock->_priv->window, "delete_event",
368 dock->_priv->floating = g_value_get_boolean (value);
377 dock->_priv->width = g_value_get_int (value);
380 dock->_priv->height = g_value_get_int (value);
383 dock->_priv->float_x = g_value_get_int (value);
386 dock->_priv->float_y = g_value_get_int (value);
398 if (dock->_priv->floating && dock->_priv->window) {
399 gtk_window_resize (GTK_WINDOW (dock->_priv->window),
400 dock->_priv->width,
401 dock->_priv->height);
417 g_value_set_boolean (value, dock->_priv->floating);
435 g_value_set_int (value, dock->_priv->width);
438 g_value_set_int (value, dock->_priv->height);
441 g_value_set_int (value, dock->_priv->float_x);
444 g_value_set_int (value, dock->_priv->float_y);
458 if (!dock->_priv->window)
461 if (!dock->_priv->auto_title && object->long_name) {
474 dock->_priv->auto_title = TRUE;
479 gtk_window_set_title (GTK_WINDOW (dock->_priv->window), title);
499 dock->_priv->auto_title = FALSE;
510 if (dock->_priv) {
511 GdlDockPrivate *priv = dock->_priv;
512 dock->_priv = NULL;
627 if (dock->_priv->window)
628 gtk_widget_unmap (dock->_priv->window);
652 if (dock->_priv->floating && dock->_priv->window)
653 gtk_widget_show (dock->_priv->window);
673 if (dock->_priv->floating && dock->_priv->window)
674 gtk_widget_hide (dock->_priv->window);
770 if (dock->_priv->floating)
969 if (dock->_priv->floating &&
977 gtk_window_move (GTK_WINDOW (dock->_priv->window),
1012 if (dock->_priv->floating)
1013 gtk_window_present (GTK_WINDOW (dock->_priv->window));
1332 if (!dock->_priv->xor_gc) {
1338 dock->_priv->xor_gc = gdk_gc_new_with_values
1344 gdk_gc_set_line_attributes (dock->_priv->xor_gc, 1,
1354 gdk_gc_set_dashes (dock->_priv->xor_gc, 1, dash_list, 2);
1356 gdk_draw_rectangle (window, dock->_priv->xor_gc, FALSE,
1360 gdk_gc_set_dashes (dock->_priv->xor_gc, 0, dash_list, 2);
1362 gdk_draw_rectangle (window, dock->_priv->xor_gc, FALSE,