Hi,
I have spent the last several days googling for info on GUI kits. So
far FLTK seems good. However I have learned the value of reference
counted pointers (and weak references) and cannot in good concience
write a very large intricate gui with new and delete operations
scattered all over the place. I thought that since boost::shared_ptr
has been out for so long, that there would be some gui exploiting it,
or other reference counted pointers. Seems I am mistaken. Well, I hope
that someone here can correct an oversight, and not confirm the bad
news. So basically, is there a GUI kit which does NOT use bald
pointers, is somewhat portable or, if it is platform specific, simple
enough to port in a few (long) days. I do not need fancy pants widgets
or a RAD gui designer, just something which can draw lines, rects,
text, and images, and dispatches events. If there is something
incomplete or abandoned, but provides the above essentials, I would be
glad to do a clean-up job and stabilize it myself.
- Jeremy J 5 1241
On 9 Feb 2006 10:11:27 -0800, "Jeremy Jurksztowicz"
<ju**********@gmail.com> wrote: I have spent the last several days googling for info on GUI kits. So far FLTK seems good. However I have learned the value of reference counted pointers (and weak references) and cannot in good concience write a very large intricate gui with new and delete operations scattered all over the place.
Only bad C++ programmers scatter new and delete statements all over
the place. Maybe you should first become acquainted with fundamental
C++ resource management idioms like RAII?
I thought that since boost::shared_ptr has been out for so long, that there would be some gui exploiting it, or other reference counted pointers. Seems I am mistaken.
Maybe shared_ptr is not as smart as some people think? Maybe merely
using 'smart' pointers doesn't make your code smart?
Well, I hope that someone here can correct an oversight, and not confirm the bad news. So basically, is there a GUI kit which does NOT use bald pointers, is somewhat portable or, if it is platform specific, simple enough to port in a few (long) days.
Perhaps http://smartwin.sourceforge.net/
I do not need fancy pants widgets or a RAD gui designer, just something which can draw lines, rects, text, and images, and dispatches events.
For a serious GUI you need a GUI designer.
If there is something incomplete or abandoned, but provides the above essentials, I would be glad to do a clean-up job and stabilize it myself.
You can find dozens of incomplete and abandoned GUI libraries on the
internet.
Regards,
Roland Pibinger
Jeremy Jurksztowicz wrote:
[...] news. So basically, is there a GUI kit which does NOT use bald pointers, is somewhat portable or, if it is platform specific, simple enough to port in a few (long) days. I do not need fancy pants widgets or a RAD gui designer, just something which can draw lines, rects, text, and images, and dispatches events. If there is something incomplete or abandoned, but provides the above essentials, I would be glad to do a clean-up job and stabilize it myself.
(IMO) C++ could really do with a standard GUI. Various reasons it
hasnt, mainly no-one has time to do it.
see http://tinyurl.com/75cb4 for recent discussion on this subject.
But there are several cross-platform GUI libraries about. Some listed
here: http://www.crystalclearsoftware.com/...ki.pl?BoostGUI
regards
Andy Little news. So basically, is there a GUI kit which does NOT use bald pointers, is somewhat portable or, if it is platform specific, simple
Ultimate++. http://upp.sf.net
However, it does not use "reference counted pointers";) I just does not
use pointers at interface level at all.
enough to port in a few (long) days. I do not need fancy pants widgets or a RAD gui designer,
It has them.
just something which can draw lines, rects, text, and images, and dispatches events.
Sure.
If there is something incomplete or abandoned, but provides the above essentials, I would be glad to do a clean-up job and stabilize it myself.
Sorry, Ultimate++ is neither incomplete or abandoned :)
Mirek
Wow, that was an extremely hostile response, thanks for insulting my
intelligence. You managed to insinuate I was a:
A) Bad programmer,
B) Ignorant of C++ programming fundamentals
C) Stupid
D) Incapable of searching the internet
And you arrogantly try to tell me my software requirements by stating I
must use a GUI designer. Troll.
Thanks to all who posted civilized responses.
-Jeremy Jurksztowicz
On 9 Feb 2006 20:11:21 -0800, "Jeremy Jurksztowicz"
<ju**********@gmail.com> wrote: Wow, that was an extremely hostile response, thanks for insulting my intelligence. You managed to insinuate I was a:
A) Bad programmer, B) Ignorant of C++ programming fundamentals C) Stupid D) Incapable of searching the internet
None of those things have I said in my posting! You read something
into my answer that has neither been intended nor written! Moreover,
I'm the only one so far who has provided a link to a GUI kit that
meets your requirements. Anyway, I promise not to bother you with an
answer any more.
Good luck This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Andrew |
last post by:
It seems that in C#, given an instance "a" of some value type "A", one can pass a by reference to functions with signatures of either "void f(object obj)" or "void g(ref A obj)". But passing a into...
|
by: Ori |
last post by:
Hi,
I have a simple question.
Let say that i have 3 functions as following
private main()
{
Object oTop = new Object();
}
|
by: Tee |
last post by:
Hi guys,
I am confused about the usage of "ref".
Please see this code:
private void button3_Click(object sender, System.EventArgs e)
{
|
by: Lenn |
last post by:
Hi,
Could someone clarify my confusion regarding passing reference types to a
method with ref keyword and explain when it's practical to use it.
It's my understanding that in .NET reference...
|
by: George |
last post by:
Hi,
Does anyone know how Control.Invoke can invoke a method which has ref
parameters?
For example,
class A {
public delegate MyFuncHandler(ref int i, ref int j);
|
by: ano |
last post by:
I received this error when I used "ref" in foreach statement.
Dictionary<string, object> oInterfaces;
foreach (clsInterface vinterface in oInterfaces.Values)
{
func1( ref vinterface );
}
...
|
by: semkaa |
last post by:
Can you explain why using ref keyword for passing parameters works
slower that passing parameters by values itself.
I wrote 2 examples to test it:
//using ref
static void Main(string args)
{...
|
by: DaTurk |
last post by:
Hi,
I'm coding a layer into my application using CLI, between a unmanaged
and a c# layer. So, I have to marshal some unmanaged c++ structures
to structures usable in c#.
My solution was to...
|
by: Arjen |
last post by:
Hi,
Form a performance perspective, is it wise to use the ref statement as much
as possible?
Thanks!
Arjen
|
by: .rhavin grobert |
last post by:
are there any pro's and con's in using references to shared_ptr<>'s ?
example:
__________________________________________________
void obj::foo(shared_ptr<>); vs. void...
|
by: DolphinDB |
last post by:
Tired of spending countless mintues downsampling your data? Look no further!
In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
|
by: isladogs |
last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM).
In this month's session, we are pleased to welcome back...
|
by: isladogs |
last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM).
In this month's session, we are pleased to welcome back...
|
by: PapaRatzi |
last post by:
Hello,
I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
|
by: Defcon1945 |
last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
|
by: Shællîpôpï 09 |
last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
|
by: af34tf |
last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
|
by: Faith0G |
last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome former...
| |