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."

147 comments

  1. I liked the first one better by Anonymous Coward · · Score: 1, Funny

    The original Blade was much better than Blade II, IMHO. The second one's plot was barely there, and what was there wasn't very good. However, Wesley Snipes is excellent in the role regardless, and is still worth catching on TV or video.

  2. also.. by Mr2cents · · Score: 4, Interesting

    If I'm not wrong, glade files can also be importd in qt designer (qt's gui builder). Nice work.

    --
    "It's too bad that stupidity isn't painful." - Anton LaVey
    1. Re:also.. by JohnFluxx · · Score: 2, Interesting

      The xml files it spits out?
      Does that mean that you could write an app that parses the glade xml and generate not only the gtk widgets on the fly (already possible) but also qt, with the user deciding which one they want?
      Now that would be cool :)

    2. Re:also.. by JanneM · · Score: 3, Interesting

      Well, no.

      Or rather, you could, but it'd be almost just as easy to do as writing for both toolkits without it - ie. not at all. You still need to work with the widgets in your code (at least defining callbacks), and thus you'll need separate codepaths. Also, you'd need to include stuff for both toolkits, which means that the user will need to have both installed even if they use only one of them.

      What you could do is have that choice at compile-time. Write the backend completely toolkit-independent, then have two frontends, using the glade file (so they always are in sync, UI-wise) and including the backend stuff. At compile time, it is determined which of them (or both) to build.

      --
      Trust the Computer. The Computer is your friend.
    3. Re:also.. by JohnFluxx · · Score: 1

      Well I suppose if you are going that far, you might as well do the seperation properly.
      Put all the ui-independant stuff in libraries, then get the build process to build both frontends. Then you can package it up as "program-backend" "program-kde" "program-gtk", for those who use packages.

      The only trouble I can see is that it would mean that your "backend" wouldn't be able to use qt/gtk libraries, which would be a major blow. I don't really know what the solution is to that problem, and I don't know how much typical programs use the libraries.

    4. Re:also.. by FooBarWidget · · Score: 1

      You're wrong. I just tried to use QT Designer 3.1 to open a .glade file and nothing happened.

  3. Even with glade... by Anonymous Coward · · Score: 0

    ...GTK's packing method is a pain in the ass :)

    1. Re:Even with glade... by Anonymous Coward · · Score: 0

      So just use the container type that lets you place widgets wherever you want.

  4. Mozilla and Phoenix need this by zymano · · Score: 3, Interesting

    Getting rid of xul(xml user interface language) would be good for responsive gui.

    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:Mozilla and Phoenix need this by damiam · · Score: 1

      Surely you know about Galeon and Epiphany?

      --
      It's hard to be religious when certain people are never incinerated by bolts of lightning.
    3. Re:Mozilla and Phoenix need this by nacs · · Score: 1
      Getting rid of xul(xml user interface language) would be good for responsive gui.
      There is a GTK patch for Mozilla. If you have Gentoo, it's included in the ebuild and getting your GTK2 interface is as simple as doing:
      WANT_GTK2="yes" emerge mozilla
      --
      "I filter at +6, and have yet to miss out on an important comment." (#822545)
    4. Re:Mozilla and Phoenix need this by lewp · · Score: 2, Insightful

      If I'm not mistaken, enabling GTK2 doesn't get rid of XUL. XUL is essentially responsible for "describing" the UI, which is then generated using the GUI toolkit you enable. emerge'ing with WANT_GTK2 simply says that the XUL is ultimately rendered using GTK2 (instead of GTK1), not that it isn't used anymore.

      --
      Game... blouses.
    5. Re:Mozilla and Phoenix need this by Anonymous Coward · · Score: 0

      No way! Even programming in XUL is better in programming in the limey piece of shit that is gtk.

  5. Thank you by John+Jorsett · · Score: 3, Insightful

    Finally, an article that defines what the thing is instead of assuming that we've all heard of 'Zxzzy Underlayer II.3M'.

  6. not an IDE by stonebeat.org · · Score: 1

    good thing they didnt try to make it an IDE. it is better if you keep the design modular. otherwise things get messy. Specially in GUI building tool., messy architecture can lead to memory leaks and other issues.

    1. 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]
    2. Re:not an IDE by Saint+Stephen · · Score: 4, Interesting

      I learned about glade by trying DIASCE2, a Visual IDE for Glade. Before Glade I couldn't grok automake, pkg-config, much less GTK; by writing a simple Hello Glade World I grokked it all, wrote my own build scripts, and started writing Gnome apps.

      Glade was only a stepping stone for me to using the raw GTK api. I find GTK in C to be quite elegant. The only real wart I found is that Popped-up menus are reparented in a fake GtkWindow, where as top levels aren't. Baring that, raw GTK in C is good enough for me.

      "The world is fundamentally functional and relational." -- Quote from a grayheaded Silicon Valley dude, there's wisdom.

    3. Re:not an IDE by Silax · · Score: 1

      "I learned about glade by trying DIASCE2, a Visual IDE for Glade. "

      By the way, the url for DiaSCE2 is http://diasce.es.gnome.org.

      Silax
  7. Where's the pdf? by G3ckoG33k · · Score: 2, Interesting

    Where's the pdf/ps/etc? Ok, I know, pdfs are not GNU, but still. I like reading tutorials in paper form rather than html. I'm sure there is a way for "rapid" translation.

    1. Re:Where's the pdf? by cheesybagel · · Score: 1

      Sure there is. Just about any HTML viewer can print, and if you choose "print to file" and select a Postscript printer, voilà!, instant PS file.

      Then you can easily convert that PS file using ps2pdf.

    2. 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.

    3. 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.

    4. Re:Where's the pdf? by Anonymous Coward · · Score: 0
      Here is the document in WordPerfect format

      And here how to convert *.wpd files in *.doc files

      I hope it will be useful for you

      cheers

    5. Re:Where's the pdf? by the_truk_stop · · Score: 1

      HTMLDOC from Easy Software will convert an HTML file to PDF. I use it weekly, and it's fantastic.

    6. Re:Where's the pdf? by Anonymous Coward · · Score: 0

      crackmonkeys, the lot of you .. html is a bad
      enough departure from plain text - pdf is just
      a further travesty. you're showing your windows
      baby roots ;p

    7. Re:Where's the pdf? by TheRaven64 · · Score: 2, Interesting
      you're showing your windows baby roots

      In what way is PDF a windows thing? I write documents in LaTeX (using vim as the editor), compile them to pdf under FreeBSD and people can look at them on *nix, Windows and Mac. And they contain things like tables of contents that make sense when printed (which will in theory be possible with CSS3 but, let's face it, that's not going to be ready for a long time). Oh, and the character spacing etc makes them a lot easier to read than the same content in html rendered by a browser.

      The difference is the same as that between compiled and interpreted code. Interpreted code may be more convenient, but takes a lot more CPU time in total, and won't run as fast (read look as good, in the case of text processing).

      --
      I am TheRaven on Soylent News
    8. Re:Where's the pdf? by Anonymous Coward · · Score: 0
      I've seen a LOT of pdf files produced by latex (or dvips/ghostscript) that look like ass.

      People, /usepackage{ae} is your friend. Or, use dvips -Ppdf to use the type 1 fonts (instead of bitmaps, which are as appealing as CmdrTaco's ass).

    9. Re:Where's the pdf? by Anonymous Coward · · Score: 1, Interesting

      often those same .pdf files will look absolutely fine when viewed with ghostscript or xpdf. The problem is that Adobe's Acrobat Reader does a very crap job of anti-aliasing the bitmapped fonts that LaTeX / pdflatex use. IF you print it from acroread then it will look fine printed...

    10. Re:Where's the pdf? by HiThere · · Score: 1

      I'm pretty sure that it would produce an ugly pdf of this series. This is a bunch of pages connected with next/previous links, with lots of internal graphics and formatting. Moving it to a word processor what a fair amount of work, but after some hand positioning of graphics it worked pretty well. And the table of contents uses page numbers.

      That said, I'm not familiar with html2pdf. But I'd rather export them (pdfs) from an OpenOffice document than depend on the html to get a connected document right.

      --

      I think we've pushed this "anyone can grow up to be president" thing too far.
  8. Well, OK, by I+Am+The+Owl · · Score: 0, Troll

    But when are they going to write an OpenGL-accelerated desktop? I'm still waiting for a Quartz Extreme for Linux. That's what's holding me back from adopting it right now. Is it really that hard to do? Sheesh.

    --

    --sdem
    1. Re:Well, OK, by be-fan · · Score: 2, Interesting

      Too bad Quartz Extreme isn't actually "an OpenGL-accelerated desktop." It only accelerates compositing (window effects), so it's not in the same league as stuff like the Longhorn UI or E17's EVAS, which can actually use OpenGL to accelerate visually complex drawing. Also, Apple's implementation isn't that great. It stores huge bitmaps everywhere, even though DisplayPDF is inherently vector based, and as mentioned above, doesn't take good advantage of the capabilities of current cards. For example, it won't accelerate line drawing, because current cards can only do AA line drawing through OpenGL, which Quartz2D doesn't use.

      --
      A deep unwavering belief is a sure sign you're missing something...
    2. Re:Well, OK, by NanoGator · · Score: 0

      "But when are they going to write an OpenGL-accelerated desktop?"

      After Longhorn's released and there's something to copy off of.

      --
      "Derp de derp."
    3. Re:Well, OK, by nacs · · Score: 2, Insightful
      so it's not in the same league as stuff like the Longhorn UI or E17's EVAS, which can actually use OpenGL to accelerate visually complex drawing
      Longhorn uses DirectX 9 for it's GUI acceleration -- not openGL.

      Not trying to flamebait but it'll be a cold day in hell when Microsoft uses openGL over it's own DirectX technology.
      --
      "I filter at +6, and have yet to miss out on an important comment." (#822545)
    4. Re:Well, OK, by nacs · · Score: 1

      I've already said this above but Longhorn does not use openGL to accelate it's GUI--it uses DirectX 9.

      --
      "I filter at +6, and have yet to miss out on an important comment." (#822545)
    5. Re:Well, OK, by NanoGator · · Score: 1

      "I've already said this above but Longhorn does not use openGL to accelate it's GUI--it uses DirectX 9."

      I don't understand what that has to do with what I said. Clarfify?

      --
      "Derp de derp."
    6. Re:Well, OK, by Anonymous Coward · · Score: 0

      You were replying to a topic that was talking about a openGL-accelerated desktop with Longhorn as an answer. I inferred that you view Longhorn to be a openGL accelarated desktop.

    7. Re:Well, OK, by NanoGator · · Score: 1

      "You were replying to a topic that was talking about a openGL-accelerated desktop with Longhorn as an answer."

      Um, no, that's not what I was saying. Notice I used the word 'copy' in my original post.

      --
      "Derp de derp."
    8. Re:Well, OK, by be-fan · · Score: 1

      Quite right. I wasn't really paying attention to the specific rendering technology, but the use of 3D acceleration in general :)

      --
      A deep unwavering belief is a sure sign you're missing something...
  9. Re:Something stinks by Anonymous Coward · · Score: 3, Funny

    Why am i not surprised that Slashdot readers haven't heard of air freshener....

  10. Shhhhh! by Znonymous+Coward · · Score: 4, Funny

    Don't make too big of a deal about Glade. With all the recent frivolous lawsuits, SC Johnson Wax will be all over 'em.

    --

    Karma: The shiznight, mostly because I am the Drizzle.

    1. Re:Shhhhh! by kurosawdust · · Score: 4, Funny
      Don't make too big of a deal about Glade. With all the recent frivolous lawsuits, SC Johnson Wax will be all over 'em.

      Or at least just the plug-ins.

    2. Re:Shhhhh! by Znonymous+Coward · · Score: 1

      Classy :)

      --

      Karma: The shiznight, mostly because I am the Drizzle.

  11. Great, but..... by mickwd · · Score: 5, Interesting

    Can we have articles like this listed and catalogued in a single place somewhere ?

    If I happen to be wanting to learn Glade 2 now, this article will be really useful. Otherwise, I could bookmark it for future reference (assuming it'll still be there in a few months time) - or download it, and save it on a directory somewhere.

    What about having somewhere such as the Linux Documentation Project keep a collection of articles like this (or keep a list of dated bookmarks to useful external articles) - simultaneously making both the Linux Documentation Project, and the articles in links to, more useful resources to more people.

    1. Re:Great, but..... by Anonymous Coward · · Score: 0

      It's called google you dumb shit.

    2. Re:Great, but..... by Sleepy · · Score: 2, Insightful

      > It's called google you dumb shit.

      It's a valid question... and, Google sucks for finding things like this. Sorry. Trust me.. Google is going to miss a lot of things, or perhaps you would filter them out by your keywords.

      "Subject" matter like this can be grouped under a directory, like Open Directori, Yahoo (if they maintained theirs anymore which they don't), LDP, etc.

      Anyways, the best place to "find these things" is the FootNotes (GNOME) website.

      I think it's funny how people keep associating GTK and Glade with Linux... like BSD, Sun, and Windows don't exist (GTK2 runs great under Windows BTW.. I'm having fun experimenting with PyGTK under both Linux and win32)

    3. Re:Great, but..... by RGRistroph · · Score: 1

      Get a web page, and keep a list of links you find useful or interesting.

      If enough people do that, then google will naturally work better.

    4. Re:Great, but..... by fucksl4shd0t · · Score: 1

      Get a web page, and keep a list of links you find useful or interesting.

      If enough people do that, then google will naturally work better.

      So you're saying that someone who likes Glade 2 should create a FFA page, link to Glade 2, and get Glade banned from Google? That's a good idea.

      I'd also point out that the #1 reason Google wouldn't display this page at the top of an otherwise relevant set of keywords is because the page is new. Google and PageRank favors older, more established pages. So no matter how fuckin' relevant your page is, if it's brand new, Google don't give a shit about it.

      Frustrating, I know, but that's life.

      --
      Like what I said? You might like my music
    5. Re:Great, but..... by RGRistroph · · Score: 1

      Perhaps one of the reasons why google ignores new pages and pages designed to screw their rankings is that people like me, who are google's customers, don't want brand new pages in the rankings, and don't want control over the ranking passed to anybody who can spew out hundreds of pages linking to the same thing. Why should the Glade2 tutorial be in google now ? It is on slashdot. The question is, 18 months from now, will I be able to find the Glade2 tutorial ? Only if you bookmark it, and much more easily if you publish your bookmarks.

      My point is that Google is just a re-packaging of your own work. If you say "Wah wah wah, the world is so unfair, my favorite pages aren't in google" you are just complaining about your own failure to publish to the web your favorite pages. Google just re-hashes what we all do. If you think the glade2 tutorial is awesome, then you must tell the world about it. All google does is agregate and re-mix our collective published works.

      Think of Google as a sort of P2P system for all of our links. If you aren't publishing your bookmarks and other links, you are just a leacher, and as such shouldn't complain about the lack of what other people are offering.

    6. Re:Great, but..... by fucksl4shd0t · · Score: 1

      Perhaps one of the reasons why google ignores new pages and pages designed to screw their rankings is that people like me, who are google's customers, don't want brand new pages in the rankings, and don't want control over the ranking passed to anybody who can spew out hundreds of pages linking to the same thing. Why should the Glade2 tutorial be in google now ? It is on slashdot. The question is, 18 months from now, will I be able to find the Glade2 tutorial ? Only if you bookmark it, and much more easily if you publish your bookmarks.

      Um, no? :) Google's ranking algorithms favor older, more established pages. That's just how it is. They have been severely criticisized multiple times for it, and they probably won't change their minds on the matter. I've been working in search for too long not to know this. :)

      --
      Like what I said? You might like my music
    7. Re:Great, but..... by fucksl4shd0t · · Score: 1

      The question is, 18 months from now, will I be able to find the Glade2 tutorial ? Only if you bookmark it, and much more easily if you publish your bookmarks.

      I forgot to mention a couple of things.

      First: Free-for-all link farms and crap have brought Google and the other engines to a point where they have to consider them spam and ban sites listed in them. They have had problems with these link farms polluting the results. One of the ways they identify a link farm is by seeing a lot of links on a page that are unrelated. So your Bookmarks page (and your Guestbook) could actually damage the sites listed instead of helping them. For more information, you'll have to go to Search Engine Watch and dig. But it's there.

      The second thing is, you can use the "site:" command on Google (and some other engines) to limit your search to one specific site. So if you can just remember where the glade2 tutorial was, you should be able to find it after google adds it to its database.

      --
      Like what I said? You might like my music
  12. Should be MANDATORY! Quit the tech-acronyms! by zymano · · Score: 1

    /. Article reviewers take heed or i will out you.

  13. You've got it lucky these days by nother_nix_hacker · · Score: 4, Insightful

    Pah, Glade, when I was at school all we had was Visual Basic....oh...hold on...

  14. SERIOUSLY OT:Where's the pdf? by rkz · · Score: 1

    is there a non Adobe PDF plugin available? I have a browser on my phone that can view PDF (all smaller than 30kb) So why do I have to load 15-16 meg monster of a plugin to view them on my computer?

    1. 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
    2. 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!"
  15. When will it end ?? by Timesprout · · Score: 5, Funny

    What is the linux community coming to when people actually write tutorials on how to use applications. Man pages with so many options they resemble a form of Hieroglyph were just about acceptable. Worse was to follow a lot half heart how-to's which fortunately seldom explained what you actually wanted.
    Next thing you know linux apps will be come fully documented, with samples and context sensitive help. Anyone will be able to use them !!

    --
    Do not try to read the dupe, thats impossible. Instead, only try to realize the truth
    What truth?
    There is no dupe
    1. Re:When will it end ?? by TheRaven64 · · Score: 1

      Take a look at FreeBSD. It's what Linux wants to be when it grows up (-1 flamebait). A comment I got recently when I showed it to a friend was 'Hey, this isn't like Linux at all. It has documentation!' And most of the documentation seems to be well written.

      --
      I am TheRaven on Soylent News
    2. Re:When will it end ?? by Anonymous Coward · · Score: 0

      Shut up, noob.

    3. Re:When will it end ?? by Anonymous Coward · · Score: 0

      Sorry to interrupt you from your documentation writing.

    4. Re:When will it end ?? by Anonymous Coward · · Score: 0

      shut up you dumb nigger jew

      go back to your dying OS

  16. Added Benefit by Chromodromic · · Score: 0

    Plus, if you use new and improved Glade II, your UIs won't smell like shit.

    --
    Chr0m0Dr0m!C
  17. GNOME needs more user friendly documentation. by Idimmu+Xul · · Score: 5, Insightful

    GNOME has some wonderful technologies at it's disposal, but the documentation is crap. Reading someone else's code is not the best way to learn imho, and some decent documentation covering bonobo etc is just what the doctor ordered.

    --
    The problem with slashdot is that most of its users were bullied and stuffed into lockers as kids!
    1. Re:GNOME needs more user friendly documentation. by Anonymous Coward · · Score: 0

      Agreed, Trolltech provide much better documentation. They make Gnome look amateurish. Just one more reason to avoid Gnome.

    2. Re:GNOME needs more user friendly documentation. by Anonymous Coward · · Score: 0

      Takes one to know one.

    3. Re:GNOME needs more user friendly documentation. by Anonymous Coward · · Score: 0

      AIDs.

    4. Re:GNOME needs more user friendly documentation. by IamTheRealMike · · Score: 2, Interesting
      Well, personally I've found the GTK documentation alrightish, though gtk-doc pages take a bit of getting used to. Wading through a huge synopsis is a bit annoying at first, until you get more familiar with it, and then being able to rapidly jump to the function you want using Geckos type ahead find is just plain cool.

      Unfortunately, it's still put to shame by MSDN. The docs are sometimes missing, sometimes wrong..... when I encounter these things I write a patch and submit it, it only takes a few minutes, and if more people did it the docs would improve faster.

      The docs for the GNOME libs though are a bit poor, but the same could be said of KDE, a lot of it is out of date, too sparse etc.

      Really, at some point Linux needs to leave its fascination with SGML/DocBook behind. I hate it for so many reasons. It really sucks. A custom solution I think could do what DocBook does better, faster and with less hassle.

      It'd be nice to have better searching as cross referencing as well. DevHelp is OK but rather buggy (I'm thinking of trying to fix a few of those bugs this week). As ever, I'd love to try and fix them, I like the technologies, but I have little time and other projects take higher priority. Really somebody just needs to be contracted to work on them for a bit, a developer support role perhaps. If there are any companies out there who want to use GTK for their apps but want proper developer support, get in touch!

  18. Additional Glade info by A+Proud+American · · Score: 5, Interesting
    Due to the nature of the work at my place of employment, we're generally stuck using Visual C++ (on the Windows platform) for most of our coding.

    Nonetheless, I work with Glade on weekends for fun. Here are some other interesting links that you'll undoubtedly enjoy:

    http://developer.gnome.org/

    http://www.daa.com.au/~james/pygtk/

    http://www.student.oulu.fi/~jlof/gtkglarea/

  19. A family company by Anonymous Coward · · Score: 0

    Family my ass

  20. I hate to break this to you by A+Proud+American · · Score: 3, Interesting

    But what Linux needs is a fresh look and a fresh batch of research into creating a truly intuitive desktop computing experience.

    Windows isn't intuitive, but because it's so popular, people have had to learn how to get work done and consistent interfaces across Microsoft applications helps this.

    But if Linux hackers want a new crowd of free software users, they need to attract them not only with the low price of open source software, but a high intuitivity index of the software itself.

    Someone please make Linux more easy to use. It's too hard.

    1. 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.

    2. Re:I hate to break this to you by Timesprout · · Score: 1

      What makes you so sure there is a truly intuitive desktop.

      Self preservation, feelings, sex, these things are intuitive to us as humans after millions of years of evolution. A GUI is a man made construct, its not natural and unlikely to invoke emotional reponses within us .

      A GUI is a paradigm represented to the user. The quality of the paradigm varies between implementations but they all will have a few key elements which tune the user to expect a certain response to a certain action, ie its not intuitive to them, it becomes 'intuitive' because they learn more about it. Consistency as you point out has been one of the strongest point of MS GUI's so there ware now 10's of millions of users who find it 'intuituive' despite whatever short comings it might have. The MS GUI usually does what the user has come to expect. Attempting to impose a new paradigm will prove extremely difficult at this point in time.

      --
      Do not try to read the dupe, thats impossible. Instead, only try to realize the truth
      What truth?
      There is no dupe
    3. Re:I hate to break this to you by NanoGator · · Score: 2, Insightful

      "Windows isn't intuitive, but because it's so popular, people have had to learn how to get work done and consistent interfaces across Microsoft applications helps this."

      That's debatable. Microsoft provided a visual metaphor that people could associate with. From there, it was easy for people to grasp on to. For example, 'folder' makes more sense than 'directory'.

      Though I agree with you that Linux is too hard and it needs a 'truely intuitive' desktop, I don't think you give enough credit to MS for the work they did on the Windows UI. Millions of people wouldn't have flocked to it if they couldn't figure out how to make it work. Windows wasn't always on top.

      --
      "Derp de derp."
    4. Re:I hate to break this to you by kwalker · · Score: 1

      Most of Microsoft's "innovation" has been copied from Apple, but changed enough to hopefully avoid a lawsuit (After the first one anyway).

      As for why Windows is on top, it has almost nothing to do with their UI. Millions of people flocked to it because they thought they needed a computer, and the only ones they could get were Dells, Microns, Compaqs, etc and those ONLY came with Windows. Working in tech support, you quickly learn that Windows is nothing like "intuitive". Microsoft is in the position it's in now because of its relationship with IBM in the beginning and the fact that it's been able to bully all the OEMs since.

      The thing I hear the most about Linux desktops is that they're not more like Windows desktops. Once people learn the one, they think everything else should work like it. My roommates can't even use my iBook because it has no Start Button.

      --
      Improvise, adapt, and overcome.
    5. Re:I hate to break this to you by NanoGator · · Score: 1

      "Most of Microsoft's "innovation" has been copied from Apple, but changed enough to hopefully avoid a lawsuit (After the first one anyway)."

      No argument there.

      "As for why Windows is on top, it has almost nothing to do with their UI. Millions of people flocked to it because they thought they needed a computer, and the only ones they could get were Dells, Microns, Compaqs, etc and those ONLY came with Windows."

      Heh. And what exactly caused them to flock? Seriously, computers were around long before Windows 95, why would they suddenly become popular when it came out? Hmmmm.....

      "The thing I hear the most about Linux desktops is that they're not more like Windows desktops. Once people learn the one, they think everything else should work like it. My roommates can't even use my iBook because it has no Start Button."

      Fair point, to a degree. However, it does make one wonder how intuitive Mac really is. It's been a while since I've used one, but I fell into that same trap too. Took me a bit of clicking around to find an app to start. Linux and KDE, on the other hand, provided a handy dandy start-esque button to click as opposed to this really teeny weeny Apple icon. I was up and running with it pretty quick. (too bad there were too many indescript apps that all began with K, but that's a seperate topic...)

      I'll concede that there's some truth to the 'familiarity factor'. However, my original point still stands: Windows 95 definitely did something right in the UI field.

      --
      "Derp de derp."
    6. Re:I hate to break this to you by ookaze · · Score: 1

      Though I agree with you that Linux is too hard and it needs a 'truely intuitive' desktop, I don't think you give enough credit to MS for the work they did on the Windows UI. Millions of people wouldn't have flocked to it if they couldn't figure out how to make it work. Windows wasn't always on top.

      You think people flocked to Windows because they could figure how to make it work ? You are beyond me.
      I have still to see a newcomer grasp anything about Windows. Most people are forced to use it and go to formations (learning courses, I don't know the exact english term) ! And even then, they do not grasp everything, if even one thing. Most of them have their notes for a time, until they can remember what they must do to do a specific task, and if you change anything, they are lost. And that is a LOT of the users.

    7. Re:I hate to break this to you by kwalker · · Score: 1
      Heh. And what exactly caused them to flock? Seriously, computers were around long before Windows 95, why would they suddenly become popular when it came out? Hmmmm.....

      A few things: The Internet, e-mail, web-browsning, pr0n, their kids, computer games, BBSes, and the old-guard geeks who already had computers. Honestly, most people (read: non-geeks) don't like computers. Their "Computer" constantly frustrates them, crashes, does unexpected things, and refuses to boot up after they've installed some new piece of hardware that works for a few weeks. They only use their computer to write e-mail, browse, chat, and play games. They toss the icons (or they have someone toss the icons) for their favorite programs on the desktop and then they keep it that way (Unless "the computer" crashes and rearranges everything, then it takes them ten minutes to put everything back the way they like it). That's "intuitive" to them, not the Start Button, no matter how many programs it hides from them, or how it organizes everything by the date said program was installed.

      Fair point, to a degree. However, it does make one wonder how intuitive Mac really is. It's been a while since I've used one, but I fell into that same trap too. Took me a bit of clicking around to find an app to start. Linux and KDE, on the other hand, provided a handy dandy start-esque button to click as opposed to this really teeny weeny Apple icon. I was up and running with it pretty quick. (too bad there were too many indescript apps that all began with K, but that's a seperate topic...)

      The Mac is plenty intuitive, as long as you don't define that as "Windows-like". Applications are listed in their own folder inside the hard drive or as icons at the bottom of the scren, menu bars are always in the same spot, and you can zip your mouse up to the top of the screen and hit File easily without having to back it away from the edge of the screen 3 pixels and lose focus on your active program. I don't think Mac is the paragon of intuitiveness either (I don't believe there is One True Way), but they've done a lot of good work, trail-blazed a lot of good guidelines that others are using, and aren't afraid of changing things around if it will make life easier. Incidentally, the programs aren't under the teeny Apple icon anymore. (And it might help if you've used a distro that has tried to improve on the user experience by naming the programs in the menu according to function, such as RedHat 9).

      I'll concede that there's some truth to the 'familiarity factor'. However, my original point still stands: Windows 95 definitely did something right in the UI field.

      Yes, namely emulating Mac OS 7 with a few tweeks.

      --
      Improvise, adapt, and overcome.
    8. Re:I hate to break this to you by Anonvmous+Coward · · Score: 1

      "You think people flocked to Windows because they could figure how to make it work ? You are beyond me."

      So... tell us why Mac didn't rise to power during the 95 net boom?

    9. Re:I hate to break this to you by yanestra · · Score: 1
      Yawn.
      But what Linux needs is a fresh look and a fresh batch of research into creating a truly intuitive desktop computing experience.

      Have you ever tried Workbench of OS/2? It was so perfectly intuitive that nobody wanted to use it - you could forget all your prior experiences. E.g.: Drop a color on the desktop -> desktop gets this color. Double click on development object -> object kicks the other dependent objects to make themselves.
      What is people really want is a Windows that behaves exactly like Windows, but is less boring.
  21. Re:I've used this by Anonymous Coward · · Score: 0

    So are you trying to say it is completely useless then ?

  22. You Killed Our Server! You Bastards! NOT! by libertynews · · Score: 4, Interesting

    Something strange is happening here. I am not seeing any kind of adverse effect to the machine from being slashdotted. Its chugging along fine, happily serving up pages.

    Hmm, must be some kind of multi GHz Quad Processor heavy iron type of box, right?

    Nope.

    P75, 48megs of ram. No kidding.

    cat /proc/cpuinfo
    model : Pentium 75+
    vendor_id : GenuineIntel
    bogomips : 40.04

    Granted, I'm only seeing 109 current connections to the web server right now. But its running just fine. This is probably mostly due to our colocation hosts at VDomainHosting having enough available bandwidth to serve things up in a timely manner. Thanks guys!

    And thanks to Rikke for such a great tutorial. She presented it a few weeks ago at the Linux Fest NW event, to a packed room.

    Brian
    KPLUG Webmaster

    --
    Remember Lexington Green!
    1. Re:You Killed Our Server! You Bastards! NOT! by RdsArts · · Score: 1

      The proceeding post was brought to you by Popsi. Popsi, the choice of the carbonated generation. And by THAC0 Bella. THAC0 Bella, armor clas, you care? Oh, THAC0 Bella.

    2. Re:You Killed Our Server! You Bastards! NOT! by Anonymous Coward · · Score: 0

      Something strange is happening here. I am not seeing any kind of adverse effect to the machine from being slashdotted.

      Perhaps that is because this is one of the most boring stories ever to grace Slashdot's front page?

    3. Re:You Killed Our Server! You Bastards! NOT! by Rosyna · · Score: 1

      Or it could be that so little people actually care about Glade II or even need a tutorial that no one is visiting the site. It's a sad day when you get posted to slashdot and can't even get enough clicks to /. a P75

    4. 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

  23. Render by Anonymous Coward · · Score: 0

    Howabout you make a gui of the nigger i killed thats lying in the river.

  24. The authorities have been contacted by Anonymous Coward · · Score: 0

    Slashdot has been asked for your IP, there will soon be a warennt out for your arrest

    1. Re:The authorities have been contacted by phuturephunk · · Score: 1

      ..Where do we stand when stupidity reigns?..

    2. Re:The authorities have been contacted by Paddyish · · Score: 1

      I'll stand right here ->X

  25. fuck patriotism dude by Anonymous Coward · · Score: 0

    it's a round fucking world last time i checked. i hate stupid dicks like you who are like "America! YEAH!" and "Proud to be an American". Jack asses like you are the reason there is no fucking peace in the world.. .. you believe american should be able to do whatever the hell it wants just because, well, because. we can bomb this guy or bomb that... we (and/or our corporations) can fuck over the rest of the world and then we whine like pussies when someone fights back. swine like you are dipshits... maybe someday we'll all JOIN the world rather than try to be alienated from it

    1. Re:fuck patriotism dude by Anonymous Coward · · Score: 0

      Sounds like you need to move to eurocunt land where all the other UN/oneworlder faggots live.

    2. Re:fuck patriotism dude by Anonymous Coward · · Score: 0

      wtf is up with the drive to be so supremesist in the world? what makes you think that you are superior to everyone else on the planet and therefore, need to exert your power and presence over it? that makes no fucking sense... we're all human beings... and all human beings are endowed with inalienable rights. that means we treat everyone else the same as we treat our own. incase you failed to fucking notice, the USA is made up of foreigners. nobody here, unless you're apache, chippawa, etc. is native. we all come from other countries across oceans. also incase you didn't happen to figure it out, that's what made us great in the first place -- being a melting pot.

  26. 3DFX LIVES... by Anonymous Coward · · Score: 0

    oh wait, that says glAde... damn, a man can dream though.

  27. Comment removed by account_deleted · · Score: 1

    Comment removed based on user account deletion

  28. Many options by onShore_Jake · · Score: 2, Funny

    One of the best features is the plethora of plug ins available here

  29. Licensing thoughts by joneshenry · · Score: 1

    IANAL, but it seems fortunate to me that the Glade developers inserted into the FAQ included with the source distribution an explicit waiver of rights over generated C code. Glade, which is GPLed, appears to insert into generated projects at least one file support.c which is not meant to be edited and which may be required for the project to function. Without the waiver, I wonder if a Glade produced project could be considered a derived work.

    For the sake of clarity, I suggest that if someone decides to GPL a tool which which inserts an equivalent of a template into the output, he or she needs to explicitly state in the license file whether generated output is considered a derived work and therefore subject to the GPL. Years ago the FSF was forced to explicitly state that output from GNU Bison was not bound by the GPL. In the case of Bison, a large portion of Bison's yyparse function was being inserted into the output. Whether or not output the size of support.c or other code inserted from Glade would meet a similar standard is I suspect unknown.

  30. PLUG IT IN, PLUG IT IN by Anonymous Coward · · Score: 0

    Can you make Glade Plugins with it? That would be awesome, my apartment smells like burnt marijuana buds and i think the neighbors are getting suspicous.

  31. from the article by Hubert_Shrump · · Score: 1

    What Glade cannot do:
    * Glade doesn't develop the 'backend' of your application


    I'm interested in the toolkit that set that expectation. I'm pretty sure it's not Emacs.

    --
    Keep your packets off my GNU/Girlfriend!
    1. Re:from the article by Anonymous Coward · · Score: 0

      I'm pretty sure it's not Emacs.

      Of course not. It was Doctor Emacs.

    2. Re:from the article by Anonymous Coward · · Score: 0

      There is a Perl toolkit at: http://sourceforge.net/projects/snapper

      The current version is a set of High-Level API procedures that simplify backend access code. The next version will include data mappings, etc. It builds on top of gtk-perl. Glade2 version is in the works.

  32. Is it portable to FreeBSD? by Anonymous Coward · · Score: 0

    Or is it tied down to linux? That would b a major disadvantage with the SCO lawsuit against linux. I'm moving all my applications over to FreeBSD.

    1. Re:Is it portable to FreeBSD? by more+fool+you · · Score: 1

      yes

    2. Re:Is it portable to FreeBSD? by Anonymous Coward · · Score: 0

      Good luck to the FreeBSD community.

  33. I Like Glade by Anonymous Coward · · Score: 0

    I use glade all the time. It beats the heck out
    of figuring out how to write the interfaces myself.
    Biggest problem I've found is the glade-- module
    created C++ source files that require a lot of work
    to compile though. Nevertheless, its saved me lots
    of time by cutting down on classwork time.

    1. Re:I Like Glade by IamTheRealMike · · Score: 1

      You really shouldn't be using the code generation, in fact in Glade 3 I think it's going to be ripped out. It's far, far, far easier to load .glade XML files with libglade. In C, it will even autoconnect all your signals for you!

  34. Re:hahaha by Anonymous Coward · · Score: 0

    nipplehead

  35. Anjuta by noda132 · · Score: 3, Interesting

    It's a very good thing they didn't try to make an IDE, because one already exists: Anjuta. And best of all, Anjuta not only offers all the usual editor/compiler mumbo-jumbo, but it also calls Glade for GUI creation.

    If you're trying to start out GNOME/GTK development, Anjuta's the IDE of choice (as far as I can see). Of course, all I did in it was make a little "Hello, world!" app that would hide the message when you click a button. But it was very simple to make and had full i18n support -- for 5 minutes from start to finish, that's not half-bad :).

    1. Re:Anjuta by Anonymous Coward · · Score: 0
      or 5 minutes from start to finish, that's not half-bad :).



      That's about all about what it is good for, 5 minutes hack. For serious project, you need vi.

    2. Re:Anjuta by fucksl4shd0t · · Score: 1

      It's a very good thing they didn't try to make an IDE, because one already exists: Anjuta. And best of all, Anjuta not only offers all the usual editor/compiler mumbo-jumbo, but it also calls Glade for GUI creation.

      I've been enjoying Anjuta as well, with one minor bitch, for which I haven't solved the problem. It saves C++ files with a .cc extension. Since I use wxWindows, and I want my stuff to compile in MSVC++, I need to have a .cpp extension instead, but there appears to be no way to change the default. I would *really* love it if someone would tell me. :)

      --
      Like what I said? You might like my music
    3. Re:Anjuta by dabuk · · Score: 1
      I've been enjoying Anjuta as well, with one minor bitch, for which I haven't solved the problem. It saves C++ files with a .cc extension. Since I use wxWindows, and I want my stuff to compile in MSVC++, I need to have a .cpp extension instead, but there appears to be no way to change the default. I would *really* love it if someone would tell me. :)

      I'm not entirely sure what you mean by that as you can save a file with any extension including .cpp. If you mean the class creator plug-in then once you've entered the name of the class, you can change the file name including the extension.

    4. Re:Anjuta by fault0 · · Score: 1

      You can use .cc files with MSVC just fine.. at least in MSVC7 you can by default.

    5. Re:Anjuta by BluedemonX · · Score: 1

      Yeah right. I've never got Anjuta to work.

      Here's a recipe for frustration:

      1. Install Mandrake Linux

      2. Install Anjuta

      3. Try and create a project with Anjuta, and build it

      4. Write to developers, ask why a simple project with nothing added to it doesn't goddamn work

      5. Get lame ass "I dunno" from development team

      Dear God, if the simplest "build default project" screws the pooch, how do they expect anything else to work? I wonder if the Anjuta that this project is named after is like that - pretty but incapable of doing anything useful.

      --

      --- Jump!! Fire!! Bullet time!! - Lego version of the Matrix
  36. sweet replacement for MS VB! by mabhatter654 · · Score: 1
    I recently have been learning Visual Basic for work [yeah, we're ms slaves!] I also deal with the companies web site, and have been working to learn PHP.


    I ran accross PHP-GTK which is really, really cool! It lets you write VB-style apps as PHP scripts. What I haven't been able to find are any good tutorials that relate more directly to VB users. I've been playing with Dev-PHP editor, and it's almost a drop-in replacement [not code-wise silly, but exactly matches features for the task!] It runs with windows and linux, too!

    Lack of any point of reference is really making things difficult. As I'm finding typical with Linux apps, a good tutorial on the basics of any given app are really hard to find! For the "bigger" stuff, I've given up online and surf the asiles of my local book shop for O'reilly books, but the coolest stuff out there suffers from a serious lack of understanding by anyone who didn't write it! Heck, I may even have to get off by but and write some docs myself, but I wouldn't have a clue where to start learning enough not to look stupid.

  37. Windows95's popularity by solprovider · · Score: 1

    First, Windows 95 was so much better than Windows 3.1 that anybody who had Win3.1 immediately upgraded.

    Second, Win95 appeared in 1995, just as the web became the killer app for the general populace. It wasn't Win95 that made people buy computers; it was Netscape and Amazon. Netscape had matured the year before, and Amazon opened in July 1995. Win95 is what they got stuck with because the only other OS for the general public was Apple, and a computer with the Apple OS was much more expensive. Someone walking into an electronics store wanting "that internet thing" would go home with a pre-built system running Win95. Then they would call support to ask how to plug it in.

    Without checking any facts, I believe most systems sold then were Compaq or Gateway. IBM and HP were expensive. Dell was for direct sales.

    Now there is much inertia to switching people from Windows. Wait until most companies have banned Windows. Then corporate workers will be comfortable with the new interface and insist on it for home.

    --
    I spend my life entertaining my brain.
  38. Re:I hate to break this to you-GUI Stress. by Anonymous Coward · · Score: 1, Funny

    "A GUI is a man made construct, its not natural and unlikely to invoke emotional reponses within us . "

    Obviously someone who's never seen a: KDE-GNOME, Windows-Macintosh, OS/2-Windows, Amiga-everyone else, battle.

  39. misunderstood title by Mad_Chocobo · · Score: 1

    when i read the title i thought it had something to do with new air fresheners. (Glade)

  40. Thank YOU by Anonymous Coward · · Score: 0

    Now I've got to google to find out what "Zxzzy Underlayer II.3M" is. Why didn't you provide links or an explanation in you message?

  41. App 0wnage belongs to KDE by Anonymous Coward · · Score: 0, Troll


    Sorry, but all the best apps are on KDE, hands down.

  42. I found it back.. by Mr2cents · · Score: 1

    This is a small portion of the qt designer manual..


    Importing Glade Files
    Glade is a free GUI builder for GTK+ and GNOME written by Damon Chaplin. The .glade extension is associated with Glade files.

    Qt Designer has been tested with Glade files up to version 0.6.0 and might work with later versions as well.

    Although Glade does not target Qt, the layout system and the widget set of GTK+ are similar to those of Qt, so the filter will retain most of the information in the .glade file.


    This is not an automagic process, you have to check if the conversion went well (e.g., there are some widgets - it mentions GnomePapreSelector - that have no Qt equivalent).

    --
    "It's too bad that stupidity isn't painful." - Anton LaVey
  43. libglade by bockman · · Score: 1
    The best way to use glade IMO is via libglade. GUI code generators are usually messy, and Glade is no exception (at the very least, it should generate separate file(s) for each main window). But with libglade, your application code is neatly separated from your presentation/control code, at the price of a small slowdown at startup.

    This is not a new approach (Motif had it with UML, for instance) but lately has been neglegted in favor of code generators. I think it is time to reconsider this choice (although with OOP you have other ways to obtain the same separation).

    --
    Ciao

    ----

    FB

  44. 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!

  45. UIL, not UML by bockman · · Score: 1

    Tii many acronyms in the world...

    --
    Ciao

    ----

    FB

  46. Re:I've used this by Anonymous Coward · · Score: 0

    No. The power of glade2 drove out the American infidel swine from Iraq.

  47. Why C/C++? Check out Kiwi, PyGTK and libglade. by kiko · · Score: 1

    I was a bit surprised to see the example application was written (of all things) in C. Besides being harder and taking longer to write, it's too hard to change (and going to be flaky since a SEGV is so much easier to hit.)

    I've done some work on a framework for PyGTK (0.6 only for the moment, but GTK+2 support is coming) that makes writing an app like this one trivial. In fact, the examples include a temperature converter app (`just like ye ole Mr. Raskin said'). The code is so tiny it can fit in a /. comment:

    from Kiwi import Delegates, FrameWork, mainquit

    class Farenheit(Delegates.GladeDelegate):
    widgets = ["quitbutton", "temperature",
    "celsius", "farenheit" ]
    def __init__(self):
    Delegates.GladeDelegate.__init__(self,
    "faren", delete_handler=mainquit)

    def convert_temperature(self, temp):
    farenheit = (temp * 9/5.0) + 32
    celsius = (temp - 32) * 5/9.0
    return farenheit, celsius

    def clear_temperature(self):
    self.farenheit.set_text("")
    self.celsius.set_text("")

    def on_quitbutton__clicked(self, *args):
    self.view.hide_and_quit()

    def after_temperature__changed(self, entry, *args):
    temp = entry.get_text().strip() or None
    if temp is None:
    self.clear_temperature()
    else:
    farenheit, celsius = self.convert_temperature(float(temp))
    self.farenheit.set_text("%.2f" % farenheit)
    self.celsius.set_text("%.2f" % celsius)

    delegate = Farenheit()
    delegate.show_and_loop()

    It's Python, of course :-) Docs and code available under the LGPL: http://www.async.com.br/projects/kiwi/

  48. How to modify DevStudio to handle .cc extensions by Anonymous Coward · · Score: 0

    Read this support page at microsoft:

    HOWTO: Make VC++ Recognize File Extensions as C/C++ Files

  49. Re:Something stinks by Anonymous Coward · · Score: 0

    Blade is based on a comic book and well pre-dates buffy.

    god. geeks are so pathetic. i bet you expect buffy to jump out of the tv and on to your 300lb gut and ride you like a drunk coyote. dumbass

  50. Not Invented Here? by KevinDumpsCore · · Score: 1

    > Really, at some point Linux needs to leave its fascination with SGML/DocBook behind. I hate it for so many reasons. It really sucks. A custom solution I think could do what DocBook does better, faster and with less hassle.

    No, DocBook/SGML is entirely appropriate because it is a standard. As a documentation volunteer, I find no joy in having to relearn a DTD because the project maintainer wants to roll his own. I appreciate that once I learn the DocBook DTD, I can help other projects without re-learning anything.

    Where Docbook needs improvement is better tools. So programmers like yourself should be helping documentation volunteers build these tools instead of re-inventing the (documentation standards) wheel!

    1. Re:Not Invented Here? by IamTheRealMike · · Score: 1

      I see your point, but I have quite a few issues with the DocBook DTD that make it harder to write, and ridiculously hard to produce decent stylesheets (and oh boy, does DocBook need decent stylesheets). The sheer scope of the thing is one problem, it's hard to figure out exactly which elements you should use. The other is the verbosity of the element names. Stuff like para instead of p, variablelistentry instead of li. HTML is far more pleasant to write.