After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 579887 - Add a "window" property to GdlDock
Add a "window" property to GdlDock
Status: RESOLVED NOTABUG
Product: gdl
Classification: Other
Component: general
2.26.x
Other Linux
: Normal enhancement
: ---
Assigned To: Anjuta maintainers
Anjuta maintainers
Depends on:
Blocks:
 
 
Reported: 2009-04-22 21:20 UTC by Les Harris
Modified: 2010-04-04 16:46 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
A patch to add a window property to GdlDock (1.90 KB, patch)
2009-04-22 21:20 UTC, Les Harris
none Details | Review

Description Les Harris 2009-04-22 21:20:04 UTC
Right now there is no way to access the underlying GtkWindow of a floating dock item.  This is a problem for me personally because I am putting VTE terminal widgets into dockitems and VTE likes to have GtkWindow geometry hints set.

Specifically, I want the floating window to resize by character widths/heights (like gnome-terminal for example) and to do this I need access to the GtkWindow, the GdkWindow of the dock item will not work.

Included with this bug is a patch that adds this property to GdlDock.  It is readonly and supplies either the pointer to the underlying GtkWindow if the dockitem is floating, or NULL if not.
Comment 1 Les Harris 2009-04-22 21:20:42 UTC
Created attachment 133148 [details] [review]
A patch to add a window property to GdlDock
Comment 2 Sven Herzberg 2009-04-27 13:43:26 UTC
So, gtk_widget_get_toplevel() doesn't already work?
Comment 3 Johannes Schmid 2009-05-27 07:24:46 UTC
Would gtk_widget_get_toplevel() work for you?
Comment 4 Tobias Mueller 2010-01-13 04:26:47 UTC
Les: Ping.
Comment 5 Tobias Mueller 2010-04-04 16:46:20 UTC
I'm closing as NOTABUG based on the previous comments. Les, please reopen if you have any news. Thanks in advance.

Maintainers: There is a patch which I assume has to be rejected.