Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Reimplement Control's print(GC) method with gtk_widget_get_snapshot ()
Reimplement Control's print(GC) method with gtk_widget_get_snapshot () [message #483786] Thu, 03 September 2009 01:05 Go to next message
Remy Suen is currently offline Remy SuenFriend
Messages: 462
Registered: July 2009
Senior Member
http://library.gnome.org/devel/gtk/unstable/GtkWidget.html#g tk-widget-get-
snapshot

Is this viable? Would this allow Shells to be printed? I don't know
anything about GTK+ so I don't know if the returned GdkPixmap will be of
any use but just thought I'd toss this out here.

If the SWT team thinks that this would work I'd be happy to open an
enhancement request.

Regards,
Remy
Re: Reimplement Control's print(GC) method with gtk_widget_get_snapshot () [message #483971 is a reply to message #483786] Thu, 03 September 2009 19:04 Go to previous message
Grant Gayed is currently offline Grant GayedFriend
Messages: 2150
Registered: July 2009
Senior Member
Hi Remy,

I think it's worth logging a request for to be investigated. If it makes
Shell.print() start to work (the doc doesn't indicate that it wouldn't) then
it could be used if the user's gtk version was >= 2.14.

Thanks for pointing this out!
Grant


"Remy Suen" <remysuen@ca.ibm.com> wrote in message
news:h7n4o8$6hi$1@build.eclipse.org...
> http://library.gnome.org/devel/gtk/unstable/GtkWidget.html#g tk-widget-get-
> snapshot
>
> Is this viable? Would this allow Shells to be printed? I don't know
> anything about GTK+ so I don't know if the returned GdkPixmap will be of
> any use but just thought I'd toss this out here.
>
> If the SWT team thinks that this would work I'd be happy to open an
> enhancement request.
>
> Regards,
> Remy
Previous Topic:Advice on OpenGL with SWT Needed
Next Topic:Subclassing Rich Edit Boxes
Goto Forum:
  


Current Time: Fri Apr 26 10:02:19 GMT 2024

Powered by FUDForum. Page generated in 0.03110 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top