GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
Prima::Dialog::FontDialog(3) User Contributed Perl Documentation Prima::Dialog::FontDialog(3)

Prima::Dialog::FontDialog - standard font dialog

        use Prima qw(Application Dialog::FontDialog);
        my $f = Prima::Dialog::FontDialog-> create;
        return unless $f-> execute == mb::OK;
        $f = $f-> logFont;
        print "$_:$f->{$_}\n" for sort keys %$f;

The dialog provides selection of font by name, style, size, and encoding. The font selected is returned by logFont property.

fixedOnly BOOLEAN
Selects whether only the fonts of fixed pitch ( 1 ) or all fonts ( 0 ) are displayed in the selection list.

Default value: 0

logFont FONT
Provides access to the interactive font selection as a hash reference. FONT format is fully compatible with "Prima::Drawable::font".
sampleText STRING
Sample line of text featuring current font selection.

Default value: AaBbYyZz

showHelp BOOLEAN
Create-only property.

Specifies if the help button is displayed in the dialog.

Default value: 0

BeginDragFont
Called when the user starts dragging a font from the font sample widget by left mouse button.

Default action reflects the status in the dialog title

EndDragFont $WIDGET
Called when the user releases the mouse drag over a Prima widget. Default action applies currently selected font to $WIDGET.

Dmitry Karasik, <dmitry@karasik.eu.org>.

Prima, Prima::Window, Prima::Drawable.
2022-04-07 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.