From: gnome-perl (bugzilla.gnome.o. <bug...@gn...> - 2011-01-14 19:57:12
|
https://bugzilla.gnome.org/show_bug.cgi?id=639559 gnome-perl | Gtk2 | unspecified Summary: GdkWindow pod on subclassing Classification: Bindings Product: gnome-perl Version: unspecified OS/Version: Linux Status: UNCONFIRMED Severity: enhancement Priority: Normal Component: Gtk2 AssignedTo: gtk...@li... ReportedBy: us...@zi... QAContact: gtk...@li... GNOME target: --- GNOME version: --- Created an attachment (id=178350) View: https://bugzilla.gnome.org/attachment.cgi?id=178350 Review: https://bugzilla.gnome.org/review?bug=639559&attachment=178350 patch I didn't know until I tried it that subclassing GdkWindow doesn't work :-(. Perhaps the attached words for the docs. -- Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug. You are the assignee for the bug. |
From: gnome-perl (bugzilla.gnome.o. <bug...@gn...> - 2011-08-08 15:42:33
|
https://bugzilla.gnome.org/show_bug.cgi?id=639559 gnome-perl | Gtk2 | unspecified Torsten Schoenfeld <kaffeetisch> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #178350|none |needs-work status| | --- Comment #1 from Torsten Schoenfeld <kaf...@gm...> 2011-08-08 15:42:19 UTC --- Review of attachment 178350: --> (https://bugzilla.gnome.org/review?bug=639559&attachment=178350) ::: xs/GdkWindow.xs @@ +201,3 @@ +these is created when a widget is "realized". + +As of Gtk 2.22 a window can only be created by It should be 'gtk+ 2.22' to avoid confusion. @@ +208,3 @@ +window creation, and that function always makes a C<GdkWindow> (the +class name argument to the Perl-Gtk C<< Gtk2::Gdk::Window->new >> +wrapper is unused). While it's true that you cannot subclass Gtk2::Gdk::Window from the GType perspective, you can still simply call Gtk2::Gdk::Window->new in your constructor and then re-bless the result. So maybe something like this: "And it's not possible to subclass C<Gtk2::Gdk::Window> using L<Glib::Object::Subclass>, [...]"? -- Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug. You are the assignee for the bug. |
From: gnome-perl (bugzilla.gnome.o. <bug...@gn...> - 2011-08-30 23:23:12
|
https://bugzilla.gnome.org/show_bug.cgi?id=639559 gnome-perl | Gtk2 | unspecified Kevin Ryde <user42> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #178350|0 |1 is obsolete| | --- Comment #2 from Kevin Ryde <us...@zi...> 2011-08-30 23:22:59 UTC --- Created an attachment (id=195263) View: https://bugzilla.gnome.org/attachment.cgi?id=195263 Review: https://bugzilla.gnome.org/review?bug=639559&attachment=195263 new docs Yes could mention reblessing per new attached, though of course it doesn't quite work. Is there any docs already to cross reference on that? -- Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug. You are the assignee for the bug. |
From: gnome-perl (bugzilla.gnome.o. <bug...@gn...> - 2011-09-30 21:08:07
|
https://bugzilla.gnome.org/show_bug.cgi?id=639559 gnome-perl | Gtk2 | unspecified Torsten Schoenfeld <kaffeetisch> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |FIXED --- Comment #3 from Torsten Schoenfeld <kaf...@gm...> 2011-09-30 21:07:57 UTC --- Thanks, this is exactly what I had in mind. There are a few paragraphs about why re-blessing doesn't cut it in Glib::Object::Subclass' POD, but they don't actually mention the problem you describe. -- Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug. You are the assignee for the bug. |
From: gnome-perl (bugzilla.gnome.o. <bug...@gn...> - 2011-09-30 21:08:13
|
https://bugzilla.gnome.org/show_bug.cgi?id=639559 gnome-perl | Gtk2 | unspecified Torsten Schoenfeld <kaffeetisch> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #195263|none |committed status| | -- Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug. You are the assignee for the bug. |