1
vote
1answer
1k views

How to build GUI application in C language using GTK+?

I have written code in C language using GTK. This code gives a window with 2 buttons, but I do not know how to make the standalone GUI application from this code. Please explain to me step by step ...
1
vote
1answer
614 views

How do I use the GTK+ development libraries in Ubuntu?

I've been programming for about a year and a half on Windows and I've just started getting used to the way things work on that platform, but now I'm interested in development on Linux and I've been ...
0
votes
1answer
254 views

How to create a datagrid in GTK without GTK Sharp?

I would like to write a GTK program with a datagrid. However GTK Sharp is for the .NET Framework. Is there any non-.NET library or framework with a datagrid that I can use?
3
votes
1answer
113 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
834 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
126 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: ...
2
votes
1answer
2k 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
238 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 ...
23
votes
4answers
6k 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
288 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
247 views

Gtk SpinButtion in a Toolbar

How do I place a SpinButton widget on a Toolbar using GTK, or GTKmm?
1
vote
1answer
350 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
877 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
169 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. ...
17
votes
3answers
11k 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 ...