Questions tagged [gtkmm3]

gtkmm is the official C++ interface for the popular GUI library GTK+. Use this tag for questions specifically targeted to version 3

187 questions
0
votes
1 answer

emit signal to window

I have the following code fragments: win = new Gtk::Window; m_canvas = new Goocanvas::Canvas; sigc::connection conn_t1 = m_canvas->signal_event().connect( sigc::ptr_fun( &AnyEvent)); sigc::connection conn_t2 = win->signal_event().connect(…
Klaus
  • 24,205
  • 7
  • 58
  • 113
0
votes
1 answer

Socket server using gtkmm3

I'm trying to make a GUI that will connect to the network when the user presses a button. I am getting a compilation error when trying to compile the gui_ex.cpp file. gui_ex.cpp: In member function ‘void Gui_Ex::on_connect()’: gui_ex.cpp:110:19:…
nt387
  • 53
  • 2
  • 9
0
votes
1 answer

GtkMM Pass Char as Argument in Button Callback

There is a question similar to this but it does not answer my question. I am working on a GUI using GTKMM. I am trying to pass a single char in the callback of my button. This letter, is then assigned to the global variable letter. However, I don't…
NULL
  • 115
  • 8
-1
votes
1 answer

How to create a desktop icon on User's computer to run C++ program which contains Gtkmm and Opencv libraries?

I'm using Windows 10 OS and Code::blocks IDE. I want to provide an executable of my 'cpp' program to user, by double clicking on it the program should run. I got .exe file from code::blocks project. When I run .exe on User's pc it shows following…
-1
votes
2 answers

How to run a function in another thread in gtkmm?

I want to make a useful application with gtkmm/glade and I need to pass a simple Button-signal to another thread. But unfortunately, I don't know how to do this. I made a small piece of software for a better demonstration. which is a button and a…
Ali
  • 7
  • 5
-1
votes
2 answers

What's the fastest way to create menu programmatically in C++11/Gtkmm3?

What's the fastest way to create menu programmatically in C++11/Gtkmm3 without using glade? I'm looking for something easy like this: Gtk::MenuBar* menubar = ezmenubar.create( {"MenuBar1", "File.New", "File.Open", …
Bimo
  • 5,987
  • 2
  • 39
  • 61
-2
votes
2 answers

Why sources codes c++ in linux compile and does not start?

Source codes c++ gtkmm3 gtk4 linux: #include #include #include int main(int argc, char *argv[]) { auto app = Gtk::Application::create(argc, argv, "org.gtkmm.examples.base"); Gtk::Window window; …
aleks_yolp
  • 17
  • 3
1 2 3
12
13