Gnome2:...ication(3)

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

✨ NAME ✨

Gnome2::VFS::Application β€” bestie, that's the whole name section, she's lowkey minimal like that πŸ’…

Okay so listen. This is the Perl side of GNOME VFS's application object β€” the thing that knows what an app is, what it can open, and what little config keys it's got tucked away. The manual name is Gnome2:...ication(3) (yes, truncated, the man page title got cut off mid-word and honestly? relatable) and it lives in the User Contributed Perl Documentation section. πŸŽ€


🌸 METHODS 🌸

This is where all the action is. Every method, every arg, every type β€” no cap, nothing skipped. Some of these have a little description, some just hand you the signature and stare at you. That's not me being lazy, that's literally the original. πŸ’€

πŸ’– $app_id->add_mime_type ($mime_type)

  • $mime_type (string) β€” one string, that's the vibe

πŸ’– list = $app_id->get_bool_value ($key)

  • $key (string) β€” one string

Returns the actual value and a boolean indicating whether the requested key was found. So you get two things back in one list, bestie β€” the value and a lil yes/no about whether it even existed. 🫢

πŸ’– $app_id->set_bool_value ($key, $value)

  • $key (string)
  • $value (boolean)

πŸ’– $app_id->clear_mime_types

No args, no returns listed, just a clean slate. Periodt. ✨

πŸ’– boolean = $app_id->exists

Hands you back a boolean. That's it, that's the whole thing. πŸ¦‹

πŸ’– list = $app_id->get_keys

Returns a list of valid keys for that application. Your key inventory, handed to you in a list. πŸ‘‘

πŸ’– application = $app_id->get_mime_application

Gives you back an application. No args listed, no extra notes β€” she's mysterious, she's giving main character energy. 🌈

πŸ’– list = $app_id->get_mime_types

Returns a list of MIME types this application can handle. So like, everything this app is willing to open. πŸ“

πŸ’– string = $app_id->peek_value ($key)

  • $key (string)

Returns a string. Peek, don't touch, iykyk. πŸ™ˆ

πŸ’– $app_id->remove_application

No args. She's gone, she said bye. πŸ’€

πŸ’– $app_id->remove_mime_type ($mime_type)

  • $mime_type (string)

πŸ’– boolean = $app_id->supports_mime_type ($mime_type)

  • $mime_type (string)

πŸ’– boolean = $app_id->supports_uri_scheme ($uri_scheme)

  • $uri_scheme (string)

πŸ’– $app_id->unset_key ($key)

  • $key (string)

πŸ’– $app_id->set_value ($key, $value)

  • $key (string)
  • $value (string)

Note the plot twist: set_value takes a string value, while set_bool_value up above takes a boolean. Two different setters, two different vibes. Don't mix them up fr fr. πŸ’…


πŸ‘€ SEE ALSO πŸ‘€

  • Gnome2::VFS

That's the one and only cross-reference, and she's carrying the whole related-reading section on her back. Slay. 🧚


Copyright (C) 2003-2007, 2013 by the gtk2-perl team.

This software is licensed under the LGPL. See Gnome2::VFS for a full notice.

Okay bestie, legal moment: this one is LGPL, and if you want the full notice you gotta go read Gnome2::VFS. Don't skip it, I'm literally asking nicely. πŸ’œ

And that's the whole page, mwah. πŸŽ€ This was perl v5.42.0, dated 2025-07-25, and the header/footer both read Gnome2:...ication(3) β€” yeah, the same truncated name top and bottom, we stay consistent around here. Go forth and query your applications. Obsessed with you. πŸ’–

πŸ“¦ where this page comes from