Slashdot Mirror


Glade 2 Tutorial

Renartthefox writes "Rikke D. Giles has written a new tutorial for Glade II. Glade is a program designed to enable the quick building of graphical user interfaces for GTK+ and GNOME applications. However, it can be used with any desktop environment in linux, as long as the GTK+ and/or GNOME libraries are installed."

9 of 147 comments (clear)

  1. Re:Mozilla and Phoenix need this by cheesybagel · · Score: 4, Informative

    XUL may be slow but it is more portable than GTK+ is.
    Yes I know there is a GTK+ port for Windows but neither it is fast itself or just having Windows support in addition to X11 support is enough.

  2. Re:not an IDE by Miguel+de+Icaza · · Score: 2, Informative

    There is a c/c++ IDE option if needed, but its convoluted as hell!
    from the faq:
    "...you can import the glade toolkit bindings into Eclipse running on Mono using the open source IKVM Java virtual machine for .NET by Jeroen Frijters..."

    love, peace, hope, dock

    miguel

    --
    Before adopting WHATWG, read the moonlight.NET EULA [http://www.microsoft.com/interop/msnovellcollab/moonlight.mspx]
  3. Re:SERIOUSLY OT:Where's the pdf? by agurkan · · Score: 2, Informative

    yep, there is one. plugger plugin along with an installation of ghostscript will do on Linux. although this might not save you space ghostscript is a lot easier to find than acroread since it has dual licensing and older version are GPL.

    --
    ato
  4. Re:Where's the pdf? by jonman_d · · Score: 2, Informative

    I'm going to go ahead and assume you're using some sort of UNIX/Linux, and recommend: html2pdf. I think it may actually have a windows version, as well, but I'm too lazy to double check. It's a swell product, either way.

  5. Re:Where's the pdf? by samhalliday · · Score: 2, Informative
    Ok, I know, pdfs are not GNU

    why not? adobe have released the PS and PDF formats very openly and as a direct result GNU programs (such as ghostscript) are ready to read them with no patent issues or reverse engineering required.

  6. Re:I hate to break this to you by mr.+marbles · · Score: 2, Informative

    when it comes to designing interfaces, it's best to exercise the rule of least surprises. it's better to behave exactly like what other people would expect you to behave like than to do things in a more efficient manner but alienate all your users by pulling the rug from under them. An example of this is the QWERTY keyboards, sure there's more efficient ways of doing it but QWERTY has lasted because so many people has been trained with it that it has in effect become a standard.

  7. Re:You Killed Our Server! You Bastards! NOT! by Anonymous Coward · · Score: 1, Informative

    Slashdotting mostly seems to happen to sites that

    a) have shit bandwidth
    and/or
    b) have dynamic content.

    The page you are serving is just text. There's nothing that that's going to want to make users click around (unless they're a huge glade fan) and you don't have anything dynamic.
    And you obviously have enough bandwidth.

    So it's never going to get "slashdotted"

    It's very easy to survive a slashdotting, as long as you have bandwidth. Stop the page being dynamically generated (if it is) and you're fine.

    Satan

  8. Do *not* press Build by RossyB · · Score: 2, Informative

    Pressing the Build button is about the worst thing you could ever do in Glade.

    Save the .glade file, and then use libglade to load and build the interface at runtime. .glade files are very simple to parse so building the interface at runtime is very fast, and you have far more freedom to alter the interface at any point in the future.

    Don't press Build!

  9. Re:SERIOUSLY OT:Where's the pdf? by JesseL · · Score: 2, Informative

    I put this entry into the printers section of smb.conf on my Samba server. This lets everyone on the network create PDF files from any application that can print. The created PDFs are available in the shared /PDF directory on the server and are named for the user that made them. This could probably be improved, but it works pretty well as is.

    [PS2PDF]
    comment = PS to PDF
    printable = yes
    public = yes
    guest ok =yes
    read only = yes
    create mode = 0700
    directory = /tmp
    printer name = PS2PDF Printer
    printer driver = HP Color LaserJet PS
    print command = mv %s %s.ps; /usr/bin/ps2pdf %s.ps %s.pdf; rm -f %s.ps; mv %s.pdf /PDF/%m.$$.pdf

    --
    "Prefiero morir de pie que vivir siempre arrodillado!"