://en.wikipedia.org/wiki/Gtkmm
-- L. James
--
L. D. James
lja...@apollo3.com
www.apollo3.com/~ljames
___
gtkmm-list mailing list
gtkmm-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtkmm-list
);
// AND NOW
Gtk::Main::run(window);
return 0;
}
//--
//code end
-- L. James
--
L. D. James
lja...@apollo3.com
www.apollo3.com/~ljames
___
gtkmm-list mailing list
gtkmm-list@gnome.org
https
. James
--
L. D. James
lja...@apollo3.com
www.apollo3.com/~ljames
___
gtkmm-list mailing list
gtkmm-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtkmm-list
--
L. D. James
lja...@apollo3.com
www.apollo3.com/~ljames
On Wed, 2013-07-31 at 22:37 +1200, Ian Martin wrote:
Hi,
On review, you're using Gtk::Main::run(), which is in the process of
getting deprecated, and probably shouldn't be used in new code unless
you're working with a gtkmm version 3.0
looking for that
perspective.
Once user sent a private message telling me what I'm trying to do is
extremely complicated.
-- L. James
--
L. D. James
lja...@apollo3.com
www.apollo3.com/~ljames
Being so new to this very unique way of interfacing with a gui window, I
don't know which details
out for me.
-- L. James
- -
L. D. James
lja...@apollo3.com
www.apollo3.com/~ljames
On Wed, 2013-07-31 at 08:13 -0700, Alan Mazer wrote:
As I understand it, you just want a window that display the progress
of a computation in ASCII readable text.
Here's how I would approach it.
1. Write
. James
lja...@apollo3.com
www.apollo3.com/~ljames
On Wed, 2013-07-31 at 10:15 -0700, Alan Mazer wrote:
On 7/31/2013 9:24 AM, L. D. James wrote:
Java is very easy. The Window and Frame is up and has a buffer.
All you have to do is just append or change the buffer. The window
will always
set to the gui window. endl;
Gtk::Main::run(mylabel);
return 0;
}
// code end
I tried to cleanup my code before posting it. Of course it's still
sloppy.
The Window comes up, but so far, no text in it.
-- L. James
--
L. D. James
lja...@apollo3.com
www.apollo3.com/~ljames
On Wed
for me to figure out how to remove all
the buttons, show a text screen and where to place my function.
-- L. James
--
L. D. James
lja...@apollo3.com
www.apollo3.com/~ljames
On Thu, 2013-08-01 at 02:27 +0200, Jonas Platte wrote:
You're problem is that your myLabel class isn't a label
) should clearly show exactly what I'm trying to do. The
sleep function isn't sleep in my code. It's a function to go out and
work and it take about an hour to complete.
-- L. James
--
L. D. James
lja...@apollo3.com
www.apollo3.com/~ljames
On Thu, 2013-08-01 at 15:43 +0200, Jonas Platte wrote:
I
suggestions and code examples for gtkmm into study
for how to use gtkmm but as for as my Java example, I don't think
those few lines violate any standard.
Variations of those two lines are repeated countless times with the Java
experts giving support.
-- L. James
--
L. D. James
lja...@apollo3.com
to text already displayed without the user having to sit at the console
and click a button every time they want the program to continue.
I'll comment again after I have studied the link you provided.
Thanks!
-- L. James
--
L. D. James
lja...@apollo3.com
www.apollo3.com/~ljames
On Fri, 2013-08-02
is described clear.
-- L. James
--
L. D. James
lja...@apollo3.com
www.apollo3.com/~ljames
On Fri, 2013-08-02 at 11:28 +0200, Murray Cumming wrote:
Sorry, I'm not interested in being in a big email thread with such
verbose responses. If you have specific problems with specific actual
code, I'm sure
;
// Gtk::Main::run(mylabel);
return app-run(mylabel);
// return 0;
}
// ---
// c++ code end
-- L. James
--
L. D. James
lja...@apollo3.com
www.apollo3.com/~ljames
On Wed, 2013-07-31 at 16:49 -0700, Alan Mazer wrote:
Okay
another process that is generating output... endl;
}
int main(int argc, char* argv[])
{
Gtk::Main kit(argc, argv);
myLabel mylabel;
Gtk::Main::run(mylabel);
return 0;
}
// ---
// code end
-- L. James
--
L. D. James
lja...@apollo3.com
of which will help
me to optimize my years of crude programs that I already use.
I'm glad that you can see progress and report that we're nearing it.
Enjoy your weekend!
-- L. James
--
L. D. James
lja...@apollo3.com
www.apollo3.com/~ljames
On Sat, 2013-08-03 at 15:00 +, Mazer, Alan S (389M
;
exit(1);
}
Gtk::Main kit(argc, argv);
myLabel mylabel;
Gtk::Main::run(mylabel);
return 0;
}
// ---
// c++ code end
-- L. James
--
L. D. James
lja...@apollo3.com
www.apollo3.com/~ljames
:=
CC_DEPS :=
CPP_DEPS :=
EXECUTABLES :=
CXX_DEPS :=
C_UPPER_DEPS :=
# Every subdirectory with source files must be described here
SUBDIRS := \
src \
// -
// Code end
-- L. James
--
L. D. James
lja...@apollo3.com
www.apollo3.com/~ljames
On 08
Thanks, Moh. That resolved the error issue. As far as I can see, it's
functioning perfect!
I'll have some questions on Threading. But I'll reserve this for a new
topic.
-- L. James
--
L. D. James
lja...@apollo3.com
www.apollo3.com/~ljames
On Mon, 2013-08-05 at 22:07 +0100, Moh B. wrote
that would output to the gui window similar to a cout outputting to
the console.
Since I have this current working model to be able to update the gui
window, I can use it in my current applications, while continuing to
study on the side how to make my gprint() function.
-- L. James
--
L. D. James
Thanks, Alan. I understand those lines better with your explanation.
I'm able to strip the example down by 5 lines.
-- L. James
--
L. D. James
lja...@apollo3.com
www.apollo3.com/~ljames
On 08/06/2013 10:29 AM, Alan Mazer wrote:
Just, as we mentioned yesterday, put a ! before the
Glib
asking questions... not
bugs.
Some of my questions might possibly serve some benefit that might help
other novice that are intimated in asking questions, but might also be
stuck.
-- L. James
--
L. D. James
lja...@apollo3.com
www.apollo3.com/~ljames
On Wed, 2013-08-07 at 10:29 +0200, Kjell Ahlstedt
I'd have a grip, where everything
else in the documentation will become clearer.
Thanks for allowing me to use this maillist resource for my question.
-- L. James
--
L. D. James
lja...@apollo3.com
www.apollo3.com/~ljames
___
gtkmm-list mailing list
--
L. D. James
lja...@apollo3.com
www.apollo3.com/~ljames
On Fri, 2013-08-09 at 23:13 -0700, Andrew Potter wrote:
Mr. James,
This reply has 3 examples. The last time I sent you a complete
solution you never indicated how it was insufficient, so please be
sure read this entire message
be a cinch to understand.
Thanks!
-- L. James
--
L. D. James
lja...@apollo3.com
www.apollo3.com/~ljames
___
gtkmm-list mailing list
gtkmm-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtkmm-list
[]) {
Example example(argc, argv);
example.run();
return 0;
}
//
--
// code end
-- L. James
--
L. D. James
lja...@apollo3.com
www.apollo3.com/~ljames
to sound ungrateful with my reply, but I'm hoping that I'm
clarifying what I'm trying to do, and that it does have some merit.
-- L. James
--
L. D. James
lja...@apollo3.com
www.apollo3.com/~ljames
On Sat, 2013-08-10 at 13:54 +0100, Chris Vine wrote:
On Sat, 10 Aug 2013 05:43:42 -0400
L. D
it
just by looking at it, or, on your own, comment out the parts that makes
changes.
Thanks!
-- L. James
--
L. D. James
lja...@apollo3.com
www.apollo3.com/~ljames
___
gtkmm-list mailing list
gtkmm-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtkmm
[512];
if (!(in = popen(c.c_str(), r))){
return lret;
}
while (fgets(buff, sizeof(buff), in) != NULL){
lret += buff;
}
pclose(in);
return lret;
}
// -
// code end
-- L. James
--
L. D. James
lja
++ wrapper to call the Java program. But now,
I'm trying to do it all in C++ with gtkmm.
Once I develop the gprint() function, I'm sure this will totally make
things clear. I'm sure that many will find it a convenient resource.
-- L. James
--
L. D. James
lja...@apollo3.com
www.apollo3.com
text to a window, you're
suggesting that I dive figure and use gtkmm for my other calls. I might
get to that at some time. But at present, I just want to use gtkmm to
output to a gui screen instead of a black screen.
-- L. James
--
L. D. James
lja...@apollo3.com
www.apollo3.com/~ljames
. I have it in
place, but it's not clean enough to post it for comments yet.
-- L. James
--
L. D. James
lja...@apollo3.com
www.apollo3.com/~ljames
On Sun, 2013-08-11 at 01:20 +0100, Chris Vine wrote:
On Sat, 10 Aug 2013 19:41:33 -0400
L. D. James lja...@apollo3.com wrote:
[snip]
While I'm
question
serious enough to consider adding a chapter to the well organized
documentation, and for taking the time to explain the problems with my
questions and current position, so that I can attempt to clarify the
parts you might misunderstand.
-- L. James
--
L. D. James
lja...@apollo3.com
believe I'm
getting there!
Of course your reference to where to put my code
ExampleWorker::do_worker() clears up a lot.
Thanks!
-- L. James
--
L. D. James
lja...@apollo3.com
www.apollo3.com/~ljames
___
gtkmm-list mailing list
gtkmm-list@gnome.org
https
On 08/11/2013 09:54 AM, Chris Vine wrote:
On Sun, 11 Aug 2013 08:33:18 -0400
L. D. James lja...@apollo3.com wrote:
[snip]
I appreciate all the tips from all the experts here. However, I can
tell from many of the comments that a lot of you are thinking I'm
trying to do something different
;
// // }
// --
// code end
-- L. James
--
L. D. James
lja...@apollo3.com
www.apollo3.com/~ljames
___
gtkmm-list mailing list
gtkmm-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtkmm-list
understand, and continue to work at the
same time, and share what I have come up with at this point, based on
taking in everything that is being presented. I can't use the parts
that I don't understand. I won't stop studying, as you have suggested.
-- L. James
--
L. D. James
lja...@apollo3.com
On 08/12/2013 12:55 AM, Gavin Lambert wrote:
Quoth L. D. James:
Thanks Gavin I'm glad that your message suggests that I may have done
something right. I have tried. I appreciate your pointing out about
bugs in gtkmm. I'm sure with my investigation I'll eventually learn
about the bugs
-run(helloworld);
}
//
// Code End
-- L. James
--
L. D. James
lja...@apollo3.com
www.apollo3.com/~ljames
___
gtkmm-list mailing list
gtkmm-list@gnome.org
https://mail.gnome.org/mailman/listinfo
.
Again, I believe the current question is answered with the last code I
posted, unless you see a problem with it. After I have a good clean
example of my attempt to create the gprint() class or function, I'll
post that and ask for help.
-- L. James
--
L. D. James
lja...@apollo3.com
the functionality. But so far all the technical suggestions that
I'm getting appears to actually already be implemented in the 47 lines
of code that I published.
-- L. James
--
L. D. James
lja...@apollo3.com
www.apollo3.com/~ljames
___
gtkmm-list mailing list
see
from those links what specific I should change and still have the code
function as desired.
-- L. James
--
L. D. James
lja...@apollo3.com
www.apollo3.com/~ljames
I can't say I fully understand it.
Do you like a different description about GUI architectures?
http://martinfowler.com
to send the same text to a graphical window.
My clients has no problems reading that screen and relating to me what
they see.
-- L. James
--
L. D. James
lja...@apollo3.com
www.apollo3.com/~ljames
___
gtkmm-list mailing list
gtkmm-list@gnome.org
https
!
-- L. James
--
L. D. James
lja...@apollo3.com
www.apollo3.com/~ljames
___
gtkmm-list mailing list
gtkmm-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtkmm-list
with it to make it append the text rather than
replace the text displayed.
I really appreciate your taking the time to understand the question.
-- L. James
--
L. D. James
lja...@apollo3.com
www.apollo3.com/~ljames
___
gtkmm-list mailing list
gtkmm-list
perfectly and making changes would brake it.
Again, I'd gladly test any lines that you post and tell you if the code
still works.
-- L. James
--
L. D. James
lja...@apollo3.com
www.apollo3.com/~ljames
___
gtkmm-list mailing list
gtkmm-list@gnome.org
grip for
starting. If they are able to look at the simplest, understand it, and
possibly be able to recreate it from memory they may have a better
grip. That's the way it works in my case.
Thanks again for all the suggestions!
-- L. James
--
L. D. James
lja...@apollo3.com
www.apollo3.com
it and tell you if it's works.
Thanks!
-- L. James
--
L. D. James
lja...@apollo3.com
www.apollo3.com/~ljames
___
gtkmm-list mailing list
gtkmm-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtkmm-list
be easily tested. If I develop a glitch, I'll study
it and try to figure out how to fix it. But at present, I'm just stuck
with using what actually works at this time.
-- L. James
--
L. D. James
lja...@apollo3.com
www.apollo3.com/~ljames
___
gtkmm
/Contributing).
From my reading and the standards described I see it takes a lot of
dedication. I appreciate the patience the community is showing with
me. I hope to give back to the community with my dedication by
following all the provided steps.
Thanks!
-- L. James
--
L. D. James
lja
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
51 matches
Mail list logo