Have just started developing for BBB, and have written the most basic GTK application:
int main( int argc, char *argv)
window = gtk_window_new(GTK_WINDOW_TOPLEVEL);
which I've compiled and linked successfully with
You created a toplevel window and went into the event loop with no
events connected to callbacks or anything else, so your application is
working exactly as written. You could try to create a widget button
GtkWidget * button = gtk_button_new_with_label("Exit");, place it,
and g_signal_connect() it to gtk exit callback. Or, you could use
glade GUI builder to streamline the process.
Thanks, that helps! The documentation says that a toplevel window has a title bar and border though, so I expected a bit more decoration.
Ah, that's different---the decorations come from the window manager. I
tried it on my regular x86 Fedora 20 Gnome 3.10 desktop and I did get
WM decorations, so something must be different for you.
What exactly is your environment?
It’s whatever the BBB ships with - the default Angstrom / Gnome (at home now so can’t check versions).
Im also having the same problem with the latest Angstrom dist for BBB (2013-09-04)
but when I used debian build for BBB everything is working as intended