| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
Consistently use it for boxed lists in inspector and gtk-demo.
Fixes issues like https://gitlab.gnome.org/GNOME/gtk/-/issues/3145
|
|
|
|
|
|
| |
Without this, debug nodes randomly are missing
in the tree, where we are reusing older render
nodes.
|
|
|
|
|
|
|
|
| |
The problem here is that new windows appear in the list before the
window's dispay gets set and we don't update the filter when the
display changes (would need watches support for the filtermodel).
So add this somewhat hacky method.
|
|\
| |
| |
| |
| | |
inspector: be defensive against out parameters
See merge request GNOME/gtk!5591
|
| |
| |
| |
| |
| |
| |
| | |
Set initial state to NULL so that we don't risk accessing an unset out
parameter.
Fixes a crash when activating certain actions.
|
|/
|
|
|
| |
The gtk_accessible_get_at_context() getter is now transfer full, which
means we need to drop the reference when getting the GtkATContext.
|
| |
|
|
|
|
| |
For some reason, these were not included, and they should.
|
|
|
|
|
| |
Add a GskMaskMode enumeration and implement it
in the GL and cairo renderers.
|
|
|
|
|
|
|
|
|
| |
Add GskMaskNode, and support it in the render node
parser, in the inspector and in GtkSnapshot.
The rendering is just fallback for now.
Based on old work by Timm Bäder.
|
| |
|
|
|
|
|
| |
This prevents confusion and makes it clear
what is going on.
|
| |
|
|
|
|
| |
Fixes #5551
|
|
|
|
|
| |
Ellipsize values that can get long, to avoid
forcing an excessively wide window.
|
|
|
|
|
|
| |
A shortcut for setting initial-folder and initial-name at the same time.
We can remove all arguments from the actual async calls this way.
|
| |
|
|
|
|
|
|
|
| |
gtk_widget_set_visible and gtk_window_present
are better alternatives, and calling gtk_widget_show
on newly created widgets is no longer necessary
anyway.
|
|
|
|
|
|
|
|
| |
We did not have a name for the new touchpad hold
events.
To prevent this from happening again in the future,
add a static assertion.
|
|
|
|
|
|
|
|
|
| |
These are being replaced by GtkFileDialog.
This commit only moves the headers for GtkFileChooserWidget and
GtkFileChooserDialog to deprecated/, and keeps the implementations
in gtk/, since they will eventually be salvaged into a private
GtkFileChooserWindow.
|
|
|
|
|
|
|
|
|
| |
It is getting replaced by GtkAlertDialog
This commit only moves the header to deprecated/,
and keeps the implementation in gtk/, since it will
eventually be salvaged into a private, dialog-free
widget.
|
| |
|
|
|
|
|
| |
The argument list of gtk_accessible_update_property
is -1-terminated, not NULL-terminated.
|
|
|
|
|
| |
This name wasn't everybody's favorite, so go with
the generic name gtk_widget_get_color() instead.
|
|
|
|
|
|
| |
The graph renderer in the statistics page needs
the CSS foreground color to draw the graph. Use
the just introduced api for it.
|
|
|
|
|
|
|
| |
The notable exception here are the global provider apis,
which are needed in some form and don't have a replacement
yet. Move them to gtkstyleprovider.[hc], so we can wholly
deprecated gtkstylecontext.[hc].
|
|\
| |
| |
| |
| | |
Deprecate treeviews and cell renderers
See merge request GNOME/gtk!5098
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This includes
GtkCellArea
GtkCellAreaBox
GtkCellAreaContext
GtkCellEditable
GtkCellRenderer
GtkCellRendererAccel
GtkCellRendererCombo
GtkCellRendererPixbuf
GtkCellRendererProgress
GtkCellRendererSpin
GtkCellRendererSpinner
GtkCellRendererText
GtkCellRendererToggle
GtkCellView
GtkComboBox
GtkComboBoxText
GtkIconView
GtkListStore
GtkTreeModel
GtkTreeModelFilter
GtkTreeModelSort
GtkTreeStore
GtkTreeView
GtkTreeViewColumn
GtkTreeSelection
|
| | |
|
|/
|
|
| |
Namely, it adds accessible name to the property value editors and to a few labels in the a11y panel.
|
|
|
|
| |
This is fallout from the recent porting to GtkColumnView.
|
|
|
|
| |
This is not used anymore.
|
|
|
|
|
| |
Replace the css node tree with a GtkColumnView, using
the new gtk_css_node_observe_children api.
|
|
|
|
|
| |
GtkTreeView is heading towards deprecation; use
a GtkColumnView instead.
|
|
|
|
| |
We were overlooking a transfer full here.
|
|
|
|
| |
Treeviews are heading towards deprecation.
|
| |
|
|
|
|
|
| |
Use the same style classes throughout for
data lists that benefit from smaller fonts.
|
|
|
|
| |
Replace this with a GtkColumnView.
|
|
|
|
| |
This gets rid of treeview includes in a number of places.
|
|
|
|
|
| |
Replace the event and render node details views with
columnviews.
|
|
|
|
|
|
|
|
|
| |
The template use in the inspector was not properly
disposing all widgets. gtk_widget_dispose_template
will only unparent widgets that have been named
as template children, so we need to make the toplevel
elements in the ui file named children, or manually
dispose them. This commit does the former.
|
|
|
|
|
| |
Include gtkprivate.h for I_() and glib-i18n.h for
gettext macros.
|
|
|
|
| |
This is the naming convention for private headers.
|
|
|
|
| |
This was not doing anything.
|
|
|
|
|
| |
Make it more clear that the function is supposed to be called during the
dispose sequence of a widget.
|
|
|
|
| |
Use clear_template() instead of unparenting widgets manually.
|
|
|
|
|
| |
It is much more valuable to have a responsive inspector,
than to have these graphs.
|
|
|
|
|
|
|
| |
And launch a new inspector.
The location of that button is rather random - I had no idea where to
put it.
|
|
|
|
|
| |
We filter by display, so the inspector window should show up only when
inspecting the inspector.
|