Search 5,000,000+ questions and answers.

Frequently Asked Questions

How can I use Glade and/or libglade with gtkmm?

gtkmm Frequently Asked Questions
Use libglademm, which is part of gnomemm and wraps libglade. It allows you to load widget information from the XML user interface description files that Glade generates at runtime. This method is strongly recommended. Experience has shown that it works well for large projects, and there is a lot of example code out there you can look at. For an introduction, see the corresponding chapter in the gtkmm tutorial.
Related Questions

What is Glade?

FAQ: Gtk - Mono
Glade is a GUI designer for Gtk+ applications that stores your designs in an XML file (the file name ends in ".glade"). User interfaces created with Glade can are dynamically loaded at runtime using the Glade.XML class.
Related Questions

Why use gtkmm instead of GTK+?

gtkmm Frequently Asked Questions
gtkmm allows you to write code using normal C++ techniques such as encapsulation, derivation, and polymorphism. As a C++ programmer you probably already realise that this leads to clearer and better organised code. gtkmm is more type-safe, so the compiler can detect errors that would only be detected at run time when using C. This use of specific types also makes the API clearer because you can see what types should be used just by looking at a method's declaration.
Related Questions

Can I use C++ exceptions with gtkmm?

gtkmm Frequently Asked Questions
Yes, it is possible but it is not a very good idea. The official answer is that, since plain C doesn't know what a C++ exception is, you can use exceptions in your gtkmm code as long as there are no C functions in your call stack between the thrower and the catcher. This means that you have to catch your exception locally. You will be warned at runtime about uncaught exceptions, and you can specify a different handler for uncaught exceptions.
Related Questions

How do I load pixmaps for use with gtkmm?

gtkmm Frequently Asked Questions
Use Gdk::Pixbuf and/or Gtk::Image. Both are easy to use and support a wide range of image file types via pixbuf loader plugins.
Related Questions

Can I embed Glade files in my executable?

FAQ: Gtk - Mono
Yes, just bundle your glade files as resources (using the -resource: option in the compiler) and change your constructor call or use the Glade.XML.FromAssembly () method to create your Glade.XML ui.
Related Questions

What compiler arguments should I use to compile a gtkmm program?

gtkmm Frequently Asked Questions
You should use pkg-config's PKG_CHECK_MODULES macro in your configure.in file, as demonstrated in the gtkmm_hello package. Since this is the single most asked question about running GTK+ programs, we'll answer it here, even though it is in the GTK+ FAQ. Make sure the /usr/local/lib (the default install dir for gtkmm) is properly configured in your /etc/ldconf or that it is in your LD_LIBRARY_PATH environment variable. Alternatively, specify another prefix when running configure.
Related Questions

Why is it named gtkmm?

gtkmm Frequently Asked Questions
gtkmm was orignally named gtk-- because GTK+ already has a + in the name. However, as -- is not easily indexed by search engines the package generally went by the name gtkmm, and that's what we stuck with.
Related Questions

How good is gtkmm?

gtkmm Frequently Asked Questions
What systems does it run under?2.2. How complete is it?2.3. Does gtkmm support all the C++ goodies like inheritance, polymorphism, etc?2.4. Does gtkmm use Standard C++ (STL) containers such as std::string and std::list2.5. Does gtkmm force STL-style interfaces onto GTK+ widgets in a way that is inappropriate, difficult, or badly-implemented?2.6. Does the gtkmm API use C types, such as structs?2.7. What applications have been written in gtkmm?2.8. How does gtkmm compare to Qt?2.9.
Related Questions

What documentation is there for gtkmm?

gtkmm Frequently Asked Questions
There is a largely complete tutorial, automatically-generated reference documentation, this faq, and a wealth of running examples available at the documentation page
Related Questions

Why Not Glade instead of GNUe Forms?

GNU Enterprise GNUe FAQ
GNUe Forms and Glade are two separate types of tools. Comparing one to the other is, pardon the cliche, like comparing apples to oranges. Glade is a powerful, yet special-purpose, GUI layout application. It is specifically designed to generate GUI layouts for a GTK/GNOME application and is very well suited for such a task. If you are wanting to design a GUI for a non-data-aware app that runs only under Gnome/GTK, then you should look at Glade.
Related Questions

M: Did you actually shoot the sequence in the glade with the unicorn?

BladeRunner FAQ
S: Absolutely. It was cut into the picture, and I think it worked wonderfully. Deckard was sitting, playing the piano rather badly because he was drunk, and there's a moment where he gets absorbed and goes off a little at a tangent and we went into the shot of the unicorn plunging out of the forest. It's not subliminal, but it's a brief shot. Cut back to Deckard and there's absolutely no reaction to that, and he just carries on with the scene.
Related Questions

