I am using Gtkmm and would like to pragmatically fire an event (say like a
click event), which simulates the on_button_click event. How am I supposed
to do that.
That is, when execution reach a particular method in my application, the
manual event should get fired.
Any help is greatly appreciated.
HelloWorld::HelloWorld() : m_textview() {
add(m_textview);
m_textview.show();
Glib::Thread::create(sigc::mem_fun(*this, HelloWorld::cpp_app),
true);
}
[...]
void HelloWorld::cpp_app() {
string texttoprint = ;
Glib::RefPtrGtk::TextBuffer m_refTextBuffer;
I'm sure I can add a lot of highlights and decorations now. But I
can't emphasis how important I consider having the rawest and most
basic (blank) slate to begin with.
The absolute only thing that matters at this point is for me to
actually be able to have a gui window and update it with
On 08/20/2013 04:44 AM, Markus Elfring wrote:
HelloWorld::HelloWorld() : m_textview() {
add(m_textview);
m_textview.show();
Glib::Thread::create(sigc::mem_fun(*this, HelloWorld::cpp_app),
true);
}
[...]
void HelloWorld::cpp_app() {
string texttoprint = ;
On 08/20/2013 06:42 AM, Markus Elfring wrote:
I'm sure I can add a lot of highlights and decorations now. But I
can't emphasis how important I consider having the rawest and most
basic (blank) slate to begin with.
The absolute only thing that matters at this point is for me to
actually be
Not to be condescending but you should try searching for your problem first.
Just invoke the signal_on_clicked() result directly. If you need a better
result, try searching through the docs for button.
Kevin
On 2013-08-20 4:09 AM, sourav nordic_ku...@yahoo.co.in wrote:
I am using Gtkmm and
Most events have additional methods to trigger them, for Gtk::Button
this is clicked().
But why do you want to do that?
Am 20.08.2013 10:09, schrieb sourav:
I am using Gtkmm and would like to pragmatically fire an event (say like a
click event), which simulates the on_button_click event. How
My memory failed me. This is what I was trying to remember.
On 2013-08-20 8:20 AM, Jonas Platte jonaspla...@myopera.com wrote:
Most events have additional methods to trigger them, for Gtk::Button this
is clicked().
But why do you want to do that?
Am 20.08.2013 10:09, schrieb sourav:
I am
On 08/19/2013 07:07 PM, Andrew Potter wrote:
Adding these methods to the Example class show how you can use a local
helper function. The downside is you having an extra method lying
around and remembering to use the right one in the right context; in
C++11 you could get rid of
I'm pretty sure this is NOT thread safe. You generally need a dispatcher for
that in from. I would expect lockups without a dispatcher.
Sent from my Android phone using TouchDown (www.nitrodesk.com)
-Original Message-
From: Markus Elfring [markus.elfr...@web.de]
Received: Tuesday, 20
The only difference is Alan's submission uses the label widget and the
one you're quoting above uses textview. I could be wrong and you
might see something else subtle that I'm missing.
Do you understand the involved consequences from the software technique
multi-threading?
Regards,
On 08/20/2013 09:33 AM, Markus Elfring wrote:
The only difference is Alan's submission uses the label widget and
the one you're quoting above uses textview. I could be wrong and you
might see something else subtle that I'm missing.
Do you understand the involved consequences from the
But after getting the label widget changed to a textview widget and
having the code actually work, the task was done.
I got the impression that there are still some open issues remaining.
It's common for a new user to an environment to want to see something
very clear... to print a
On 08/20/2013 10:00 AM, Markus Elfring wrote:
But after getting the label widget changed to a textview widget and
having the code actually work, the task was done.
I got the impression that there are still some open issues remaining.
It's common for a new user to an environment to want to
There aren't any significantly open issues. The code presented by
Alan works perfectly.
Would you like to show a specific source code version which was accepted
for your execution environment?
Regards,
Markus
___
gtkmm-list mailing list
ONE MORE TIME.
I have clicked on unsubscribed and you keep sending these emails. Let's not get
annoying here. I don't want to get nasty, OK?
-Original Message-
From: gtkmm-list [mailto:gtkmm-list-boun...@gnome.org] On Behalf Of L. D. James
Sent: Tuesday, August 20, 2013 10:58 AM
To:
Quoth L. D. James:
And, No. There aren't any significantly open issues. The code
presented by Alan works perfectly. It has already been in production
with my clients for over a week without a glitch.
Several people (including myself) have tried to tell you that the code you
have posted here
Quoth Incongruous:
ONE MORE TIME.
I have clicked on unsubscribed and you keep sending these emails. Let's
not get annoying here. I don't want to get nasty, OK?
Posting messages here is not going to help anything, nor would getting
nasty.
It is an automated system. If you are still receiving
On 08/20/2013 08:51 PM, Gavin Lambert wrote:
Quoth L. D. James:
And, No. There aren't any significantly open issues. The code
presented by Alan works perfectly. It has already been in production
with my clients for over a week without a glitch.
Several people (including myself) have tried
I missed the list in my last reply, so I'm copying it here for the record.
In addition to using a cancelable I changed CallbackDispatcher to use a
recursive mutex so gui_print can be called from the main thread as well.
While providing such an in depth example to L. James maybe goes against the
Israel is a terrorist state
http://www.youtube.com/watch?v=noln8nx43Sk
From: gtkmm-list [mailto:gtkmm-list-boun...@gnome.org] On Behalf Of Andrew
Potter
Sent: Tuesday, August 20, 2013 9:46 PM
To: gtkmm-list@gnome.org
Subject: Fwd: Re: What is the minimum number of lines to update a gui
Iran is not a terrorist country, Israel is.
http://www.youtube.com/watch?v=KLSlmLx4Fls
-Original Message-
From: gtkmm-list [mailto:gtkmm-list-boun...@gnome.org] On Behalf Of L. D. James
Sent: Tuesday, August 20, 2013 9:09 PM
To: Gavin Lambert
Cc: gtkmm-list@gnome.org
Subject: Re: What is
This is why we must not believe these people, terror specialist deliverer.
http://www.youtube.com/watch?v=b4LDQixpCa8
-Original Message-
From: gtkmm-list [mailto:gtkmm-list-boun...@gnome.org] On Behalf Of L. D. James
Sent: Tuesday, August 20, 2013 9:09 PM
To: Gavin Lambert
Cc:
http://www.youtube.com/watch?v=ZLsrTsITEc4
-Original Message-
From: Gavin Lambert [mailto:gav...@compacsort.com]
Sent: Tuesday, August 20, 2013 8:55 PM
To: 'Incongruous'
Cc: gtkmm-list@gnome.org
Subject: RE: ONE MORE TIME.
Quoth Incongruous:
ONE MORE TIME.
I have clicked on
24 matches
Mail list logo