Matthias Clasen
142efd186d
Inspector: Preserve selection when rescanning
...
We are semiregularly repopulating the object tree. Whenever
we do, we loose the selection, needlessly. Do the extra work
to preserve it.
http://bugzilla.gnome.org/show_bug.cgi?id=753130
2015-08-02 15:20:17 -04:00
Matthias Clasen
df50858dfd
inspector: Show monitor information
...
This is useful to verify the monitor information returned by
other backends.
2015-07-28 01:14:49 -04:00
Matthias Clasen
bc68600cb0
inspector: Show wayland display information
...
Don't call it "X display" when we show useful information under
Wayland as well.
2015-07-28 00:46:34 -04:00
Matthias Clasen
5c2759af3c
Use standard cursor names
...
This changes GTK+ to use gdk_cursor_new_from_name() with the
'standard' css names, instead of GdkCursorType.
https://bugzilla.gnome.org/show_bug.cgi?id=652085
2015-07-26 01:45:06 -04:00
Matthias Clasen
9a44f18940
inspector: Add a function to rescan
...
Currently, we only ever scanned the toplevel list and
widget tree once. That is not enough.
2015-07-23 21:27:37 -04:00
Matthias Clasen
c27b90cc79
Fix the build
2015-07-17 20:45:28 -04:00
Matthias Clasen
d8a40c4587
inspector: Avoid a NULL deref
...
Coverity pointed out that getting a class name requires
dereferencing the pointer, so only don't do it if it is NULL.
2015-07-17 19:52:52 -04:00
Matthias Clasen
2eb39a3b7a
inspector: Remove some dead code
...
Not sure what I was thinking here. Coverity pointed this out.
2015-07-17 18:47:39 -04:00
Matthias Clasen
ff86433ea1
inspector: Avoid a NULL deref
2015-07-17 18:42:24 -04:00
Matthias Clasen
1b8d06da2d
inspector: Check a return value
...
We don't care about the error here, but we were relying on
g_resources_get_info to zero the size even in case of error.
No need to do that, we can just check the return value. Plus,
it makes coverity happy.
2015-07-17 16:11:16 -04:00
Matthias Clasen
f960d4f486
inspector: Annotate a call whose return value we don't need
...
The way this code is written, we know that there is an item in
the hash table and the iter_next call will give it to us, so
no need to check the return value. Annotate the call to tell
coverity.
2015-07-17 16:11:16 -04:00
Matthias Clasen
02577ddb06
inspector: Avoid a gratitious use of g_strv_length
...
No need to count the strings first before iterating over them.
2015-07-16 23:42:55 -04:00
Emmanuele Bassi
e259b2f30d
Avoid O(n²) walking of string arrays
...
"Yo, we heard you like traversing NULL-terminated arrays to operate on
them, so we called g_strv_length() as the for condition, so you can
iterate the array while iterating the array."
Instead of making famed rapper and television producer Xzibit proud, we
should avoid calling g_strv_length() on an array while looping on the
array, to avoid quadratic complexity.
We do this in various places that deal with arrays of strings that we
cannot really guess are short enough not to matter — e.g. the list of
CSS selectors in the inspector, or the required authentication
information for printing.
2015-07-16 16:19:55 +01:00
Christian Hergert
fa6f956489
inspector: allow object read-only properties in prop-editor
...
If we have a GObject property that is also a GObject, we should be able
to view additional information on that object (even if the param spec
is read-only).
2015-05-05 22:00:54 -07:00
Timm Bäder
b08a1702d1
inspector/misc-info: Fix typo
2015-05-02 17:27:29 +02:00
Chun-wei Fan
efd3758f6a
gtk/inspector/css-node-tree.c: Fix Build
...
strcasecmp() is unfortunately not universally available, along with
strings.h. Fix the build by replacing strcasecmp() with
g_ascii_strcasecmp(), and remove the strings.h include.
https://bugzilla.gnome.org/show_bug.cgi?id=747604
2015-04-10 17:18:07 +08:00
Ignacio Casal Quinteiro
7719784733
inspector: fix warning about not using the right format for an int64
2015-03-24 13:36:36 +01:00
Vadim Rutkovsky
3211e82b59
inspector: show accessible name and description
2015-03-19 17:01:23 +01:00
Bastien Nocera
7dac38f841
inspector: Make it easier to cut'n'paste advice message
...
The message says "Enable statistics with GOBJECT_DEBUG=instance-count"
but the message itself isn't selectable, making it hard to cut'n'paste.
https://bugzilla.gnome.org/show_bug.cgi?id=746391
2015-03-18 22:05:46 -04:00
Benjamin Otte
d55c261079
inspector: Add a new page that lists the CSS node tree
2015-03-18 15:23:33 +01:00
Carlos Garnacho
70e7b4c848
inspector: Remove flash timeout from widgets being unmapped
...
Otherwise the timeout can keep running, even if the widget is being
destroyed.
2015-03-16 16:29:37 +01:00
Matthias Clasen
073a9c9cd5
inspector: Add some margin to css editor
...
Requested in
https://bugzilla.gnome.org/show_bug.cgi?id=745918
2015-03-10 14:07:27 -04:00
Carlos Garnacho
85ad434290
inspector: Destroy popovers on unmap
...
As an implementation detail, the popover hooks the fade out animation
on ::hide. Destroying the popover right away here is not a problem, but
prevents the animation from actually running. ::unmap will be run after
the animation is finished, so destroy the popover there.
2015-02-20 14:44:17 +01:00
Lars Uebernickel
f3110e4103
Rename GtkSidebar to GtkStackSidebar
...
GtkSidebar is too generic and doesn't fully convey what the widget does.
https://bugzilla.gnome.org/show_bug.cgi?id=744094
2015-02-13 18:01:56 +01:00
Matthias Clasen
354536d464
inspector: Use some of the new GtkSearchEntry API
...
Avoid repetitive, manual event handling in various places
in GtkInspector.
2015-01-24 08:44:30 -05:00
Timm Bäder
ad180c4335
inspector: Make gl extension rows unactivatable
2015-01-22 21:18:25 +01:00
Benjamin Otte
ebb64c2288
inspector: Remove unused hash table
2015-01-20 06:30:19 +01:00
Benjamin Otte
7ba7dff69e
inspector: Remove unused treemodel properties
...
As a side effect, we can use _gtk_css_section_to_string() to format the
section and save a lot of code.
2015-01-20 06:30:19 +01:00
Benjamin Otte
4ba710ea30
inspector: Use GtkCssStyle and gtk_css_value_to_string()
2015-01-20 06:30:19 +01:00
Benjamin Otte
ad8d30ad86
inspector: Remove a bunch of unused variables
2015-01-17 02:37:36 +01:00
Matthias Clasen
6384167054
inspector: Don't use GSettings directly
...
It is not necessary here, and using GtkSettings gives us
a greater chance to not fail e.g. on Windows.
https://bugzilla.gnome.org/show_bug.cgi?id=742664
2015-01-09 15:29:34 -05:00
Matthias Clasen
c2ff89bbe3
inspector: be careful about gsize vs guint64
...
Since gsize doesn't work as a typename in a ui file,
we have to be careful not to pass pointers to wrongly
sized variables when getting the guint64 values out
of the model.
https://bugzilla.gnome.org/show_bug.cgi?id=742664
2015-01-09 14:44:26 -05:00
Matthias Clasen
80969e34bc
inspector: Show object address
...
This is useful information when running the application
in a debugger.
https://bugzilla.gnome.org/show_bug.cgi?id=742518
2015-01-09 00:07:01 -05:00
Jasper St. Pierre
915e4c6dd7
inspector: Update translations .ui.h file
2014-12-28 18:13:34 -08:00
Matthias Clasen
b4375cde48
Inspector: Show some X display characteristics
...
This helps diagnose e.g. csd problems.
2014-12-28 11:36:10 -05:00
Matthias Clasen
20f1c06eed
Restore a missing file
...
No wonder nobody has tried my awesome magnifier yet...
2014-12-28 11:14:39 -05:00
Matthias Clasen
1e1c5c65d1
inspector: Remove an errant shadow
2014-12-20 19:39:09 -05:00
Matthias Clasen
2b07b6c069
inspector: Add a magnifier
...
Add a magnifier that shows the selected widget up to 5 times
enlarged.
2014-12-20 19:24:08 -05:00
Matthias Clasen
c118e51d52
inspector: Fix capitalization
2014-12-12 23:47:26 -05:00
Matthias Clasen
31ccc372f0
inspector: Add a cursor theme control
2014-12-12 23:46:28 -05:00
Jasper St. Pierre
b6acc8f2c5
actions: Fix compile warning
2014-12-12 17:39:46 -08:00
Christian Hergert
661da5558c
widget: add helpers to resolve GActionGroups available to GtkWidget
...
These functions, while added for use by the GTK inspector, are generally
useful to applications that need to resolve what action groups are
available to a particular GtkWidget.
https://bugzilla.gnome.org/show_bug.cgi?id=741386
2014-12-11 15:25:41 -08:00
Matthias Clasen
23c5f11391
inspector: Make header buttons as !focus-on-click
...
Moving the focus to the header bar is unexpected and disruptive,
so don't do it.
2014-12-10 22:47:16 -05:00
Matthias Clasen
c5b7f9f11c
inspector: Make sure something is focusable on the stats page
...
Without this, the focus will not be inside the top_stack when
we switch to the statistics page and it shows the excuse. This
in turn will make the next page not take focus as expected when
switching away from the statistics page again.
2014-12-10 22:41:45 -05:00
Matthias Clasen
18799d22cf
inspector: Fix focus in css editor
...
Give the text view initial focus, so things work as expected
when switching to the css editor for the first time.
2014-12-10 22:39:50 -05:00
Matthias Clasen
cf4afd0e93
inspector: Don't force-switch to the objects tab
...
We used to switch to the objects tab when an object is
picked, but now may have two places with picker buttons:
the objects tab and the interactive tab.
So, just don't do that anymore.
2014-12-09 20:57:58 -05:00
Matthias Clasen
702b647d4e
inspector: Allow extensions to request a picker
...
Look for a 'use-picker' property on the extension page
and add a picker button to the header bar if says so.
2014-12-09 20:57:51 -05:00
Matthias Clasen
44bf61baac
inspector: Another indentation fix
2014-12-09 19:23:54 -05:00
Matthias Clasen
536b10800f
inspector: Reindent ui file
2014-12-09 17:49:23 -05:00
Alexander Larsson
2d6ae59d7f
Inspector: Support extending the inspector using GIOModules
...
This allows external modules to add a page to the Gtk Inspector.
https://bugzilla.gnome.org/show_bug.cgi?id=740983
2014-12-08 17:34:54 -05:00
Benjamin Otte
4d7369d1a8
inspector: Properly update flashing hilight
...
Previously, the inspector would not change the hilight while the
previous hilight was still flashing.
This is inconvenient while arrowing through the object selection
treeview though where you want the currently selected row to hilight
when arrowing quickly.
2014-12-01 15:43:43 +01:00
Matthias Clasen
383d5b137b
inspector: Build nonrecursively
2014-11-30 16:11:56 -05:00
Matthias Clasen
2679f889a5
Drop an unused variable
2014-11-28 14:25:42 -05:00
Matthias Clasen
d3c96f9f17
inspector: Simplify some code
2014-11-27 23:21:42 -05:00
Matthias Clasen
4634fd81ba
inspector: Make close buttons in search bars have no relief
...
Make our home-grown searchbar lookalike look more alike.
2014-11-25 08:42:26 -05:00
Matthias Clasen
bef9d05812
inspector: minor cleanup
2014-11-24 20:36:00 -05:00
Matthias Clasen
6b95810aae
inspector: Show object title in menu tab
2014-11-22 21:38:47 -05:00
Matthias Clasen
a7ba57f751
inspector: Add menu models to the tree
...
Add both the appmenu and the menubar models as children of the
application, if they exist.
2014-11-22 21:38:47 -05:00
Matthias Clasen
0a37493384
inspector: Show object title in size groups tab
2014-11-22 21:38:47 -05:00
Matthias Clasen
d09f66579b
inspector: Show object title in data tab
2014-11-22 21:38:47 -05:00
Matthias Clasen
af12993c4b
inspector: Show object title on the style property list
...
As with the property list, this replaces the search bar by
a stack containing a search entry.
2014-11-22 21:38:47 -05:00
Matthias Clasen
f38081a4a5
inspector: Show object title on selector tab
2014-11-22 21:38:47 -05:00
Matthias Clasen
38c3600d8b
inspector: Show object title in actions tab
2014-11-22 21:38:47 -05:00
Matthias Clasen
d2aad06513
inspector: Show object title in hierarchy tab
2014-11-22 21:38:47 -05:00
Matthias Clasen
85380f22f3
inspector: Show object title in the classes tab
2014-11-22 21:38:47 -05:00
Matthias Clasen
fe5f9c560b
inspector: Show object title in the css tab
2014-11-22 21:38:47 -05:00
Matthias Clasen
c2326aa5cf
inspector: Show object title in the gestures tab
2014-11-22 21:38:47 -05:00
Matthias Clasen
9e3d0651e1
inspector: Show object title in the signals tab
2014-11-22 21:38:47 -05:00
Matthias Clasen
7a1c5845ef
inspector: Show object title in the properties tab
...
Replace the search bar with a search entry in a stack to make
this work without unseemly height changes.
2014-11-22 21:38:47 -05:00
Matthias Clasen
2ea3171ff9
inspector: Show object title in the misc tab
2014-11-22 21:38:47 -05:00
Matthias Clasen
5b7233f136
inspector: Store object title on object
2014-11-22 21:38:46 -05:00
Matthias Clasen
84463b78e5
inspector: Drop an unused argument
2014-11-22 21:38:46 -05:00
Matthias Clasen
9fb2d6a6b9
inspector: Trivial typo fix
2014-11-22 21:38:46 -05:00
Matthias Clasen
85a539ce6d
inspector: Add frame clock info
...
Add the frame clocks of toplevel widgets to the object tree,
and show their frame count and frame rate in the misc tab.
2014-11-12 22:52:59 -05:00
Matthias Clasen
45528440e6
inspector: Show the refcount on the misc tab
2014-11-12 21:58:08 -05:00
Matthias Clasen
72b9d2861c
inspector: Update misc-info while the tab is shown
...
Update the values on the page once per second, while the tab
is shown.
2014-11-12 21:45:16 -05:00
Matthias Clasen
21e3d4f2f7
inspector: Turn off search where we don't have a search bar yet
...
Avoid the builtin treeview search popup everywhere.
2014-11-11 22:42:51 -05:00
Matthias Clasen
8b95515c0c
inspector: Only set debug-updates for the default display
...
Use the new private API to isolate the inspector itself from
this setting.
2014-11-10 15:24:08 -05:00
Matthias Clasen
5c5c8bdd81
inspector: Add a rendering mode control
2014-11-10 15:07:52 -05:00
Javier Jardón
710f332082
configure.ac: Depend on cairo 1.14.0
...
This is needed for cairo_set_device_scale()
2014-11-10 15:12:17 +00:00
Matthias Clasen
8a8c6c0722
Inspector: hide the selector tab for non-widgets
2014-11-08 21:43:26 -05:00
Matthias Clasen
9a84d8a261
inspector: Hide the size-groups tab when empty
2014-11-08 21:30:12 -05:00
Matthias Clasen
0c20ba7dcb
inspector: Hide the inspector tab when empty
2014-11-08 21:29:51 -05:00
Matthias Clasen
ae4aaf7354
inspector: Set statistics button sensitivity
...
After moving the button the header, it is now visible when
statistics are not available. Disable it in this case.
2014-11-08 09:57:48 -05:00
Matthias Clasen
592a0d46b4
inspector: Add more GL information
...
Add version and extension information to the general tab.
2014-11-08 02:16:35 -05:00
Emmanuele Bassi
585af218a3
Move GDK GL flags accessors to the private vtable
...
This allows us to use the GDK_PRIVATE_CALL macro inside gtk.
https://bugzilla.gnome.org/show_bug.cgi?id=739781
2014-11-08 00:20:15 -05:00
Matthias Clasen
713d3834f6
inspector: Reserve space for buttons
...
Make the button area in the top left a stack that is parallel
to the main page stack. This avoids size changes as we switch
between pages.
2014-11-08 00:09:30 -05:00
Matthias Clasen
d0973fdb78
inspector: Improve search on the statistics page
...
Use a search bar here as well, instead of the builtin treeview popup.
2014-11-07 23:40:31 -05:00
Matthias Clasen
5f701cf4c9
inspector: Move the record button up
...
Give all the page space to the content.
2014-11-07 23:19:28 -05:00
Matthias Clasen
1ddace0a5f
inspector: Shorten some labels
2014-11-07 22:57:14 -05:00
Matthias Clasen
818d2e238b
inspector: Improve search in the resource tree
...
Make search in the resource tree work the same way as the new
search in the object tree.
2014-11-07 22:44:23 -05:00
Matthias Clasen
48415955f0
inspector: Correct a tooltip
2014-11-07 22:44:23 -05:00
Jasper St. Pierre
a91c88768e
inspector: Remove unused variable
2014-11-07 16:33:43 -08:00
Matthias Clasen
ee01ee249f
inspector: Look for themes in the right places
...
Match the places that GtkCssProvider looks in, so we show all
the themes that GTK+ would actually find.
2014-11-07 14:19:59 -05:00
Matthias Clasen
5442293ce7
inspector: include private gdk headers
...
...the advantages of living in the same tree.
2014-11-07 07:11:38 -05:00
Matthias Clasen
0ecd08ed04
inspector: Add GL flags
2014-11-06 23:35:38 -05:00
Matthias Clasen
3c997239e9
inspector: Search refinements
...
Show close buttons on all search bars.
2014-10-31 21:14:09 -04:00
Matthias Clasen
3f3725d97b
inspector: Refine object tree search
...
Behave similar to traditional treeview search, and center
the row when moving between matches.
2014-10-31 21:13:18 -04:00
Matthias Clasen
992c5f0dd6
inspector: Add search to the object tree
...
This is also an attempt to figure out a better story for search
in treeviews.
2014-10-31 21:02:50 -04:00
Matthias Clasen
69a0b31d2d
Trivial: sort file list alphabetically
2014-10-31 14:16:02 -04:00
Matthias Clasen
89e12495b6
inspector: Improve search in style property list
...
Use a search bar with a search entry instead of the builtin
treeview search popup.
2014-10-30 20:54:54 -04:00
Matthias Clasen
574c774e4e
inspector: Improve search in property list
...
Use a search bar with a search entry instead of the builtin
treeview search popup.
2014-10-30 20:54:04 -04:00
Matthias Clasen
42e1fad138
inspector: Stop overeager activation
...
Stop using activate-on-single click for the property list -
it is a little annoying to have the popover come up when you
just click in the list to get the focus there.
2014-10-30 18:47:46 -04:00
Matthias Clasen
cacda8086e
inspector: Add HighContrast to built-in themes list
2014-10-30 12:52:25 -04:00
Matthias Clasen
47191ce173
Make the inspector window translucent instead of lowering
...
Make the inspector window click-through and see-through
when we can, instead of lowering it. This is useful, since
Wayland has no lowering.
2014-10-29 23:29:20 -04:00
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
e35d91d18f
Revert "Inspector backend hack"
...
This reverts commit f88a5dc8c7
.
Didn't mean to push this.
2014-10-25 13:58:36 -04:00
Matthias Clasen
f88a5dc8c7
Inspector backend hack
2014-10-25 10:33:22 -04:00
Matthias Clasen
23641e3103
inspector: Plug a memory leak
2014-10-25 10:00:57 -04:00
Matthias Clasen
bd031b89c1
inspector: Add style classes to the object list
...
We have a lot of space here now, so show some
useful information.
2014-10-25 10:00:39 -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
1aa3000ae6
Inspector: Show more misc info about widgets
...
This adds clip area, accessible role, mapped, realize,
is-toplevel, child-visible, mnemonic labels and tick
callbacks to the displayed information.
2014-10-24 08:34:13 -04:00
Benjamin Otte
727bdd1929
inspector: Add missing directory when scanning for themes
2014-10-21 20:31:05 +02:00
Benjamin Otte
f5da87dde8
inspector: Add missing files
2014-10-14 14:32:57 +02:00
Benjamin Otte
eaa872f6c3
inspector: Replace reload with record
...
and when pressed, record instance counts at 1fps.
2014-10-14 14:03:06 +02:00
Benjamin Otte
43ad7c9714
inspector: Add a graph cell renderer
...
... and use it to display graphs for how object counts changed.
2014-10-14 14:03:06 +02:00
Benjamin Otte
0a6755b57c
inspector: Add a GraphData object for recording data
...
This way we can keep more data than just the 2 last values.
2014-10-14 14:03:06 +02:00
Benjamin Otte
14e0283413
inspector: Kepp tree iter in type data
...
This way we don't have to clear/refill the model every time but can keep
the existing model and only update the values.
A nice side benefit is that running an update keeps the current selection.
2014-10-14 14:03:06 +02:00
Benjamin Otte
e36bfb45cd
inspector: Make all statistics columns visible always
2014-10-14 14:03:06 +02:00
Benjamin Otte
8d06b84670
inspector: Update all statistics in same place
2014-10-14 14:03:06 +02:00
Benjamin Otte
d123ea579f
inspector: increase type by right amount
...
It's a shift, so we better shift it!
2014-10-14 14:03:05 +02:00
Benjamin Otte
525676435d
inspector: Add type column to statistics
...
Rename old type column to "type name"
2014-10-14 14:03:05 +02:00
Benjamin Otte
db8cdd6392
inspector: Split out a function
2014-10-14 14:03:05 +02: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
5624da20e3
inspector: Some improvements for statistics
...
Show the last two snapshots, plus a delta.
2014-10-11 17:58:31 -04:00
Matthias Clasen
9f1d651e0b
inspector: Add a tab for object counts
...
This can be useful in finding leaks.
https://bugzilla.gnome.org/show_bug.cgi?id=738272
2014-10-11 16:54:24 -04:00
Matthias Clasen
9a6aa8db68
inspector: Cosmetics
...
Add .image-button to the tool buttons in the CSS editor - still
not square.
2014-10-11 08:15:07 -04:00
Matthias Clasen
735cf98af1
inspector: Remove a stray separator
2014-10-11 08:07:04 -04:00
Matthias Clasen
3715fec02d
inspector: Make the window smaller
...
No need for 1000 pixels of with anymore, after the reorg.
2014-10-11 08:01:57 -04:00
Matthias Clasen
615e4332ef
inspector: Make resource list columns resizable
...
This tree has the potential to be deep, and contain long
names, so it forces the window to be wide, unless we
allow the columns to shrink.
2014-10-11 08:01:50 -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
d2c0f37a69
inspector: Cosmetic fixes
...
Add a missing shadow in the css editor.
2014-10-11 00:59:36 -04:00
Matthias Clasen
326f0aad5d
inspector: Cosmetic fixes
...
Expand the resource list initially.
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
6194c90f74
inspector: More refactoring
...
Get rid of gtk_inspector_widget_tree_get_selected_object,
we can just pass the selected object along with the changed
signal.
2014-10-11 00:59:36 -04:00
Matthias Clasen
e8f9e7d472
inspector: Small reshuffling
...
Move the scrolled window into GtkInspectorWidgetTree.
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
ee99ca6610
inspector: Avoid a split pane for resources
...
There is not much room in the inspector window; squeezing a
tree and a detailed view in the same page is not great. Instead,
make the details a separate page.
2014-10-11 00:59:36 -04:00
Matthias Clasen
0c77879bd0
inspector: Add more data to resource list
2014-10-11 00:59:36 -04:00
Matthias Clasen
6bbedfe5f3
inspector: Fix up resource tab appearance
...
Now that it is not in a notebook anymore, we lost the view
class in the background. Add it back.
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
5a0dc74ded
Inspector: Use text attributes for monospace labels
2014-10-07 00:42:46 -04:00
Matthias Clasen
0c02bc4239
Inspector: Use the new monospace support
2014-10-07 00:42:21 -04:00
Matthias Clasen
72a809be0a
inspector: Down the model tree
...
Show nested tree models, inside filter or sort models. Without
this, you can't get at the data.
2014-10-04 11:53:14 -04:00
Matthias Clasen
051eedcea1
Small code rearrangement
2014-10-04 11:43:50 -04:00