Hello.
There are two kinds of widgets when it comes to adding them in
scrolled window: those that support scrolling natively and those who
don't.
Widgets with native scrolling ability are only four: GtkTextView,
GtkTreeView, GtkIconView and GtkViewport. Those widgets should be
added to scrolled w
Hello,
I am using gdk-pixbuf and have a problem that is:
Hello,
I am using gdk-pixbuf-0.22 and have a problem:
How can I update the pixbuf raw data?
There Is a pixbuf constructed from an Image file, I
want to change raw data behind It and upload new data back to pixbuf. I
am using the "gd
Hello all,
I set a timer that calls gtk_window_move on a popup window(*1). while the
popup window is moving I move the main application window.
This leads to immediate processing of WM_WINDOWPOSCHANGED message, which in
turn calls g_main_context_iteration
during that iteration, additional call to t
I'm trying to use a Scrolled Window in my application, but without
success. Using a TextView as the child widget works, but for any
other child widget I get the following error when I run the program:
scrolled-win.py:17: GtkWarning: gtk_scrolled_window_add(): cannot add
non scrollable widget use
On Fri, 2009-05-15 at 19:12 +0300, Paul Pogonyshev wrote:
> Richard Shann wrote:
> > Does anyone know if the gio library is working for getting files from
> > the internet in the latest Debian Lenny distribution, x86?
>
> You probably need GVFS package. GIO itself doesn't contain any
> implementa
Dear Andrey,
Thanks alot for your guidance, but when i change the buffer data, image header
is also changed, and when using "gdk_pixbuf_loader_write", an error of
"unrecognized image file format" will be arised, this is because that the image
format is important for the loader.
is it any way
Richard Shann wrote:
> Does anyone know if the gio library is working for getting files from
> the internet in the latest Debian Lenny distribution, x86?
You probably need GVFS package. GIO itself doesn't contain any
implementations for remote access, only interfaces and local access,
AFAIK.
Pau
Hello, Zahra.
You can use GdkPixbufLoader for retrieve pixbuf from raw data.
Code example:
GdkPixbufLoader *loader = gdk_pixbuf_loader_new();
gdk_pixbuf_loader_write(loader, buffer, buffer_size, NULL);
gdk_pixbuf_loader_close(loader, NULL);
GdkPixbuf* pixbuf =
gdk_pixbuf_copy(gdk_pixbuf_loade
Does anyone know if the gio library is working for getting files from
the internet in the latest Debian Lenny distribution, x86?
I have tried the following code:
GError *err = NULL;
GFile * file=g_file_new_for_uri
("http://www.rshann.plus.com/denemo.html";);
GFileInputStream *stream = g_fil