Benjamin Otte
ce98df881f
gsk: Change gsk_renderer_realize()
...
Instead of having a gsk_renderer_set_window() call, pass the window to
realize(). This way, the realization can fail with the wrong window.
Signed-off-by: Emmanuele Bassi <ebassi@gnome.org>
2016-11-30 15:55:45 +01:00
Benjamin Otte
2a27b7ecc6
API: Remove gdk_window_process_all_updates()
...
It's completely unused since we have a frame clock.
2016-11-23 19:10:34 +01:00
Benjamin Otte
ef75ca2d53
API: gdk: Remove gdk_window_process_updates()
...
We have a frame clock now.
2016-11-23 19:02:58 +01:00
Benjamin Otte
4850271ae8
API: Remove gtk_cairo_should_draw_window()
...
The answer is: Yes.
2016-11-23 18:48:38 +01:00
Matthias Clasen
8a88745186
Some additions to the migration guide
2016-11-20 08:14:19 -05:00
Benjamin Otte
e62a4d8eea
API: gdk: Remove ability to render window contents
...
The functions gdk_pixbuf_get_from_window() and
gdk_cairo_set_source_window() are unreliable and depend on the windowing
system (they work great on X11 and Win32, less so on Quartz and Wayland).
With the switch to new drawing API and OpenGL, we can definitely no
longer support a generic way to snapshot windows.
People should either write windowsystem-specific code or draw their
widgets directly - like with gtk_widget_draw() - if they need to get a
rendering.
2016-11-20 11:47:44 +01:00
Benjamin Otte
78888ade0d
tools: Rewrite screenshotting code for shooter
...
Uses X directly, so bypasses both the need to query the root window and
to draw window contents.
2016-11-20 11:43:09 +01:00
Matthias Clasen
fd6d28dd8d
Add some things to the sections file
...
This makes gtk-doc happier.
2016-11-19 13:46:13 -05:00
Matthias Clasen
5170218a1d
More work towards a clean doc build
...
Tell gtk-doc about more private headers.
2016-11-19 13:45:04 -05:00
Matthias Clasen
2d65156be3
Add gtk_im_context_simple_add_compose_file
2016-11-19 13:30:27 -05:00
Matthias Clasen
6734f354b4
docs: Add gtk_print_job_set_source_fd
2016-11-19 13:26:49 -05:00
Matthias Clasen
d0f8e324b1
Add gtk_menu_place_on_monitor to the docs
2016-11-19 12:53:13 -05:00
Matthias Clasen
c9c391bd55
Drop macro wrappers for get_version functions
...
These are not really useful, and were added long ago
as a clutch for transitioning to the new names.
2016-11-19 12:28:52 -05:00
Matthias Clasen
aa74d96532
Document newly supported 3d transforms in CSS
2016-11-18 19:34:02 -05:00
Matthias Clasen
7d34229cdd
More docs cleanup
2016-11-18 18:54:45 -05:00
Matthias Clasen
0a75bb4353
Work towards a clean docs build
...
Remove various no-longer-existing functions from the sections
file, and exclude more private headers, etc.
2016-11-18 14:43:34 -05:00
Matthias Clasen
b15bc437a6
Rename broadwayd to gtk4-broadwayd
...
This was the last unprefixed binary, and it was causing file
conflicts between gtk3 and gtk4.
2016-11-18 13:40:37 -05:00
Matthias Clasen
f73c5dd8dd
docs: Name the 3.90 index properly
2016-11-18 08:14:23 -05:00
Matthias Clasen
5c1af1af04
docs: Ignore gtksnapshotprivate.h
2016-11-18 08:12:20 -05:00
Matthias Clasen
95c13ee471
Document GtkSnapshot
...
This is just some initial documentation, more detail needed.
2016-11-18 07:43:39 -05:00
Matthias Clasen
9ecb34b4a0
Add some drawing information the migration guide
...
Mention snapshot(), and the new GtkDrawingArea API.
2016-11-18 07:43:33 -05:00
Matthias Clasen
3c5dbc2f17
docs: Add GtkDrawingAreaDrawFunc
2016-11-18 06:09:46 -05:00
Benjamin Otte
5940625e9e
drawingarea: Add gtk_drawing_area_set_draw_func()
2016-11-18 06:40:53 +01:00
Benjamin Otte
41d1e1fea8
drawingarea: Add content-width and content-height properties
...
People should use these instead of gtk_widget_set_size_request().
2016-11-18 06:40:53 +01:00
Matthias Clasen
fbbd3ccfd7
docs: Fix print-related includes
...
Pointed out in https://bugzilla.gnome.org/show_bug.cgi?id=774614 .
2016-11-17 09:33:30 -05:00
Matthias Clasen
21570a57f2
docs: Update an example
...
Pointed out in https://bugzilla.gnome.org/show_bug.cgi?id=774490
2016-11-17 06:17:11 -05:00
Benjamin Otte
bcf70e3a03
API: Remove everything relating to "grip"
...
Grips have long been unused in GTK, so remove all support for them.
This removes the GTK_STYLE_CLASS_GRIP and the special
gtk_render_handle() code for drawing those grips.
2016-11-16 19:27:43 +01:00
Benjamin Otte
56e11f057c
API: Remove gtk_render_extension()
...
This is long-gone drawing API.
2016-11-16 18:36:10 +01:00
Matthias Clasen
2520662d13
Allow replacing input file in gtk-builder-tool simplify
2016-11-12 22:33:01 -05:00
Matthias Clasen
5b8646c6e8
Update the migration guide
...
Mention the demise of -gtk-gradient, and explain that CSS syntax
works fine for this now.
2016-11-07 16:00:05 -05:00
Matthias Clasen
fa7d77d407
Revert "Update the CSS docs for the demise of define-color"
...
This reverts commit 12d9451b1c
.
2016-11-07 15:05:37 -05:00
Matthias Clasen
a1e03346d9
Revert "Update the migration guide"
...
This reverts commit b868164381
.
2016-11-07 15:05:28 -05:00
Matthias Clasen
b868164381
Update the migration guide
...
Mention some removed CSS extensions.
2016-11-07 14:59:23 -05:00
Matthias Clasen
12d9451b1c
Update the CSS docs for the demise of define-color
2016-11-07 14:49:46 -05:00
Matthias Clasen
069c5e48d4
Update CSS docs to reflect the demise of -gtk-gradient
2016-11-07 14:46:41 -05:00
Benjamin Otte
9fe8b1e112
API: gdk: Remove gdk_window_new()
...
It's finally no longer public API.
2016-11-07 01:12:47 +01:00
Benjamin Otte
24d0baec38
API: gdk: Add gdk_window_new_popup()
...
... and use it.
2016-11-06 23:47:56 +01:00
Benjamin Otte
b30afff511
API: wayland: Add gdk_wayland_window_new_subsurface()
...
... and use it instead of gdk_window_new().
2016-11-06 21:36:43 +01:00
Benjamin Otte
87f07bac6b
API: gdk: Add gdk_window_new_toplevel()
...
... and use it in GTK.
2016-11-06 17:40:59 +01:00
Timm Bäder
3b970f4555
button: Remove _get_event_window
2016-11-05 11:56:36 +01:00
Timm Bäder
846cf681e8
Remove gtk_widget_set_mapped
...
Let all the remaining callers chain up.
2016-11-05 11:56:36 +01:00
Benjamin Otte
33e7a7898f
API: gdk: Remove gdk_window_set_override_redirect()
...
When you want an override-redirect window, you create it that way.
Changing that behavior is not supported anywhere (but on X of course).
2016-11-05 03:32:27 +01:00
Benjamin Otte
4585af5719
gdk: Remove visual APIs from GdkScreen
...
gdk_screen_list_visuals(), gdk_screen_get_system_visual() and
gdk_screen_get_rgba_visual() are gone now.
2016-11-04 00:02:37 +01:00
Matthias Clasen
7a2537866b
Drop GdkColor
...
It is deprecated and no longer used.
2016-11-01 13:58:11 -04:00
Matthias Clasen
e6d5a3dce2
Drop GtkTextAttributes from the docs
2016-11-01 13:58:10 -04:00
Benjamin Otte
e201c4dc92
gsk: Remove gsk_render_node_get_scale_factor()
...
Scale factors belong to the renderers, not the nodes. The nodes should
just use whatever scale factor the renderer tells them to when
rendering.
2016-11-01 16:32:26 +01:00
Timm Bäder
5071206d60
widget: Remove app-paintable
2016-10-31 19:28:28 +01:00
Benjamin Otte
73cd739e19
API: widget: Remove gtk_widget_is_composited()
...
We don't need to clutter our API with functions that are easily
available elsewhere and effectively unused.
2016-10-29 04:49:47 +02:00
Benjamin Otte
d249e77bcb
API: screen: Remove gdk_screen_is_composited()
...
Switch code to use gdk_display_is_composited() instead.
The new code also doesn't use a vfunc to query the property but rather
requires the backend to call set_composited()/set_rgba() to change the
value.
2016-10-29 04:49:47 +02:00
Benjamin Otte
42d8142cc7
API: gdk: Add gdk_display_is_rgba() and gdk_display_is_composited()
...
Also add properties for those two properties.
The first property is equivalent to checking if an RGBA visual exists,
the 2nd is equivalent to gdk_screen_is_composited().
2016-10-29 04:49:47 +02:00