Dear all,
I've learned how to use gtk by reading this documentation,
and other ressources found on the fly on the web; I've found
is extremely useful and well done, especially for a growing
project.
I am no C-guru, not even a computer scientist, and my
training is programming is twenty years o
Hi,
I would ask gimp to create the animated part.
Open gimp with your first image.
Create as many layers as you have images.
Open each of the images and copy them
in the successive layers
Use menu item Filter->Animation->play or replay I'm not sure
to check the partial result.
Enrico Sardi wrote:
> Hi all!
>
> I want to make a simple animation in gtk with a pixbuf that rotates, how
> can I make it?
>
For every change of state of my application, the image changes.
I have 10 files with the rotated images (I've created them with
a repeated use of gimp) and I use the fol
Many thanks to all, my handling of files and strings
was in fact faulty. I used
while(fp != NULL){
fgets(line ,256, fp);
gtk_text_buffer_insert_at_cursor(...);}
which results in the last line being read twice,
with wrong charaters at the beginning the second time.
An eof character most probab
Dear all,
Here is a problem where I am completely lost.
The idea is to write inside a text view buffer
the content of a text file. Thus I read this later
file with fgets(file, line) where line is a char *.
-- The file I read has nothing other than ascii
characters (letters even from a-zA-Z and
Dear all,
I have a GtkTextBuffer in which my program
tells the user what happens.
(1) How can I save its content? I mean, if the
user wants to save it all, I would like a button to
and so on :-) That's a text buffer but with
colors / bold stuff :-( I would be happy
with
Dear all,
Here is the widget I need, with some context:
--
I have n (say 5000) given positions to evaluate.
Each evaluation takes about a 1/10 of a second
and results in a diagnosis : I(mpossible) or O(ptimal)
Dear all,
Here is the beginning of the output when
I send my program to valgrind:
--
==2314== Syscall param writev(vector[...]) points to uninitialised byte(s)
==2314==at 0x1BF4B8DE: (within /lib/libc-2.3.2.so)
==2314==
Dear all,
Thanks for the pointer to gtk_widget_modify_bg but I'm
completely baffled as to how to put it to use ...
i'm rather happy to discover via google that lot's of
people seem to be in my situation, but I haven't been
able to get an inkling as to how Yes, I know,
that's despite howtos
Dear all,
I'm working on the look and feel of my gtk application.
-- first : many thanks for those who developped this stuff :-)
-- second : gtk_label_set_markup is great
but how do I do that with button instead ?
The only way is to put a label inside my button ?
Dear all,
I'm working on the look and feel of my gtk application.
-- first : many thanks for those who developped this stuff :-)
-- second : gtk_label_set_markup is great
but how do I do that with button instead ?
The only way is to put a label inside my button ?
gtk_combo_box_get_active_text() is new in 2.6, so it can
disappear only when you replace 2.6 with some older version.
I repeated twenty times "What a dud!" so I believe I won't do it again :-)
Really I forgot to update my version
However the shaded list stuff stays.
But I have to say t
Oh, I'm in a much worse situation than what I thought ...
Sol_Problemes.c:207: warning: implicit declaration of function
`gtk_combo_box_get_active_text'
which I replace with
gchar *my_gtk_combo_box_get_active_text (GtkComboBox *combo_box)
{
GtkTreeIter iter;
gchar *text = g_malloc(256)
Dear all,
I have a smmoth combo_box, created withthe_one =
gtk_combo_box_new_text();
I fill it with gtk_combo_box_append_text( GTK_COMBO_BOX(
the_one ), nom);
And what I get is indeed a combo_box, but, but
All items are on alist (that's normal)
The background of this
Dear all,
upgrading to glib 2.7.0 (and some other changes I do not control: I
reinstalled
a full Suse 9.2 system), I get two variations with combo_boxes:
-- first the combo box entries get a shaded darker grey square on the LHS,
and then the usual gery part. Text start on the dark square.
Bien le bonjour,
Guten Tag,
and good morning to all others ! (Oh : chao also !)
void selecter(GtkComboBox *combo)
{
gchar *name;
if ((name = gtk_combo_box_get_active_text
(GTK_COMBO_BOX(my_combo_box))) == NULL){
printf("What are we doing in here ???");
} else {
Dear all,
I have troubles understanding (and controlling) where
to write on a GtkTextBuffer. Here are my variables :
SGinfosbuffer=gtk_text_buffer_new(NULL);
SGinfos=gtk_text_view_new_with_buffer(SGinfosbuffer);
SGscrolledinfos=gtk_scrolled_window_new(NULL,NULL);
gtk_container_add(GTK_CON
17 matches
Mail list logo