Perl::Gtk2 on Linux --- How to Find the Default Font Being Used?

Hello All,

Wasn't sure if this was the correct thread to post this under but figured it has to do with Perl and Gtk2 so why not...

Anyway.. How can I find out what the Default font being used is inside a

Gtk2::Widget

. In this case I'm trying to figure out the
font being used inside a

Gtk2::TextView 

widget. I have NOT set any Font-type options/attributes or anything like that, so I'm assuming its whatever the default one would be...?

Is there anyway I can figure this out somehow? Any thoughts or suggestions would be greatly appreciated!

Edit:
I just had an idea to try and figure this out... So I created a "

Gtk2::FontButton

" which is just an easier way to get a

Gtk2::FontSelectionDialog

to open. And when I add this to the window and then click on the button, the default font that's showing in that is "Sans 12pt"... So I'm thinking that is probably it...

If I add

face => 'Sans'

to one of my TextTags, it doesn't look like the Font is changing, which I guess could mean 2 things.

One: it is the default font which is why it doesn't look like it's changing because it was already that font
Two: it doesn't exist and that's why the Font isn't changing...

Thanks in Advance,
Matt

Hey Jim, thanks for the "Cleanup".
I was kinda in a rush when I posted my question...

If "Sans" is showing in the FontSelectionDialog as the default selected font, how come I can't seem to find it?

I've checked this location, including all subdirs:

> ls -l /usr/share/fonts
total 232
drwxr-xr-x 2 root root 90112 May 11  2011 100dpi
drwxr-xr-x 2 root root 94208 May 11  2011 75dpi
drwxr-xr-x 2 root root  4096 May 11  2011 cyrillic
drwxr-xr-x 3 root root  4096 May 11  2011 encodings
drwxr-xr-x 2 root root 20480 May 11  2011 misc
drwxr-xr-x 2 root root  4096 May 11  2011 Speedo
drwxr-xr-x 2 root root  4096 Jul 24 15:55 truetype
drwxr-xr-x 2 root root  4096 May 11  2011 Type1
lrwxrwxrwx 1 root root    20 Oct  4  2012 URW -> ../ghostscript/fonts
drwxr-xr-x 2 root root  4096 May 11  2011 util

There are plenty of fonts with 'Sans' in their title but nothing that's called just "Sans"... Any ideas?

EDIT:
Ok, so I just found this in my Gtk2 documentation:

The "font-name" property

   "font-name"                gchar*                : Read / Write The string that represents this font.
 Default value: "Sans 10"

As you can see it says the Default value is "Sans 10" but I can't find that anywhere....?

Thanks,
Matt