There is a very handy program called gtk-demo which contains many demo
programs complete with source code. gtk3-demo is for GTK3. They're in
the gtk2.0-examples and gtk-3-examples packages on Ubuntu. Check, for
instance, Dialog and Message Boxes in the do_dialog() function. You
can double-click
I don't really understand what max-width-chars would be useful for.
Can't you set a natural size for a widget instead of a natural max
char width? If I want to ellipsize it won't do me any good if
... is the same as
I can see there is gtk_set_size_request for setting minimum width,
On Thu, Feb 17, 2011 at 9:11 PM, Craig Bakalian
craigbakal...@verizon.net wrote:
Hi David and KC,
The glib/gstdio.h did the trick. But it is odd behavior.
#include stdio.h was already in my includes.
Then g_remove must be a macro for a function in glib/gstdio.h, not stdio.h.
Because malloc() implementations generally kept a linear linked list of
free space, and traversed the list on a free() in case they found
adjacent memory areas to the one you were freeing, which they could join
together and make into a single larger area.
I'm sorry, I now understand what you
The basic idea that one must understand about programming is that of
paradigms and concepts. They are really stressed for C++ and higher
level stuff (scripting languages notwithstanding ofcourse). But if
you're gonna use C you're gonna write paradigms and concepts that
you'll really have to be
To describe the standard mechanism of garbage collection as a boneheaded
idea shows a total lack of awareness of first year Computer Science course
principles. That garbage collection has been refined and highly optimised
over the years is true; however it is a very necessary thing with
but aside from that it's a pure waste of CPU cycles.
I hate to throw fuel in the fire but this is just absurd!
How complex is freeing 200 pointers? O(1)?
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
There is already gtk_init(). It's only logical it should have a counterpart.
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
How times have changed:
http://www.folklore.org/StoryView.py?story=Were_Not_Hackers!.txt
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
Some people really don't get this but it's a fact that people like to
work with a Bill Atkinson. Not so much with hackers (if you read the
above link).
Childish? Maybe. Just hope some people get my point.
___
gtk-app-devel-list mailing list
So it's better to use suppresion with Valgrind then to add a
gtk_cleanup() counterpart to gtk_init()?
It's better to print something to the display and then put electrical
tape over it?
Tip: (regarding whether or not that link is relevant) Intelligence
means analogy. Being able to make
I'm not saying this is really important and it should be done soon.
I'm merely stating that the value of having gtk_cleanup() would be
greater than zero. That is, regardless of how much trouble it would be
for someone to write, if it would end up in the codebase it's value
would be greater than
My analogy had nothing to do with memory use. It had something to do
with code beauty which was all that Bill Atkinson was about. It was
all that article was about. You got it exactly the other way around.
Efficient use of memory at the expense of ugliness was the thing to
avoid in that article.
Would GtkIconView be suitable?
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
Hello,
I've noticed that GtkComboBoxEntry default height is 2 pixels taller
than GtkEntry.
Also, GtkComboBox is 2 pixels taller then GtkComboBoxEntry (4 pixels
taller than GtkEntry).
GtkButton is, by default, the same height as GtkComboBoxEntry.
I would like to make all these the same height
15 matches
Mail list logo