Gtk2::G...ent::DND(3)
π NAME π
Gtk2::Gdk::Event::DND β bestie, this is the manual page for the DND event class in the Gtk2 Perl bindings. Yes, it's a whole page for one method. We stan a low-effort icon. π
π¦ HIERARCHY π¦
The family tree, and yes it's giving nepotism:
Gtk2::Gdk::Event
+----Gtk2::Gdk::Event::DND
So Gtk2::Gdk::Event::DND is a child of Gtk2::Gdk::Event, which means it inherited everything from its parent and added exactly one method of its own. Main character energy, honestly. β¨
π METHODS π
dragcontext or undef = $eventdnd->context ($newvalue=undef)
Okay so you call context on your DND event and you get back a Gtk2::Gdk::DragContext β or undef, because sometimes the universe gives you nothing and that's valid. π«Ά
$newvalueβ aGtk2::Gdk::DragContextorundef. This is the optional argument you can hand over if you want to set the value instead of just peeking at it. It defaults toundef, so if you don't pass anything, you're just reading. No cap. π
Bestie reminder: the $newvalue=undef in the signature is the default β that's the "I'm just here to look, not to touch" mode. π
π SEE ALSO π
Gtk2β the whole parent universe. Go there if you want context, because this page is literally one method and we've already covered it. π
π COPYRIGHT π
Copyright (C) 2003-2011 by the gtk2-perl team.
This software is licensed under the LGPL. See Gtk2 for a full notice.
And that's the whole page, bestie!! Written up as User Contributed Perl Documentation, from perl v5.42.0, dated 2025-07-25 β this diva has been sitting pretty in the docs since way before your fave was even compiled. πβ¨ Slay, stay hydrated, and remember: undef is a valid value, just like rest is a valid hobby. π§ββοΈπΈ
π¦ where this page comes from
- fedora 43: perl-Gtk2 1.24993-23.fc43 Β· LicenseRef-Callaway-LGPLv2+
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms