Re: combo box in dialog did not work, not mouse selctable, lots of Gdk-CRITICAL messages on console output

2015-02-18 Thread Jonas Platte
Well, first of all: Your code runs perfectly for me. I compiled it with: g++ main.cpp `pkg-config --cflags --libs gtkmm-3.0` -std=c++11 Which platform do you run on, and could it be that you don't use the default Gtk+ theme you had there in the beginning? IIRC I had similar problems with

Re: combo box in dialog did not work, not mouse selctable, lots of Gdk-CRITICAL messages on console output

2015-02-18 Thread Jonas Platte
Am 18.02.2015 um 19:40 schrieb Klaus Rudolph: Good hint! I run under kde environment. With a gnome desktop it works as expected :-) But is there a way to fix this problem so that the program runs under other desktops/wm also? I run on a fedora 21 with quite new gnome and kde installed. It

Re: combo box in dialog did not work, not mouse selctable, lots of Gdk-CRITICAL messages on console output

2015-02-18 Thread Jonas Platte
Am 18.02.2015 um 20:19 schrieb Klaus Rudolph: Can you give a short code snipped of running a dialog in a different way. Maybe this can be a start point for me. I actually have no idea what I did wrong in my code :-( If I could I had already done that. Like I said, I can't remember to have

Aw: Re: combo box in dialog did not work, not mouse selctable, lots of Gdk-CRITICAL messages on console output

2015-02-18 Thread Klaus Rudolph
Gesendet: Mittwoch, 18. Februar 2015 um 20:02 Uhr Von: Jonas Platte jonaspla...@gmail.com An: Klaus Rudolph lts-rudo...@gmx.de Cc: gtkmm-list@gnome.org Betreff: Re: combo box in dialog did not work, not mouse selctable, lots of Gdk-CRITICAL messages on console output It might be that

Re: how to shrink a window

2015-02-18 Thread Klaus Rudolph
Gesendet: Mittwoch, 18. Februar 2015 um 17:19 Uhr Von: Jonas Platte jonaspla...@gmail.com An: gtkmm-list@gnome.org Betreff: Re: how to shrink a window What you want is resize(): https://developer.gnome.org/gtkmm/stable/classGtk_1_1Window.html#ad6d1fc27730d7f26402a1924c3495787 resize() on

Re: how to shrink a window

2015-02-18 Thread Jonas Platte
set_default_size() is for the default size, set_size_request() is for the minimum size – it's called size request because it's a requenst to the window manager to not let the user shrink the window further, which it can ignore (i3-wm does that for example). What you want is resize():

combo box in dialog did not work, not mouse selctable, lots of Gdk-CRITICAL messages on console output

2015-02-18 Thread Klaus Rudolph
Hi again, I tried to get a combo box to work in a dialog window. But the behavior is strange. The following things will not work: After the dialog window opens ( after pressing the do button in my example code ) you can open the combo box list with a mouse click. But it is not possible to