hi everyone,
I have a GtkTextView to display the data in the buffer *buffer.
The buffer i received from a socket consists of English and Chinese
Characters.
How to display this Characters one by one using the API :
gtk_text_buffer_insert()?
___
gtk-
Hello!!
I'm trying to add a hand1_cursor into my canvas window, with this code:
int main()
{
GtkWidget *window;
GtkWidget *vbox1;
GtkWidget *scrollw1;
GtkWidget *canvas;
GtkWidget *event_box;
GtkPlotCanvasChild *child;
GdkColor color;
gint page_width, page_height;
gfloat scal
Hello!
I think I found a bug and want to make sure it is not in my code (FAQ).
This is SIGSEGV in GtkIconView, recreated on all GTK versions I found:
libgtk2.0-0=2.8.20-3, libgtk2.0-0=2.10.7-1 on Debian and even
gtk+-2.8.20.zip for Windows.
It crashes when I select icons with rubberband while t
Hello!!
i need to know a bit more about this function,and i didn't find manuals...
can you tell ma about an example which uses this function??
thanks a lot!!
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailm
I frequently have the need for GtkToggleButtons that emit a
"toggled"-signal but do not switch state. The signal handler then should
send a toggle request to a server via network. After receiving a
confirmation from the server, I wish to toggle the button from code. I
have not found a way to do
hi,
I need to do a hack :( I once submitted this together with a pack, but its not
beeing accepted.
http://bugzilla.gnome.org/show_bug.cgi?id=338271
Now I try to do a workaround for my use case. I am already able to get the
events the button inside the treeview header got. I now I want the childr
I'm trying to write a simple program that draws a moving polygon on the
screen. I started with the scribble-simple example and modified to draw the
moving shape by redrawing the shape in the background color in the previous
position first then drawing it in the foreground color in the current
posit
On Fri, 2007-02-02 at 12:20 -0700, Rob Barnes wrote:
> I'm trying to write a simple program that draws a moving polygon on the
> screen. I started with the scribble-simple example and modified to draw the
> moving shape by redrawing the shape in the background color in the previous
> position first
On Fri, Feb 02, 2007 at 07:30:24PM +0100, [EMAIL PROTECTED] wrote:
> I frequently have the need for GtkToggleButtons that emit a
> "toggled"-signal but do not switch state. The signal handler then should
> send a toggle request to a server via network. After receiving a
> confirmation from the s
I am using gtk_widget_queue_draw() already. The doc says,"Once the main loop
becomes idle (after the current batch of events has been processed,
roughly), the window will receive expose events for the union of all regions
that have been invalidated.", but this does not seem to be happening.
Placing
On Fri, 2007-02-02 at 16:02 -0700, Rob Barnes wrote:
> I am using gtk_widget_queue_draw() already. The doc says,"Once the main loop
> becomes idle (after the current batch of events has been processed,
> roughly), the window will receive expose events for the union of all regions
> that have been i
You were exactly right. Adding gtk thread support and gdk_flush() fixed it.
On 2/2/07, Michael L Torrie <[EMAIL PROTECTED]> wrote:
>
> On Fri, 2007-02-02 at 16:02 -0700, Rob Barnes wrote:
> > I am using gtk_widget_queue_draw() already. The doc says,"Once the main
> loop
> > becomes idle (after th
On Fri, 2007-02-02 at 18:01 -0700, Rob Barnes wrote:
> It seems to work fine without using g_idle and just using
> gdk_threads_enter()/gdk_threads_leave(). What do I gain from using g_idle?
Well you gain simplicity, and you can avoid the gdk locking stuff. Also
on some platforms, particularly win
hello,
I used gtk+-2.10.6 to compile gtk-directfb:
./configure --prefix=/usr --with-gdktarget=directfb --without-x
make
then, it failed like this:
/bin/sh ../libtool --mode=link gcc -DG_DISABLE_DEPRECATED -g -O2 -Wall
-o gtk-query-immodules-2.0 queryimmodules.o
libgtk-directfb-2.0.la ../gdk-p
Hi guys,
The docs:
http://developer.gnome.org/doc/API/2.0/glib/glib-I18N.html
state that
N_()
Marks a string for translation, gets replaced with the untranslated
string at runtime. This is useful in situations where the translated
strings can't be directly used, e.g. in string array initializers.
15 matches
Mail list logo