Kai Szymanski escribió:
> Hi!
>
> As i search the web for a util-library that i can use in my c-programms,
> i found glib-2.0. So i decide to install it on my system (debian 4.0 -
> libglib-2.0 and libglib-2.0-dev). When i try to use it, i did'nt work.
> The Source (a simple test):
>
> -- Snip
> #i
Hello Alan,
> This is because C is case sensitive. Try "GString" instead of "gstring".
>
Oh...that's dimp from me...thanks a lot for your help...i think it's to
late for me ;)
Best regards,
Kai.
___
gtk-app-devel-list mailing list
gtk-app-devel-lis
On Tue, 26 Jun 2007 23:27:25 +0200 Kai Szymanski wrote:
>Hi!
>
>As i search the web for a util-library that i can use in my
>c-programms, i found glib-2.0. So i decide to install it on my system
>(debian 4.0 - libglib-2.0 and libglib-2.0-dev). When i try to use it,
>i did'nt work. The Source (a si
Hi!
As i search the web for a util-library that i can use in my c-programms,
i found glib-2.0. So i decide to install it on my system (debian 4.0 -
libglib-2.0 and libglib-2.0-dev). When i try to use it, i did'nt work.
The Source (a simple test):
-- Snip
#include
#include
void main(int argc,
On Tue, Jun 26, 2007 at 02:28:09PM -0600, Jim George wrote:
> > can't you just compare the
> > new allocation to the current one and do nothing when they
> > are equal?
>
> That doesn't work, they seem to always be equal. I'm comparing the
> allocation being passed to the alloc-event handler in th
> I do not follow this thread, but can't you just compare the
> new allocation to the current one and do nothing when they
> are equal?
That doesn't work, they seem to always be equal. I'm comparing the
allocation being passed to the alloc-event handler in the second
parameter and the allocation o
On Tue, Jun 26, 2007 at 11:28:48AM -0600, Jim George wrote:
>
> I'll take that back, the handler keeps getting called even if I block
> it before calling gtk_image_set_from_pixbuf. If I disconnect it, it
> doesn't get called again. Seems like the allocate-event occurs with
> some delay after gtk_i
Hi all,
I am trying to write a GTK/GNOME application. It has a main window with
GtkTreeView control on to which you can drag and drop files from
Nautilus.
The code I have used to set up the widgets is:
enum
{
TARGET_URI_LIST,
};
static GtkTargetEntry target_list [] = {{ "text/uri-list", 0,
T
On 6/26/07, Jim George <[EMAIL PROTECTED]> wrote:
> > >[...] caused an infinite loop, because I'm trying to
> > >do the following:
> > >
> > >gboolean solar_cal_pixbuf_resize(GtkWidget *widget, GtkAllocation
> > >*alloc, gpointer user_data)
> > >{
> > > GtkImage *img_widget = user_data;
> > > Gdk
Use this on your expose event callback.
gdk_window_begin_paint_rect(widget->window, & rect);
/* Draw something */
gdk_window_end_paint(widget->window);
And make sure that widget is double buffered (by default).
Look at gtk_widget_set_double_buffered function.
__
Hi,
For the purpose of my application, I need to programmatically
determine the actual 'exposed' region of a gdk window. The exposed
region should not include any obscured regions of the window. For
example, if there's some external window in front of my application's
window, then the exposed re
Emmanuele Bassi wrote:
> On Mon, 2007-06-25 at 15:04 +0200, Felipe wrote:
>> Hi,
>>
>> I want to remove the horizontal separators of a tree view, but the
>> corresponding property is read only[1]. I assume that this style
>> property can be changed in some way, but how?
>
> you can change the st
On Tue, Jun 26, 2007 at 02:10:51AM -0700, Suma H.S wrote:
> Does anyone know how to have text wrapping along with ellipsizing?
> I want to have text wrapped to three lines and have ellipsis in the last
> line if the text exceeds three lines.
>
> I have used GtkLabel and set the properties for both
On Tue, 2007-06-26 at 12:17 +0200, David Nečas (Yeti) wrote:
> On Tue, Jun 26, 2007 at 02:53:26PM +0530, Kumar Siddharth wrote:
> >
> > http://inti.sourceforge.net/tutorial/libinti/internationalization.html
>
> Ignore the inti parts there, though. I'd rather point to
>
> http://www.gnu.org/so
On Tue, Jun 26, 2007 at 02:53:26PM +0530, Kumar Siddharth wrote:
>
> http://inti.sourceforge.net/tutorial/libinti/internationalization.html
Ignore the inti parts there, though. I'd rather point to
http://www.gnu.org/software/gettext/manual/gettext.html
and after groking the basic concepts, l
Hi,
http://inti.sourceforge.net/tutorial/libinti/internationalization.html
Hope it helps.
Regards,
Siddharth
TATA Elxsi
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Suma H.S
Sent: Tuesday, June 26, 2007 2:48 PM
To: gtk-app-devel-list@gnome.org
Subject:
-Original Message-
From: Suma [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 26, 2007 2:14 AM
To: 'gtk-app-devel-list@gnome.org'
Subject:FW: Gtk with .po files
hi,
I have a Gtk Application which uses some strings.
I want to localize these strings.
I know it is to be don
Hello,
sorry for crosspostings, already asked this on the gtk-list
but I think this was wrong place.
I'm using a GtkTextBuffer with tags in my program and I would
like to know how I can get the content of the buffer *including*
the tags. I want to pass this string over to pango for rendering
beca
Hi!
I'm currently writing an application that needs to redraw a whole
GtkDrawingArea when new data arrives.
It needs to draw a certain number of boxes based on the incoming data.
The drawing area is updated maybe 100 times per second.
I'm using a GdkRGB buffer that I update when new data arrive
-Original Message-
From: Suma [mailto:[EMAIL PROTECTED]
Sent: Monday, June 25, 2007 11:39 PM
To: 'gtk-app-devel-list@gnome.org'
Subject:Text wrapping along with ellipsizing
hi,
Does anyone know how to have text wrapping along with ellipsizing?
I want to have text wrapped
20 matches
Mail list logo