Gtk2::G...ent::DND(3)

πŸ“¦
version 1.24993 Β· 2 versions
, in fedora 43

πŸ’– 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 β€” a Gtk2::Gdk::DragContext or undef. This is the optional argument you can hand over if you want to set the value instead of just peeking at it. It defaults to undef, 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 (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