Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.3 / 3....
  • LibreOffice 3.6.6 / 4.0.3
  • MPlayer 1.1.1
  • systemd 204
  • Arch Linux 2013.05.01
  • Blender 2.67
  • KDE Software Compilatio...
  • CrunchBang Linux Stable...
  • Elementary OS 0.1 / 0.2...
  • SystemRescueCd 3.6.0
  • Home > Linux > Programming > Libraries

    Gtk2::Ex::FormFactory::Intro 0.65

    Download button

    No screenshots available
    Downloads: 368  View global page NEW!  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Jorn Reder | More programs
    Perl Artistic License / FREE
    July 20th, 2006, 15:50 GMT
    ROOT / Programming / Libraries

     Read user reviews (0)  Refer to a friend  Subscribe

    Gtk2::Ex::FormFactory::Intro description

    Gtk2::Ex::FormFactory::Intro is an introduction into the FormFactory framework.

    Gtk2::Ex::FormFactory::Intro is an introduction into the FormFactory framework.

    The Gtk2::Ex::FormFactory framework is for Perl Gtk2 developers who (at least partially agree with these statements:

    GUI programming is fun but often boring
    A lot of tasks in GUI programming are similar and misleads the lazy programmer to do too much Copy'n Paste
    RAD tools like Glade are fine for small applications but not if you want to have a consistent look and feel in bigger and modular applications

    Gtk2::Ex::FormFactory tries to help you with these issues by

    Strictly separating GUI design, application logic and data structures
    Giving the developer a more declarative style of defining the structure of your GUI
    Giving the developer the possibility of definiting the design of the GUI at a single spot in your program
    Being lightweight and easy to learn.

    Enough buzzwords

    Imagine you want to build a configuration dialog for your application, which consists of a notebook, to distinguish several topics, each containing a bunch of simpler widgets (in the following example a single text entry). Also it should have the usual Ok and Cancel buttons.

    The straight approach often is to code all the stuff by hand or "draw" all widgets using Glade. At any rate you need to take care of:

    Consistent look and feel, e.g. labels should be bold and properly aligned to the widgets; the widgets iteslf should have some space around them, buttons should always be aligned to the form above etc.
    Initializing the widgets with the actual content of your configuration data
    Either connecting a lot of signals to track the changes the user made. This would apply all changes straight to your internal data structure, which may make implementing the Cancel button difficult or impossible
    Or grabbing all (changed) data from the widgets, when the user hit the Ok button resp. simply close the window, when the user hit the Cancel button

    That's a lot of stuff, which needs to be repeated for every single dialog in your application. No fun anymore.

    Product's homepage

    Requirements:

    · Perl

      


    TAGS:

    FormFactory framework | FormFactory introduction | Perl module | Gtk2::Ex::FormFactor | Gtk2 | FormFactory

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM