summaryrefslogtreecommitdiff
path: root/docs
Commit message (Collapse)AuthorAgeFilesLines
* Add GtkLayoutChildEmmanuele Bassi2019-03-261-0/+14
| | | | | | | | | | | | Layout managers needs a way to store properties that control the layout policy of a widget; typically, we used to store these in GtkContainer's child properties, but since GtkLayoutManager is decoupled from the actual container widget, we need a separate storage. Additionally, child properties have their own downsides, like requiring a separate, global GParamSpecPool storage, and additional lookup API. GtkLayoutChild is a simple GObject class, which means you can introspect and document it as you would any other type.
* Hook GtkLayoutManager into GtkWidgetEmmanuele Bassi2019-03-261-0/+2
| | | | | | We delegate the size request mode, the measuring, and the allocation of a widget through a GtkLayoutManager instance, if one has been attached to the widget; otherwise, we fall back to the widget's own implementation.
* Add GtkLayoutManagerEmmanuele Bassi2019-03-261-0/+16
| | | | | | | | A base abstract class for layout manager delegate objects. Layout managers are associated to a single widget, like event controllers, and are responsible for measuring and allocating the children of the widget they are bound to.
* Remove gdk_device_warpMatthias Clasen2019-03-241-1/+0
| | | | | This was only ever implemented on X11, and is not something we want to encourage apps to do, ever.
* Remove win32 themeing supportBenjamin Otte2019-03-222-30/+2
| | | | | | It was unused through all of GTK 3, so it is not worth supporting. The best Windows themes do not make use of it at all.
* renderer: Make gsk_renderer_is_realized() publicBenjamin Otte2019-03-191-0/+1
| | | | ... and add a property for it.
* renderer: Remove display propertyBenjamin Otte2019-03-191-1/+0
| | | | | Renderers don't need a display until they get realized. And once they get realized, they can look up the display from the surface.
* motion controller: Add getters for crossing event targetsMatthias Clasen2019-03-161-0/+2
| | | | | This information can be needed in signal handlers, so make it available.
* Add key controller API to the docsMatthias Clasen2019-03-161-0/+6
| | | | A bunch of API was missing here.
* password entry: Add a way to see the contentMatthias Clasen2019-03-141-0/+2
| | | | | | | | | Add a ::show-peek-icon property and show a clickable icon when it is set. Clicking it toggles the visibility of the content. The same functionality is also accessible via a context menu item. This is a common feature of password entries.
* transform: Add perspective()Benjamin Otte2019-03-052-0/+2
| | | | | This commit adds gsk_transform_perspective(), gtk_snapshot_perspective() and support for perspective() in the CSS syntax.
* transform: Implement gsk_transform_invert()Benjamin Otte2019-03-041-0/+1
| | | | | | And use it. And test it.
* transform: Remove gsk_transform_identity()Benjamin Otte2019-03-041-1/+0
| | | | | This used to be a good idea back when GskTransform was intended to be used for transitions, but without it, it's not anymore.
* transform: Make category public APIBenjamin Otte2019-03-041-0/+3
| | | | Also rename it from GskMatrixCategory to GskTransformCategory.
* transform: Remove API to poke internalsBenjamin Otte2019-03-041-4/+0
| | | | | It is not interesting to users of GskTransform how it is made up internally. Users should just use the gsk_transform_to_*() APIs.
* transform: Add more APIBenjamin Otte2019-03-041-0/+5
| | | | | | | | | | In particular, add a per-category querying API for the matrix: - gsk_transform_to_translate() - gsk_transform_to_affine() - gsk_transform_to_2d() - gsk_transform_to_matrix() This way, code can use the relevant one for the given category.
* transform: Move to GSKBenjamin Otte2019-03-044-33/+34
| | | | The renaming of the prefix makes this a large patch.
* entry, spin button: Drop redundant APIMatthias Clasen2019-02-284-18/+7
| | | | Avoid duplicating GtkEditable APIs. Port existing users.
* docs: Miscellaneous doc fixesMatthias Clasen2019-02-245-12/+21
| | | | | Additions and correction all over the place, in GDK and GTK docs.
* docs: Remove some no-longer-existing apiMatthias Clasen2019-02-241-16/+4
|
* docs: Some cosmetic fixupsMatthias Clasen2019-02-241-12/+10
| | | | Some leftover comments from the drawing model rewrite.
* Remove gdk_surface_set_user_dataMatthias Clasen2019-02-231-3/+0
| | | | | | | | | | Change gdk_surface_get/set_user_data to private API and rename them to get/set_widget. Also remove an unused associated function. The last two places where the surface API is used are in gtkroot.c and gtkwidget.c. Make them use the private api.
* docs: Refresh the "Q & A" partMatthias Clasen2019-02-231-72/+51
| | | | | Remove references to long-gone API, add some pointers to more modern alternatives, etc.
* Merge branch 'drawing-model-refresh' into 'master'Matthias Clasen2019-02-231-196/+79
|\ | | | | | | | | doc: Rewrite the drawing model overview See merge request GNOME/gtk!603
| * doc: Rewrite the drawing model overviewMatthias Clasen2019-02-231-196/+79
| | | | | | | | | | | | | | This is a first cut at updating the drawing model chapter for the way we do things now. It introduces the scene graph and render nodes, explains node caching and tree diffing, and removes sections about subwindows.
* | Drop gdk_event_handler_setMatthias Clasen2019-02-231-3/+0
|/ | | | This is no longer used by GTK.
* Update migration guide for pass-throughMatthias Clasen2019-02-211-0/+9
|
* overlay: Remove gtk_overlay_set_overlay_pass_throughMatthias Clasen2019-02-211-2/+0
| | | | | gtk_overlay_set_overlay_pass_through has been made redundant by gtk_widget_set_can_pick. Remove it.
* Make gtk_widget_set/get_can_pick publicMatthias Clasen2019-02-211-0/+2
| | | | | This is a generally useful property to make widgets 'transparent' for input purposes.
* overlay: Drop the index child propertyMatthias Clasen2019-02-211-1/+0
| | | | And don't allow reordering children.
* docs: Fix typoBenjamin Otte2019-02-211-1/+1
| | | | :(
* docs: Use the same name in different filesBenjamin Otte2019-02-211-1/+1
| | | | Otherwise gtk-doc gets confused.
* Remove docs for css keybindingsMatthias Clasen2019-02-212-75/+0
| | | | This functionality has been removed.
* css: Add transform style propertyTimm Bäder2019-02-211-0/+10
|
* snapshot: Remove the old APIsBenjamin Otte2019-02-211-2/+0
| | | | It's all using transforms now.
* snapshot: Introduce transform APIsBenjamin Otte2019-02-211-0/+10
| | | | | | | | | Instead of gtk_snapshot_offset(), provide a full set of functions kept in sync with GtkTransform APIs. On top of that, add gtk_snapshot_save() and gtk_snapshot_restore() mirroring cairo_save()/restore() that allow saving a snapshot's transform state.
* snapshot: Remove gtk_snapshot_get_offset()Benjamin Otte2019-02-211-1/+0
| | | | We use append() functions for everything now, thank you very much.
* snapshot: Add functions to append shadowsBenjamin Otte2019-02-211-0/+2
|
* snapshot: Add gtk_snapshot_append_border()Benjamin Otte2019-02-211-0/+3
| | | | This is adding functions for the remaining render nodes.
* gtk: Add GtkTransformBenjamin Otte2019-02-212-1/+34
| | | | | | | | | | | | | This is a new object (well, boxed type, but I'm calling it object) for dealing with transform in a more constructive way than graphene_matrix_t by keeping track of how the transform was created. This way, reasoning about the transform becomes easier, and we can create better ways to print it or transition from one transform to another one. An example of this is that while a 0 degree and a 360degree rotation are both the identity matrix, doing a transition between the two would cause a rotation.
* Add new notebook apis to the docsMatthias Clasen2019-02-212-0/+7
|
* Add more info to the migration guideMatthias Clasen2019-02-211-3/+8
| | | | Mention child metas of GtkAssistant and GtkNotebook.
* text: Remove the ::has-frame propertyMatthias Clasen2019-02-201-2/+0
| | | | | This is purely GtkEntry functionality and should remain there.
* widget: Add gtk_widget_compute_point()Benjamin Otte2019-02-191-0/+1
| | | | It's the replacement for gtk_widget_translate_coordinates()
* widget: Add gtk_widget_compute_transformTimm Bäder2019-02-191-0/+1
|
* Mention GtkEditable and entries in the migration guideMatthias Clasen2019-02-191-0/+17
| | | | | Not a very exhaustive treatment, but at least it gives some hints.
* Add editable delegate api to docsMatthias Clasen2019-02-191-0/+6
| | | | | And add a section that explains how to use these functions when setting up a GtkEditable delegate.
* Add GtkPasswordEntryMatthias Clasen2019-02-193-0/+11
| | | | | This is a simple editable which hides the entered text and shows a caps-lock warning.
* entry: Delegate to GtkTextMatthias Clasen2019-02-191-5/+0
| | | | | | | | | | | Use a GtkText child, and delegate the editable functionality to it. Also forward all the properties that are provided by GtkText. Some of the more internal APIs, such as layout and im context access and caps-lock warning, are removed here, but we preserve most of the plain GtkEntry API by forwarding it to the GtkText child.
* Add a GtkText widgetMatthias Clasen2019-02-183-2/+42
| | | | | This is a GtkEntry without any of the extras, such as icons, completion, progress, caps-lock warning, emoji icon.