d35f664b1a
inspector: Make values in general tab selectable
2014-07-13 16:08:44 -04:00
639180790f
inspector: Make listbox rows non-activatable
2014-07-13 16:03:32 -04:00
cef6f34fb7
inspector: Do not accidentally change tab in the object notebook
...
The "hide-and-show" dance makes the notebook select the next tab.
https://bugzilla.gnome.org/show_bug.cgi?id=733092
2014-07-13 15:19:27 -04:00
91133fc14c
inspector: Reshuffle Visual and General tabs
...
Move the touchscreen switch to the other debug switches, and
move the hidpi spin to the other graphical controls. Since the
Visual tab is getting large, make it scroll. The General tab
is purely informational again.
2014-07-12 01:45:44 -04:00
4ef2f24c75
inspector: Reshuffle visual tab
2014-07-12 00:17:43 -04:00
dfb2b6328e
inspector: Reorder tabs
...
Move Resources next to Objects, and Visual next to General.
2014-07-12 00:10:59 -04:00
c526634fdb
inspector: Fix the build
...
I forgot to test the previous commit with -Wimplicit-function-delcaration,
and it promptly broke.
2014-07-11 23:45:18 -04:00
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
28998425d9
inspector: Don't mark environment variables for translations
...
These names don't change with the locale, after all.
2014-07-11 22:29:58 -04:00
deefe3cd6a
inspector: Add comments
...
The binding support pokes some not-quite-official (or entirely
private) implementation details. Add comment to warn about this.
2014-07-11 10:27:00 -04:00
f4b961c6ac
inspector: Show settings bindings
...
Similar to the previous commit, show settings bindings for
properties in the property editor.
2014-07-11 00:48:51 -04:00
d8880bf7ab
inspector: Show property bindings
...
This commit add information about existing bindings to the
property editor.
2014-07-10 23:57:37 -04:00
425d785de5
inspector: Allow setting hidpi scale
2014-07-10 18:36:16 -04:00
614412e913
inspector: Show GSETTINGS_SCHEMA_DIR when set
2014-07-10 17:37:26 -04:00
8883074497
inspector: Disable non-functional controls
...
Some of the features we expose can be hardcoded via environment
variables. In that case, don't confuse the user by letting them
change settings that have no effect.
2014-07-10 10:33:27 -04:00
7fa4d60bf3
inspector: Add a switch for simulating touch
...
This makes it easy to test test touchscreen features with a
plain old mouse.
2014-07-10 10:12:02 -04:00
eec6deba90
build: Fix make dist
2014-07-08 10:13:39 +02:00
b0390a3349
GtkInspector: Add a function to select the widget under the pointer
2014-07-06 22:37:57 -04:00
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
bb6f406f13
inspector: Use a better icon on the css classes tab
2014-06-30 18:51:39 -04:00
af507be99b
inspector: Chain up in constructed
...
Its the right thing to do.
2014-06-27 18:44:36 -04:00
cf8eaebc07
GtkInspector: Use Adwaita by Default on Windows Too
...
As we are using Adwaita by default on all platforms, do the same for
GtkInspector, to be consistent with the rest of GTK+.
2014-06-16 12:07:04 +08:00
aba6871dba
inspector: Use Adwaita as default theme
2014-06-14 00:15:09 -04:00
2e5cda99f8
inspector: Allow Escape to cancel picking
2014-06-13 06:10:23 -04:00
404149b2bf
inspector: Use a better icon for the picker
...
Recommended by Allan Day.
2014-06-13 06:10:23 -04:00
b0c6263f6c
inspector: Add combobox popups to the tree
2014-06-10 08:54:12 -04:00
634972e063
inspector: Add submenus to the tree
2014-06-10 08:54:12 -04:00
15c34b22d2
inspector: Fix build with quartz backend
...
Add -xobjective-c to libgtkinspector_la_CFLAGS to handle objc headers.
2014-06-08 11:52:45 +02:00
3266b4dd9b
inspector: Make picking more robust
...
Apparently ClutterOffscreen returns NULL as a window.
While that is not cool, we shouldn't crash.
2014-06-06 13:35:40 -04:00
763f0a37c1
inspector: Avoid a crash
...
An unset action-name should not cause us to crash.
2014-06-05 21:08:56 -04:00
14d1a5cba4
inspector: Make GMenu content show up
...
My problem was that all the content is usually hidden away
in sections, so without recursion, nothing shows up. So,
implement the recursion then.
2014-06-05 09:29:18 -04:00
af8bd96e6e
Forgotten file
2014-06-05 08:35:07 -04:00
2346ccde43
inspector: show GMenus
...
This does not quite work yet, and I have no idea why.
2014-06-05 08:32:15 -04:00
582504cc33
inspector: Actually destroy the property editors
...
We were never finalizing any of the popovers used for editing
properties. Fix that.
2014-06-05 05:57:50 -04:00
7a8092998a
inspector: Fix a memory leak
2014-06-05 05:57:50 -04:00
27f692da2d
inspector: Add an initial action editor
...
Use a popup, like we do for properties. For now, it allows
activating the action (with parameter, if necessary) and
setting the state.
2014-06-05 05:57:49 -04:00
23aeb955ce
inspector: Lower the inspector window when picking
...
This avoids the problem of the inspector window covering the
widget you want to pick.
2014-06-04 20:29:10 -04:00
205e8f7e58
inspector: Show the widget tree when picking
...
Makes more sense that way.
2014-06-04 20:12:42 -04:00
1c232066b8
inspector: Go to the desired tab
...
We were setting the next-tab properly, but were trying to
read it off the wrong object. Now, going from a cell renderer
attribute mapping to the model, or from an action-name to the
action actually works.
2014-06-04 19:28:24 -04:00
f6cf7fee73
inspector: Parse custom css with a delay
...
The CSS editor was feeling a little sluggish, because it was
reparsing and reapplying the CSS on every keystroke. Add a small
delay, to make this feel smoother.
2014-06-03 09:44:28 -04:00
61b9bcf1d5
MSVC Projects: "Generate" the gtk-inspector Projects
...
Like the GDK and GTK portions, use autotools scripts to generate the
complete projects for gtk-inspector as sources there seem to change from
time to time.
It might be so that this, like the a11y sources, will be referenced from
the main Makefile.am of GTK directly, but just do this so that the
projects can build properly.
2014-06-03 17:03:40 +08:00
921b6519f1
inspector: better type detection for resources
...
Pass the name to g_content_type_guess. With this, most
CSS gets sniffed as C source code.
2014-05-30 23:45:11 -04:00
e4ba5b6ab6
inspector: Go to the right tab when changing objects
...
When going from attribute mapping to model, it makes most sense
to go directly to the data tab, and when going from an action
name to the owner, we want to show the actions tab. Make it so.
2014-05-30 23:22:29 -04:00
5ed6653859
inspector: Allow jumping to actions
...
The property editor for action-name properties now offers
to go to the object where the action is defined.
2014-05-30 23:22:29 -04:00
d33ff810cc
inspector: Trivial string change
...
'Size Groups' looks better than 'Sizegroups'.
2014-05-30 23:22:29 -04:00
bb9bf4b408
inspector: Handle attribute mapping changes better
...
When the mapping is changed, notify the property and
queue a draw on the widget. This makes both the inspector
and the app update their display.
2014-05-30 21:56:07 -04:00
2e4c87038e
inspector: some code reshuffling
2014-05-30 21:35:39 -04:00
6a9ea3487e
inspector: Support saving CSS
...
We have a file chooser, lets use it.
2014-05-30 20:35:43 -04:00
a28d2cb923
Move extract-strings to its own directory
...
This will hopefully help resolve the circular dependency between
libgtk linking against inspector/libgtkinspector and inspector/
needing extract-strings from gtk/.
I didn't preserve the EXEEXT decorations in this operation -
automake gave me stern warnings about it, so I just dropped them
all. Somebody who cross-builds GTK+ will have to reconstruct this.
2014-05-27 17:28:10 -04:00
ea2d20e313
Fix distcheck
2014-05-27 15:14:02 -04:00