What is gtkmm (Previously known as Gtk--)?

gtkmm Frequently Asked Questions
gtkmm is a C++ wrapper for GTK+. That is, it is a language binding that lets you use GTK+ from C++. This includes support for C++ features such as inheritance, polymorphism and other powerful techniques which C++ programmers expect to have at their disposal.
Related Questions

How does gtkmm compare to Qt?

gtkmm Frequently Asked Questions
gtkmm uses std::string, std::list, std::vector, iterators, etc. Qt has it's own Qt-specific containers. With gtkmm normal C++ memory management can be used. Qt demands that all widgets are dealt with as pointers, and that deletion of widgets is surrendered to parent widgets. Arrangement of widgets seems to be simpler in gtkmm. In Qt, Containers and Layouts are separate classes, and child widgets must be added to both. The gtkmm API tends to be more explicit.
Related Questions

How can I get the GTK+ object from a gtkmm object?

gtkmm Frequently Asked Questions
If you need some GTK+ functionality which is not supported through gtkmm, you can call Gtk::Widget::gobj() (gtkobj() in gtkmm version 1.x) which will return a pointer to the plain C GTK+ data structure. You can then operate directly on this C object as you would in any GTK+ program.
Related Questions

Is gtkmm thread-safe?

gtkmm Frequently Asked Questions
Neither X, nor GDK nor GTK+ nor gtkmm are thread safe by themselves. You must use either the gdk_threads_{enter,leave}() functions to protect any and every call to GDK/GTK+/gtkmm functions, or alternatively, ensure that only a single thread makes such calls. One common way to do this is to have non-GUI threads send requests to the GUI thread via a pipe. The pipe is hooked into the main glib event loop used by GTK.
Related Questions

Will programs meant for GNOME like Glade work on KDE?

Exocore Consulting
Yes they will provided the required libraries have been installed. If you have done a full installation of RHL, all the GNOME libraries would have been installed.
Related Questions

How can I wrap a GTK+ widget in a gtkmm instance?

gtkmm Frequently Asked Questions
Glib::wrap() will give you a pointer to gtkmm object. It is an overloaded function, so it will give you an instance of the appropriate class.
Related Questions

When should I use it?

EDTA studies
Use the suppositories in the evening. Make sure that you have already gone to the bathroom at least once that day before using the suppositories.
Related Questions

Birth Control FAQ
There are a number of ways to start oral contraceptives. We usually have you start the pills on the Sunday after your normal menstrual period begins. If your period begins on Sunday, then start the pills on that Sunday. Take one pill at the same time of day, each day so you won't forget them, even if you are not going to have sex. NEVER take a friend's pill or someone else's pill. If you miss one pill, take it as soon as you remember.
Related Questions

Abbott Molecular Inc.: FAQ
The UroVysion Kit provides you with "a second set of eyes" that makes your cystoscopic examination more effective. UroVysion helps you to identify the presence of the following:
Related Questions

Quit Smoking Stop Smoking - Frequently Asked Questions
You put one smoke free cig-rette in your package or pocket and every time you have the need for a cigarette you take out the smoke free instead. You do not light the smoke free, just inhale through it. Inhaling through the smoke free gives the smoker an oral sensation of a cigarette, something to do with your hands, and something to put in your mouth, just like a cigarette.
Related Questions

Questions about lower blood pressure with breathing and musi...
The average person typically breathes shallowly and quickly at a rate of 14 to 18 breaths per minute. Breathing more slowly than 10 breath per minute, for only 15 minutes a day, reduces blood pressure, stress, and anxiety. Many people also report improved sleeping and moods.
Related Questions

Free Instant Messaging Services | Instant Messenger Program
Go to Manage > My Preferences > Messages. At the bottom of the window check or uncheck the box that says, "Display time stamp for each message." Back to Top
Related Questions

Hydro Pulse? Nasal / Sinus Irrigation System
Add one teaspoonful of Breathe-ease? XL or salt (non-iodized salt because some people are sensitive to iodine) to the basin to get the correct saline concentration. Fill the reservoir with warm water, about 27 ounces or 800 cc. Turn on the device and adjust the pressure so that if you point the irrigator straight up in the air, the stream is about one inch high approx 5 psi.
Related Questions

Odor Genie FAQ
No. Unlike a lot of products, the more you use, the quicker it works! The only problem with using more than the recommended rates is Odor Genie may clog up the vacuum cleaner if you try to vacuum it all at one time. A new vacuum bag may be required to complete the clean-up. There are special considerations when it comes to cat urine; especially in places that a cat or cats have been using for a long time.
Related Questions

Got A Question? Ask Our Community!


More Questions >>

© Copyright 2007-2008 QueryCAT
About • Webmasters • Contact