On 9/9/06, dagang001 [EMAIL PROTECTED] wrote:
for ( i=0 ;i4 ;i++)
{
Person *fred = g_new(Person, 1);
/**/
fred-name = ming[i];
fred-shoe_size = i+10;
fred-age=60+i;
list = g_list_append(list,
On Mon, Sep 11, 2006 at 10:51:17AM +0530, shibu Alampatta wrote:
I'm using a combo box, code is given below
char a[15];
strcpy(a,AAA);
glist_append(glist,a);
It reports
Pango Warning**: Invalid UTF-8 string passed to pango_layout_set_text()
The posted code does not print this
On 9/11/06, David Nečas (Yeti) [EMAIL PROTECTED] wrote:
On Mon, Sep 11, 2006 at 10:51:17AM +0530, shibu Alampatta wrote:
I'm using a combo box, code is given below
char a[15];
strcpy(a,AAA);
glist_append(glist,a);
It reports
Pango Warning**: Invalid UTF-8 string passed to
i'm using a combo box and on selection of a particular item from the drop
down list i need to do some processing depending on the selection. which
signal i need to use for this purpose, i tried with selection_get signal .
it's not working. pls help me.
Thks in advance
Shibu
I would try the changed signal of GtkComboBox:
http://developer.gnome.org/doc/API/2.0/gtk/GtkComboBox.html#GtkComboBox-changed
- Original Message
From: shibu Alampatta [EMAIL PROTECTED]
To: gtk-app-devel-list@gnome.org
Sent: Monday, September 11, 2006 7:27:56 AM
Subject: combo box
i'm
One approach could be to have a GTK thread that handles all other
thread's GTK calls, like an
X Server. Not trivial but you could isolate the choice for commands
that you'll serve.
Chris
Tor Lillqvist wrote:
Tomasz Jankowski writes:
Now I want to know, what I can do with widgets created in
Hello,
I am trying to build GTK on Mac OS X (intel) using the build-gtk.sh
build script available on
http://developer.imendio.com/projects/gtk-macosx/build-instructions
I am getting following errors while building GTK:
gcc ${wl}-flat_namespace ${wl}-undefined ${wl}suppress -o .libs/im-
Have you checked for this symbol using /otool/? Use /lipo /to make sure
it was built as either an i386 or universal library. Also you may want
to be sure that the library was compiled as a flat namespace, those
switches are in your /gcc /man pages.
For those who may see this problemand are
This example code does it. You may want to make some changes, but it works.
#include stdio.h
#include gtk/gtk.h
GtkTextTag *tag1;
static void print_coords(GtkWidget *w, int x, int y) {
gint bx,by;
GtkTextIter iter;
gint trail;
The following code works:
// GtkTextView *tv;
g_signal_connect(G_OBJECT(tv),button-press-event,G_CALLBACK(click_link),NULL
);
However, I'm writing gtk2 bindings for pike, and use the following:
// signal_connect function for pike language binding
// blah blah
GClosure
hi,
yes, using the GstController is the way to go. Initially you will record
a series of timed value changes. The GstController manages this queue
for you. If you hook these changes onto e.g. a GstVOlume element, you
can then listen to the notify::volume of it and from the handler set
the value
Hi,
Matias Torres wrote:
Hi all,
I'm working on some simple app which only use gtk and sqlite libraries
and i KNOW it's leaking memory.
Would you please help me? (damn beatles!, i shouldn't be listening music
when writing a mail!)
*- Is there a way to pass a function to free certain
Reference counting for tree models doesn't behave the same way as for
contained components. The tree view adds an additional
reference to the model, so in your case your model is never destroyed as
the ref count is 2.
Try invoking:
g_object_unref(model) after you add it to the view.
My source
Hi pals,
Are there any known recomendations about GLists and the g_list_next()
macro? I found no remarks in the official documentation until I got
problems with constructions like this...
element = g_list_first (member-names);
while (element) {
...
On Tue, Sep 12, 2006 at 12:15:13AM -0300, Fabricio Rocha wrote:
element = g_list_first (member-names);
while (element) {
...
element = g_list_next (member-names);
}
... which led the program to an infinite loop because element would
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Tue, Sep 12, 2006 at 12:15:13AM -0300, Fabricio Rocha wrote:
Hi pals,
Are there any known recomendations about GLists and the g_list_next()
macro? I found no remarks in the official documentation until I got
problems with
Havoc Pennington wrote:
Soeren Sandmann wrote:
Yevgen Muntyan [EMAIL PROTECTED] writes:
Much more people would make use of simple things like draw a
rectangle and drag it around if it wasn't so hard.
The draw a rectangle and drag it around use-case is somewhat
misleading; it applies
Tristan Van Berkom wrote:
I just dont think we should dive right into writing up a GtkRocketShip or
a GtkFlashScene without having paved the way with a simple GtkCanvas that
is usefull to everybody first - rocket ships and geckos might also be
considered as unneeded bloat to gtk+, and could
On Sat, 2006-09-09 at 21:43 -0500, Yevgen Muntyan wrote:
Soeren Sandmann wrote:
Yevgen Muntyan [EMAIL PROTECTED] writes:
Much more people would make use of simple things like draw a
rectangle and drag it around if it wasn't so hard.
But applications generally need to do
Havoc Pennington wrote:
e.g. the HippoCanvas I wrote in 3 days lacks some stuff (i.e. I didn't
bother to support events other than button press), but it's already more
useful than GnomeCanvas because it supports layout (width-for-height
layout even). I'm sure the other more serious existing
20 matches
Mail list logo