On Fri, 7 Sep 2007, Magnus Myrefors wrote:
> By the way I have found out that I used a way of reading lines
> from the input-file which can cause some problem. I read in a
> book that fgets(string, sizeof(string), input) should read one
> line up to sizeof(string) -1 or to the first newline- ch
On 9/11/07, Brian Hartman <[EMAIL PROTECTED]> wrote:
> Hi Everyone.
>
> I'm trying to write a simple program that changes a label when a button is
> clicked. The program compiles and runs, but there's no label change.
> Here's what I have in my callbacks.c:
>
> #ifdef HAVE_CONFIG_H
> # include
>
Hi Everyone.
I'm trying to write a simple program that changes a label when a button is
clicked. The program compiles and runs, but there's no label change.
Here's what I have in my callbacks.c:
#ifdef HAVE_CONFIG_H
# include
#endif
#include
#include "callbacks.h"
#include "interface.h"
#in
On Tue, Sep 11, 2007 at 01:15:09PM -0700, Tom Trebisky wrote:
> Following this thread, I decided it would be wise to avoid this kind
> of leak since my application uses hundreds of loaders to load
> hundreds of pixbufs, so I made my code look like:
>
> pixbuf_p = gdk_pixbuf_loader_get_pixb
On Tue, Sep 11, 2007 at 10:53:02PM +0200, Jonathan Winterflood wrote:
> As for adding a click to the reference count, if it works, would probably be
> the best way to go
Of course it works and it is recommended in
gdk_pixbuf_loader_get_pixbuf() documentation -- if anyone
bothered to read it...
Ye
You'd probably looking for a copy-constructor for the pixbuf for cloning...
Also, the pixel-copying would be handled by a single method
call on the pixbuf.
As for adding a click to the reference count, if it works, would probably be
the best way to go (I admit I don't quite understand the implicat
I have a combo render in a treeview and I can't get the callback to set
the value once it's selected. I want the combo to default to "Stock"
but be able to be changed to any of the other values in the itemtype
array. Below is the way the item type combo is being created and added
to the tree view
Hi,
You could clone the
pixbuf, or create a new one the same size and blit the content of the
soon-to-be recycled one into the new one before unref'ing the loader
Jonathan
On 9/11/07, Tom Trebisky <[EMAIL PROTECTED]> wrote:
>
> Following this thread, I decided it would be wise to avoid this kin
undefined
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
Following this thread, I decided it would be wise to avoid this kind
of leak since my application uses hundreds of loaders to load
hundreds of pixbufs, so I made my code look like:
pixbuf_p = gdk_pixbuf_loader_get_pixbuf(my_loader);
g_object_unref ( my_loader);
add_to_my_l
Thanks for the support.
For future reference in google or whatever: Pascal Rotate Text GTK2
renderer :=
gdk_pango_renderer_get_default( gtk_widget_get_screen(DevCtx.DCWidget) );
gdk_pango_renderer_set_drawable ( renderer, DevCtx.drawable);
gdk_pango_renderer_set_gc ( renderer,
On Tue, Sep 11, 2007 at 06:12:53PM +, Luis Ramirez wrote:
> I have a problem converting german ess-zet ("ß") from lower to uppercase
> when using g_unichar_toupper, but it works fine using g_utf8_strup.
> Using g_unichar_toupper I get a 0 as result.
You should not, both according to my reading
Hi
I have a problem converting german ess-zet ("ß") from lower to uppercase
when using g_unichar_toupper, but it works fine using g_utf8_strup.
Using g_unichar_toupper I get a 0 as result.
Here it is a sample. The output is:
g_unichar_toupper. Lower:'ß', Upper:''
g_utf8_strup. Lower:'ß', Upper:'S
I'm using a GtkEntryCompletion in popup-mode and controlling the list of
matches myself. I see that it displays up to 15 matches and if there are
more it adds a scroll bar to the popup window.
For my purposes it doesn't seem worthwhile to have a scroll bar. Is
there any way to control whether or w
Hi Yeti,
Thanks for your reply. It seems every widget could use this function to
enable the event bits, is this right? How could I find the default event
setting of every widget, which is enabled and which is disabled?
Best regard,
Eric Tsai
2007/9/11, David Nečas (Yeti) <[EMAIL PROTECTED]>:
>
On Tue, Sep 11, 2007 at 05:54:54PM +0800, MD Tsai wrote:
> Is it possible for a gtk widget to detect it is partial visible? For
> example, I can drag one window on another window. The covered window can be
> notified that it is partial visible?
>
> I've registered the "visibility-notify-event" but
I want to support printing in my application using GtkPrint.
Is there a simple way to print the contents of the GtkTextBuffer (containing
multiple fonts, colors and other formatting)
using the GtkPrint ?
Do I have to write the code that draws the text manually ?
Is there any complex sample code
Hi list,
Is it possible for a gtk widget to detect it is partial visible? For
example, I can drag one window on another window. The covered window can be
notified that it is partial visible?
I've registered the "visibility-notify-event" but never receive callback, I
would like to figure out in my
18 matches
Mail list logo