Hi I'm making an app using GTKMM. The screenshot is below:
Screenshot
The Problem is, I'm not able to position the "My Label" to align at the top, just below the Search box.
I'm packing Name,Search box, Search Button into a HBox, which is packed into a VBox, and then MyLabel is packed into the VBox.
I think the problem is that the V...
Hi I'm trying to show an error mesaage using a dialogbox. However when I run the code I get segmentation fault.
Here's the function:
void ShowErrorMessage(string message)
{
Gtk::MessageDialog dialog(message,true,Gtk::MESSAGE_ERROR,Gtk::BUTTONS_CLOSE,true);
dialog.run();
}
I try to open a file, if the file can not be open I wanna ...
Hi - I have an application which uses gtkmm. The client's machine does not have this library installed. When he runs my application on his Red Hat Linux he gets the error:
libgio-2.0.so.0: cannot open share d object file: No such file or directory
How can i install it on the client's machine? I know I can do yum install, but since its R...
I am writing a custom widget for Gtkmm that is supposed to display a huge dataset (imagine something like a 4096x256 character datasheet).
Mostly for reasons of elegance, but also for a possible usage in a Glade/Gtk-Builder editor, I want this widget to support ScrolledWindow natively, that is, once it is set as the child of ScrolledWin...
Hi - How can I install GTKMM on a Red Hat enterprise Linux 3?
...
Hello,
I am programming a game in "OpenGL" and using "Gtkmm" as a window manager. I want to use the keyboard to camera moving (thus, "UP-key" to move forward, "DOWN-key" to move backward, etc...)
Some time ago, when I programmed in Java, I used this technique to "move":
When the application received for example the "UP-key-press" signal...
I'm making an app using GTKMM and I want to know how to catch the right click signal from a Gtk::Table ?
And also how to catch if the Mouse is over a Gtk::Table ?
...
Hello,
I am programming an FPS (First Person Shooter) game using "Gtkmm" as a window manager and I would like to do the "mouse-look". Therefore, I have to "grab" the mouse pointer to redirect all the mouse motion events to my application window.
There seems to be three overloaded functions to do that job and I have chosen the simplest o...
Hi, I'm looking for a way to redirect stdout to a Gtk::TextView widget in gtkmm. Ideally, I want it to work both on Windows and UNIX-like OSes.
So far, I've tried to redirect stdout to a file, then monitor changes to this file using Glib, like so (highly inspired from the gtkmm examples on gnome.org) :
#include <stdio.h>
#include <fcn...
I need to retrieve the position of a Gtk::Widget relative to its parent, a Gtk::Table. Most sources (e.g. http://library.gnome.org/devel/gtk-faq/stable/x642.html) say that one needs to call Gtk::Widget::get_allocation(). However, the returned Gtk::Allocation object always contains x = -1, y = -1, width = 1, height = 1.
I have to note th...
How do I create shaped windows in Gtkmm. The shape must be defined using cairomm.
...
Hi Guys,
Im having some problems with a GTK program im trying to build.
When i compile it i keep getting this error:
This probably reflects a bug in the program.
The error was 'BadAlloc (insufficient resources for operation)'.
(Details: serial 195 error_code 11 request_code 53 minor_code 0)
Ive traced it down to the following comman...
I am new to multithreading and have designed a program that receives data from two microcontroller measuring various temperatures (Ambient and Water) and draws the data to the screen. Right now the program is singly threaded and its performance SUCKS A BIG ONE.
I get basic design approaches with multithreading but not well enough to ...
Hello everyone,
Please help in displaying/embedding the media player in Gtkmm window under linux. The language used is C++.
Help would be appreciated
Thanks a lot
...
I am working on rolling a bit of my own version of linux for my real time car application. I plan to base it off of minimal ubuntu (only needsd 32 MB of memory). I am not the most skilled person with linux so not really sure how to assess components when adding them to my system. What I am looking for is a lightweight windows manager ...
Hello everyone,
i want to get the intellisense in GTkmm application, similarly as we get in dot net under windows. However this time i am using Linux, C++, Gtkmm and Geany as my editor. Please guide how to get the intellisense. Moreover, if any kind of editor supports the property of intellisense, please mention that also.
Thanks and R...
Hello stackoverflow members,
How can I use gtkmm with MinGW (g++) without MSYS?
Here is the story of my problem:
I installed MinGW offline with all required packages (full install).
I installed Apache Server and I copied all .tar.gz files and I created a website called sourceforge.org [localhost] and I installed automatically MinGW on Wi...
How can i call a function whenever my gtkmm app looses or regains focus?
Thanks.
...
When I have all my cairo drawing commnds finihed how can I added it to a pixmap so that it will be drawn later. I am using cairomm and gtkmm
...
We have a C++ Gtk application that currently has a "homebrew" reporting component. We're looking to step up to a more fully-featured reporting library, preferably with a WYSIWYG designer, print-preview / GUI viewer, and PDF export capabilities.
Any recommendations?
...