Hi.
Not sure what is troubling you here. GList is represented by pointer
to first element or NULL if list is empty. And when you append items
to the list, the address of the list stays the same, since first
element of the list is unchanged (exception to this is when append
first element to an
Hey
I am trying to get the icon bitmap for a file and insert it into a
TreeView widget - That is the pixbuf for the mime-type of a file. Is
there any examples of doing this in plain C using GTK/GLib?
I am satisfied with an example that work in Linux - Win32 isn't equally
important to me.
Help
于 08/16/2012 07:58 PM, Andreas Rönnquist 写道:
Hey
I am trying to get the icon bitmap for a file and insert it into a
TreeView widget - That is the pixbuf for the mime-type of a file. Is
there any examples of doing this in plain C using GTK/GLib?
I am satisfied with an example that work in Linux
Thank you! I almost understand bahavior of GList.
I need to save newly created list poiner. So, i need to use g_list_last() to
save it? Is there another method to save created list pointer?
В сообщении от Четверг 16 августа 2012 15:51:22 вы написали:
Hi.
Not sure what is troubling you here.
Hi.
I am trying to get the icon bitmap for a file and insert it into a
TreeView widget - That is the pixbuf for the mime-type of a file. Is
there any examples of doing this in plain C using GTK/GLib?
I think you'll want gtk_widget_render_icon() function [1]. This will
use current theme
On Thu, Aug 16, 2012 at 06:49:25PM +0400, Vlasov Vitaly wrote:
I need to save newly created list poiner.
No.
Many operations change the list head (by adding, removing, reordering,
..., elements). In general, if an operation returns the new list head
you *must* save and use that in subsequent
On Thu, 16 Aug 2012 22:41:28 +0800
Just Fill Bugs mozbug...@yahoo.com.au wrote:
于 08/16/2012 07:58 PM, Andreas Rönnquist 写道:
Hey
I am trying to get the icon bitmap for a file and insert it into a
TreeView widget - That is the pixbuf for the mime-type of a file. Is
there any examples of
于 08/16/2012 11:24 PM, Andreas Rönnquist 写道:
Sorry, I mean loading the Pixbuf of the file-type / mime-type of a
file - Not simply loading a file into a pixbuf. That is a bit more
complicated getting...
Maybe this:
On Thu, 16 Aug 2012 17:24:02 +0200
Andreas Rönnquist wrote:
Sorry, I mean loading the Pixbuf of the file-type / mime-type of a
file - Not simply loading a file into a pixbuf. That is a bit more
complicated getting...
Do you mean something like this?
GtkWidget *icon;
GdkPixbuf *pixbuf;
On Fri, 17 Aug 2012 00:01:08 +0800
Just Fill Bugs mozbug...@yahoo.com.au wrote:
于 08/16/2012 11:24 PM, Andreas Rönnquist 写道:
Sorry, I mean loading the Pixbuf of the file-type / mime-type of a
file - Not simply loading a file into a pixbuf. That is a bit more
complicated getting...
On Fri, 17 Aug 2012 00:01:08 +0800
Just Fill Bugs mozbug...@yahoo.com.au wrote:
于 08/16/2012 11:24 PM, Andreas Rönnquist 写道:
Sorry, I mean loading the Pixbuf of the file-type / mime-type of a
file - Not simply loading a file into a pixbuf. That is a bit more
complicated getting...
On Thu, 16 Aug 2012 19:43:26 +0200
Andreas Rönnquist mailingli...@gusnan.se wrote:
On Fri, 17 Aug 2012 00:01:08 +0800
Just Fill Bugs mozbug...@yahoo.com.au wrote:
于 08/16/2012 11:24 PM, Andreas Rönnquist 写道:
Sorry, I mean loading the Pixbuf of the file-type / mime-type of a
file -
Hey list,
I've created a window through Glade 3.12.1 which contains a VTE widget
within one of its sizers. It looks fine in Glade, but when I attempt to
call the builder's add_from_file(Gooey.glade), I get the following
error at runtime:
$ ./Main.py
Traceback (most recent call last):
File
Hello list.
For example, i got frame in which packed vbox. In vbox packed in five
buttons.
If i call gtk_widget_destroy(), all packed widget's will be destroyed? or only
frame?
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
On 08/16/2012 09:03 PM, Vlasov Vitaly wrote:
For example, i got frame in which packed vbox. In vbox packed in five
buttons.
If i call gtk_widget_destroy(), all packed widget's will be destroyed? or only
frame?
Calling widget_destroy will automatically destroy child widgets. If you
Hi,
Seem you did not read my reply clearly. I told you the behaviour of
g_list_append() and g_list_last() there.
Okay, so your question is (
So, why g_list_append() dont' return me newly created list???
If you pass NULL pointer to first arg of g_list_append() it will
returns a newly created
16 matches
Mail list logo