Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re^3: Gtk2 + GladeXML

by Eyck (Priest)
on Jul 29, 2004 at 07:58 UTC ( [id://378314]=note: print w/replies, xml ) Need Help??


in reply to Re^2: Gtk2 + GladeXML
in thread Best GUI package for Perl ?

What you propose is rewriting GladeXML but using perl instead of xml for interface description.

And where are those tools that would allow drawing GUI with your proprietary perl interface?

The problem is that GUI requires different style of thinking/coding then general problems ( that's one of the reasons why GUI programmers tend to think that OOP is so great - o yeah, it's great for writing GUIs, not always so great for solving general problems )

Replies are listed 'Best First'.
Re^4: Gtk2 + GladeXML
by eserte (Deacon) on Jul 29, 2004 at 17:41 UTC
    What you propose is rewriting GladeXML but using perl instead of xml for interface description.
    I fail to see what's the advantage of writing
    <child> <widget class="GtkTextView" id="text1"> <property name="visible">True</property> <property name="can_focus">True</property> <property name="editable">True</property> <property name="justification">GTK_JUSTIFY_LEFT</propert +y> <property name="wrap_mode">GTK_WRAP_WORD</property> <property name="cursor_visible">True</property> </widget> </child>
    instead
    $parent->TextView( Name => "text1", -visible => 1, -editable => 1, -justification => "left", -wrap_mode => "word", -cursor_visible => 1, );
    And where are those tools that would allow drawing GUI with your proprietary perl interface?
    Tcl/Tk was written to make it easy to write GUIs with just a text editor, and Perl/Tk is comparable. Some people may not be comfortable with this approach, but some are.

      The advantage lies in the fact that only perl can parse Perl.

      Makeshifts last the longest.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://378314]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (1)
As of 2024-04-25 04:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found