On Sat, 1 Jun 2019 23:08:13 +0200, Mike Wey wrote:
On 01-06-2019 21:45, Alex X wrote:
One problem with gtkD is that because it wraps gtk one ends up with objects that, when inspected in visual studio, look like
***
which is a bunch of useless information that tells one nothing about the information of the object one is dealing with(except the type).
I wonder if this could be improved upon and relevant information could be shown, such as a labels text, etc?
I don't think so, for the Label the text is stored in GtkLabelPrivate
for witch GTK doesn't provide a definition.Maybe the GtkInspector is more useful for things like that, you can
start the GtkInspector by starting your app with the--gtk-debug=interactive
commandline option.
Cool, I didn't even know something like that existed. Is there any way to pop it up programmatically(as once it's closed it's gone ;/). I'd like to assign a hot key to it.
Also, any more useful commands like that?
[I found https://developer.gnome.org/gtk3/stable/gtk-running.html#GTK-Debug-Options which seems to list them. Doesn't say how to do multiple ones. CSV's? SSV's?]