2
votes
0answers
36 views

Can't get iconify() and deiconify() to work properly

I'm writing app for Ubuntu with C++ and Gtkmm. In my app i use libappindicator to show icon with simple menu in notification area. Icon and menu works ok, i can minimize window to panel (using ...
2
votes
2answers
118 views

How to add buttons in Glade and resize

Trying to create the framework for a calculator. I add the window I add the vbox using 2 boxes. 1 for the display, the other for the buttons When I add 1 button it fills the entire panel and I can't ...
0
votes
2answers
83 views

GTK Recent Chooser Menu callback not working

I am currently very puzzled why something so simple fails so hard: This is the source code for a very very simple recent chooser menu, but it fails. My output is this: Display name: ...
0
votes
0answers
99 views

How to reinstall GTK+ and Gtkmm?

In a problem, I described in here (as "ChristophLu"), I have some trouble installing GTKmm. It seems that I have to remove GTK+ and GTKmm completely and reinstall it. But I do not want to reinstall my ...
1
vote
1answer
949 views

How to draw on mouse click in Gtk.DrawingArea using pygi

I am writing a small application using PyGI which will interactively draw a line on a Gtk.DrawingArea between mouse clicks. But I am unable to figure out how to draw using the cairo context at the ...
0
votes
1answer
202 views

Which programming language to develop software for USC that also runs on other OS? (Windows / OS X)

I have skills in Java and C#. First I had a closer look at Java (Eclipse with Windowbuilder-Plugin). - Swing: But there is no natvie GUI-Support for GTK3 (e.g., HUD seems not to work) Then I looked ...
19
votes
4answers
4k views

What's the difference between GTK and QT?

Please bear with me as I'm a newcomer to Linux. I've been writing GUI programs in REALbasic on a Mac for several years. I'm trying to learn Python and I want to write GUI apps for Linux (primarily ...
1
vote
1answer
195 views

How to decorate a GTK window like eg. the gnome-panel?

I would like to make a panel-like application, in appearance much like the gnome-panel. I would like to use GTK for this (although i've also looked into Qt), preferably using Python. How can i ...
1
vote
1answer
203 views

Gtk SpinButtion in a Toolbar

How do I place a SpinButton widget on a Toolbar using GTK, or GTKmm?
1
vote
1answer
315 views

libgtk2.0-common fails to build with Gdk-2.0.gir error, Type reference 'GdkPixbuf' not found

I'm trying to build gtk, but it fails. Here's what I'm doing: sudo apt-get build-dep libgtk2.0-common apt-get source libgtk2.0-common cd gtk+2.0-2.22.0/ gedit gtk/gtktreeview.c & #...editing a ...
13
votes
1answer
2k views

Putting an arbitrary gtk.Widget into an appindicator.Indicator

Putting any gtk.Widget inside a gtk.Menu works, somewhat, by putting an empty gtk.MenuItem in first. It doesn't seem to be reliable - but it basically works. With an appindicator.Indicator, it doesn't ...
1
vote
4answers
679 views

What are some IDEs for C/GTK2 [duplicate]

Possible Duplicate: C programing suites/IDEs What is the best IDE for C + GTK2 programming? I currently use gedit and try MonoDevelop.
0
votes
1answer
159 views

Problems with gtk2 programming

I'm starting to learn C and GTK2. So, I find tutorial at zetcode.com, and try to make a little program, but it doesn't want to start. I'm doing exactly as in tutorial, but there's some bug in my code. ...
15
votes
3answers
5k views

Installing gtk development environment

Not new to Ubuntu or programming but I am new to programming in C and gtk. Have been using Quickly for the odd program. I want to play around with C and gtk. What gtk packages do I need to install to ...