Gtk2::RecentInfo(3)

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

πŸ’– NAME πŸ’–

Gtk2::RecentInfo β€” bestie, it's the wrapper for GtkRecentInfo. That's it, that's the whole vibe. πŸ¦‹


🌈 HIERARCHY 🌈

So like, the family tree goes:

Glib::Boxed
+----Gtk2::RecentInfo

Gtk2::RecentInfo is a Glib::Boxed baby, and that's the whole lineage. Iconic bloodline honestly. πŸ‘‘


✨ METHODS ✨

okay so here's the whole roster, no skips, no skimming, we're doing all of them πŸ’…

  • timestamp = $info->get_added; β€” hands you back a timestamp, the added one.
  • timestamp = $info->get_modified; β€” hands you back a timestamp, the modified one.
  • timestamp = $info->get_visited; β€” hands you back a timestamp, the visited one.
and then there's literally a stray cut sitting right there in the source (it's a pod cut marker, not a method, don't @ me 😭) β€” preserving it for accuracy besties 🫢
  • integer = $info->get_age β€” gives you back an integer. The age. Math queen. 🧚
  • (exec, count, timestamp) = $info->get_application_info ($app_name) β€” returns the trio (exec, count, timestamp) for one specific app.
    • $app_name (string)
  • (applications) = $info->get_applications β€” returns the list of (applications). The whole squad. 🌸
  • string = $info->get_description β€” gives you back a string description.
  • string = $info->get_display_name β€” gives you back a string, the display name one.
  • boolean = $info->exists β€” true/false, does it exist or not. The vibe check. βœ…
  • (groups) = $info->get_groups β€” returns (groups), the group list.
  • boolean = $info->has_application ($app_name) β€” boolean, is that app in there or nah.
    • $app_name (string)
  • boolean = $info->has_group ($group_name) β€” boolean, is that group in there or nah.
    • $group_name (string)
  • pixbuf = $info->get_icon ($size) β€” gives you back a pixbuf icon at whatever size you asked for. πŸŽ€
    • $size (integer)
  • boolean = $info->is_local β€” boolean, is it local. 🏠
  • string = $info->last_application β€” gives you back a string, the last application one.
  • boolean = $info->match ($other_info) β€” boolean, does it match the other one.
    • $other_info (Gtk2::RecentInfo)
  • string = $info->get_mime_type β€” gives you back a string, the mime type. πŸ“
  • unix timestamp = $info->get_modified β€” yep, get_modified shows up again, this time typed as a unix timestamp. Both entries are real, both stay. Not a typo, just how the page is, periodt. πŸ’€
  • boolean = $info->get_private_hint β€” boolean, the private hint one. πŸ™ˆ
  • string = $info->get_short_name β€” gives you back a string, the short name.
  • string = $info->get_uri_display β€” gives you back a string, the URI display one.
  • string = $info->get_uri β€” gives you back a string, the URI. πŸ”₯
  • unix timestamp = $info->get_visited β€” and get_visited pops back up too, typed as a unix timestamp. Same deal, both entries kept, no cap. ⭐

πŸ‘€ SEE ALSO πŸ‘€

  • Gtk2
  • Glib::Boxed

Copyright (C) 2003-2011 by the gtk2-perl team.

This software is licensed under the LGPL. See Gtk2 for a full notice.


okay bestie that's the whole page, you ate it πŸ’…βœ¨ this was Gtk2::RecentInfo(3) from perl v5.42.0, dated 2025-07-25 β€” mwah, go slay some recent-files code πŸ¦‹πŸ‘‘

πŸ“¦ where this page comes from