Matthias Clasen
850143b7a0
Inspector: Make picking work without a grab
...
Turns out Weston takes an X grab while delivering button events.
Thus, trying to take a grab in response to a button press is
futile.
2014-10-28 07:05:45 -04:00
Matthias Clasen
a46d4e51f7
inspector: Improve details buttons
...
Ensure that the details buttons are only sensitive when
we actually have details to show.
2014-10-24 21:52:23 -04:00
Matthias Clasen
70c3241bd3
inspector: Improve tab switching
...
Switch the object and resource trees away from activate-on-single-click
and add a 'view details' button.
2014-10-24 21:14:16 -04:00
Matthias Clasen
c16fa45bfe
inspector: Use a separate display connection
...
This helps isolate the inspector from some of the changes that
it can trigger. To specify a different display, set
GTK_INSPECTOR_DISPLAY to the name of the display to use for
the inspector window. If no display is specified, GTK+ will
use a separate connection to the default display.
2014-10-24 15:57:33 -04:00
Matthias Clasen
3a19c76017
inspector: Bring the selector back
...
Make it a separate page instead of the old button path.
2014-10-12 07:57:29 -04:00
Matthias Clasen
7b20bb917f
inspector: Small improvements to the resource tab
...
Move the close button to the header bar and center the info grid.
2014-10-11 00:59:36 -04:00
Matthias Clasen
a5846645d1
inspector: Cosmetic fixes
...
Set scrollbars and shadows consistently.
2014-10-11 00:59:36 -04:00
Matthias Clasen
dffceb1a17
inspector: Avoid a split pane for objects
...
Like for the resources page, use a separate page for details
to gain more room for both the tree and the details.
2014-10-11 00:59:36 -04:00
Matthias Clasen
a8dc098699
inspector: More refactoring
...
Rename widget tree to object tree. It contains plenty of
non-widgets nowadays, after all.
2014-10-11 00:59:36 -04:00
Matthias Clasen
bee90aa8c8
inspector: Drop unused python shell code
...
This is getting in the way; if somebody comes by who wants
to add scripting support back, we can resurrect this.
2014-10-11 00:59:36 -04:00
Matthias Clasen
6128082f20
inspector: Save some more space
...
Instead of nesting two notebooks, use a stack switcher in
the headerbar for the outer notebook. This saves valuable
vertical space.
2014-10-11 00:59:36 -04:00
Matthias Clasen
4222e8d713
inspector: Drop the button path
...
The button path takes up quite a bit of room, and is not _that_
useful. If this information is useful, it can find a new home
on the misc tab.
2014-10-11 00:59:36 -04:00
Matthias Clasen
c88c16d1f4
inspector: Fix various compiler warnings
...
Mostly missing declarations and missing statics.
2014-09-05 20:52:03 -04:00
Matthias Clasen
2a7577d23a
inspector: Show misc info
...
Add yet another tab for showing information about a widget that
does not quite fit into any of the other tabs (not a property,
not style information, etc...).
For now, we show the widget state, as well as the default and
focus widget for windows.
2014-07-21 11:18:29 -04:00
Matthias Clasen
f8986d9aa7
inspector: Clean up includes
...
Don't include gtk.h, instead include individual headers.
And include config.h and gi18n-lib.h everywhere.
2014-07-11 23:14:04 -04:00
Matthias Clasen
b0390a3349
GtkInspector: Add a function to select the widget under the pointer
2014-07-06 22:37:57 -04:00
Matthias Clasen
2a053cc6c3
GtkInspector: Add a style tab
...
This tab shows css properties of a widget, and their origin.
2014-07-06 22:37:57 -04:00
Matthias Clasen
2346ccde43
inspector: show GMenus
...
This does not quite work yet, and I have no idea why.
2014-06-05 08:32:15 -04:00
Matthias Clasen
205e8f7e58
inspector: Show the widget tree when picking
...
Makes more sense that way.
2014-06-04 20:12:42 -04:00
Matthias Clasen
a47d0406a7
inspector: Add more complete gesture support
...
Add a dedicated tab that shows how gestures are grouped,
and allows changing the propagation phase.
2014-05-23 19:54:32 +02:00
Matthias Clasen
538b987bc5
inspector: Add a way to highlight widgets
...
In contrast to the flashing, where we blink the widget a
few times, this is explicitly turned on and off.
It will be used for indicating widgets that are part of
a size group, in the next commit.
2014-05-20 21:43:00 -04:00
Matthias Clasen
2d2f9861a6
inspector: Show GAction information
...
Show the actions that are added to GtkApplication and
GtkApplicationWindows, as well as action groups that are
inserted elsewhere with gtk_widget_insert_action_group.
https://bugzilla.gnome.org/show_bug.cgi?id=730095
2014-05-14 21:40:01 -04:00
Matthias Clasen
59c9d24bbf
inspector: stop being a module
...
Moving the inspector into libgtk lets use reuse internals without
having to add public API for everything or inventing awkward private
call conventions.
https://bugzilla.gnome.org/show_bug.cgi?id=730095
2014-05-14 21:23:44 -04:00