even though the docs says:
'Sets a function to be called when the child indicated by pid exits,
at a default priority, G_PRIORITY_DEFAULT.'
So how can an executable be run from GTK and read its output ?
Thank you,
--
Colossus
Xarchiver, a GTK2 only archive mana
ThunderBird's email client window (when you
download your email ) ?
Thanks,
--
Colossus
Xarchiver, a GTK2 only archive manager - http://xarchiver.sourceforge.net
Cpsed, a Linux OpenGL 3D scene editor - http://cpsed.sourceforge.net
Mizio, a QT proxy hunter scanner tool - http://mizio.sourceforg
actly what I was
looking for !
--
Colossus
Xarchiver, a GTK2 only archive manager - http://xarchiver.sourceforge.net
Cpsed, a Linux OpenGL 3D scene editor - http://cpsed.sourceforge.net
Mizio, a QT proxy hunter scanner tool - http://mizio.sourceforge.net
__
László Monda wrote:
Could someone here explain why does it segfault?
Compile it with the -g flag and then run it in gdb. When the segfault
occurs issue bt. You should have the line where the segfault occurs.
--
Colossus
Xarchiver, a GTK2 only archive manager - http
Sandeep KS wrote:
How can i make the shellscript to get executed in the backend and at the same
time continue with the frontend work?
Look at the source code of xarchive: it does just what you need:
http://xarchive.sourceforge.net
--
Colossus
Xarchiver, a GTK2 only archive manager - http
Hi,
I saw the screenshots of the forthcoming Ubuntu here:
https://wiki.ubuntu.com/DapperFlight4#head-91e9d44f863c79fef08d0428bf17a5a87ed92628
my question is: how to realize those notification bubble comics style?
Thanks,
--
Colossus
Xarchiver, a GTK2 only archive manager - http
ved), NULL);
I'm in doubt if in the on_drag_data_received function I must use
gtk_drag_finish since the code works with and without it.
Thanks,
--
Colossus
Xarchiver, a Linux GTK+2 only archive manager -
http://xarchiver.sourceforge.net
Cpsed, a Linux OpenGL 3D scene editor - http://cpsed.
ename without file:// ?
Thanks,
--
Colossus
Xarchiver, a Linux GTK+2 only archive manager -
http://xarchiver.sourceforge.net
Cpsed, a Linux OpenGL 3D scene editor - http://cpsed.sourceforge.net
Mizio, a QT proxy hunter scanner tool - http://mizio.sourceforg
Colossus wrote:
Is there a Glib function who gives me back the filename without file:// ?
As it always happens after sending the email I got the function:
g_filename_from_uri, sorry !
--
Colossus
Xarchiver, a Linux GTK+2 only archive manager -
http://xarchiver.sourceforge.net
Cpsed, a
Colossus wrote:
I'm in doubt if in the on_drag_data_received function I must use
gtk_drag_finish since the code works with and without it.
Today is the day of the self answers ! Yeah I must use it otherwise
after a while I see the icon self dragging by itself !
--
Colossus
Xarchiver, a
problem is that when I free filename the GSList data becames
corrupted, but the docs says that g_filename_from_uri returns
allocated memory, so what can I do ? Once I put filename in the GSList
I don't need it anymore. Is filename freed when I call g_slist_free ?
--
Colossus
Xarchiver, a Linu
are real pointers at all),
therefore it cannot make copies of the data, cannot free
them, etc. It just stores some untyped pointers.
So how to solve the problem ?
--
Colossus
Xarchiver, a Linux GTK+2 only archive manager -
http://xarchiver.sourceforge.net
Cpsed, a Linux OpenGL 3D scene edi
s
me back !
--
Colossus
Xarchiver, a Linux GTK+2 only archive manager -
http://xarchiver.sourceforge.net
Cpsed, a Linux OpenGL 3D scene editor - http://cpsed.sourceforge.net
Mizio, a QT proxy hunter scanner tool - http://mizio.sourceforge.net
___
gt
from
g_filename_from_uri and what the others nine ones ?
--
Colossus
Xarchiver, a Linux GTK+2 only archive manager -
http://xarchiver.sourceforge.net
Cpsed, a Linux OpenGL 3D scene editor - http://cpsed.sourceforge.net
Mizio, a QT proxy hunter scanner tool - http://mizio.sourceforg
I use
g_filename_from_uri to convert the filename but this function
allocates memory that I must free. Since the user can drag and drop
more than one file ( you noticed the while loop in the code ? ) when
later I issue g_free ( filename ) only the last pointer will be freed
and the others ?
--
Col
g_slist_free(Files_to_Add); //this frees the list
Hum, what about using directly Files_to_Add instead of next_ptr ?
--
Colossus
Xarchiver, a Linux GTK+2 only archive manager -
http://xarchiver.sourceforge.net
Cpsed, a Linux OpenGL 3D scene editor - http://cpsed.sourceforge.net
Mizio, a QT proxy h
e the GSList. Long life to GTK+2 !!!
--
Colossus
Xarchiver, a Linux GTK+2 only archive manager -
http://xarchiver.sourceforge.net
Cpsed, a Linux OpenGL 3D scene editor - http://cpsed.sourceforge.net
Mizio, a QT proxy hunter scanner tool - http://mizio.sourceforg
Santhosh wrote:
I hope this helps...
Surely it helps, this way I can free all the pointers in one shot
without iterating through the GSList with the while loop. Thank you so
much Santosh !!
--
Colossus
Xarchiver, a Linux GTK+2 only archive manager -
http://xarchiver.sourceforge.net
Hi,
I'm coding drag and drop feature to my app, Xarchiver, I was wondering
if the drag from a Konqueror (KDE) window and drop to the GTK window
of my app will work. Is there some GTK additional call to perform to
have the above work ?
Thanks,
--
Colossus
Xarchiver, a Linux GTK+2 only ar
Hi,
I did a search in the archive but I only found replies related to the
delete event when the user clicks the X on window. I need to know how
to catch the event when the user pushes the Del key on the keyboard
such as it happens in Thunar new xfce file manager.
Thanks,
--
Colossus
Xarchiver
based ?
Thanks,
--
Colossus
Xarchiver, a Linux GTK+2 only archive manager -
http://xarchiver.sourceforge.net
Cpsed, a Linux OpenGL 3D scene editor - http://cpsed.sourceforge.net
Mizio, a QT proxy hunter scanner tool - http://mizio.sourceforge.net
___
gtk-app-dev
Daniel Espinosa wrote:
GTK and KDE has it's own bucle to manage events, there a project working
around it at:
http://gparts.blogspot.com/
Right now this url is unreachable. Running GIMP under KDE the drag is
correctly detected by Gimp, how can this be done ?
--
Colossus
Xarchiver, a
Daniel Espinosa wrote:
http://gparts.blogspot.com/
Ok, I see. Does Gimp use Gparts to accept files dragged from the
Konqueror window ?? If it doesn't, I'm wondering which GTK functions
one have to call to accept events from KDE window inside a GTK one !
--
Colossus
Xarchiver, a L
hen I drag a row from the treeview of my app
inside the window of Thunar, it's not drawed a border around thunar
window, meaning that the drop event is not detected. Is it a matter of
signals or what else ?
Thanks,
--
Colossus
Xarchiver, a Linux GTK+2 only archive manager -
http://xarchi
Eduardo M KALINOWSKI wrote:
Well, you can always see The Gimp's source code to discover how it's
done, and them implement it in your application.
I thought about this, but the huge size of Gimp's source code is what
who discourage me to do that !
--
Colossus
Xarchiver, a L
itself.
I use text/uri-list instead of text/plain, maybe this causes my app
not to receive the drag data ?
--
Colossus
Xarchiver, a Linux GTK+2 only archive manager -
http://xarchiver.sourceforge.net
Cpsed, a Linux OpenGL 3D scene editor - http://cpsed.sourceforge.net
Mizio, a QT proxy hunter
Colossus wrote:
Hi,
I'm coding drag and drop feature to my app, Xarchiver, I was wondering
if the drag from a Konqueror (KDE) window and drop to the GTK window
of my app will work. Is there some GTK additional call to perform to
have the above work ?
Thanks,
Thanks to Benedikt of XFC
Colossus wrote:
I connected the signal "drag_data_received" to the window of my app.
However when dragging not from a GTK window ( kde konqueror for example
) my app doesn't receive the signal. Is GTK compatible with
event generated from other GUIs such as QT upon which KDE is b
Hi,
I have to fill a GList with strings and unsigned long int.
The content of the GList is not always the same so I don't
know wich element is a string to free or a GUINT_TO_POINTER
that I don't have to free. Is there a trick to do so ?
Thanks,
--
Colossus
Xarchiver, a Linux GTK+2 on
Enrico Tröger wrote:
give it some value
*iptr = 100l;
Hi Enrico,
thanks for replying. Which value is the above ? Hexadecimal one ?? Or
what else ?
--
Colossus
Xarchiver, a Linux GTK+2 only archive manager - http://xarchiver.xfce.org
Cpsed, a Linux OpenGL 3D scene editor - http
ore), &iter, i, fields->data,
-1);
And in this line I get the segfault ! Obviously I declared that column
as G_TYPE_UINT64;
It's related to the allocated u long long int pointer because if I use
GUINT_TO_POINTER with G_TYPE_UINT it works. Do you have any idea about
the crash ?
Hi,
Thank you all for your kind answers.
--
Colossus
Xarchiver, a Linux GTK+2 only archive manager - http://xarchiver.xfce.org
Cpsed, a Linux OpenGL 3D scene editor - http://cpsed.sourceforge.net
Mizio, a QT proxy hunter scanner tool - http://mizio.sourceforge.net
iver%2Ftrunk%2Flibxarchiver%2Fsupport-arj.c&rev=21282&sc=1
Thank you,
--
Colossus
Xarchiver, a Linux GTK+2 only archive manager - http://xarchiver.xfce.org
Cpsed, a Linux OpenGL 3D scene editor - http://cpsed.sourceforge.net
Mizio, a QT proxy hunter scanner tool - http://mizio.sou
Hi,
I'm trying to implement XDS protocol to my app, xarchiver. I have two
rows selected in the treeview, when I drag these two rows and drop
them in Thunar file manager, everything goes wrong. When I drop only
one row it works. So my question is: how to retrieve the content of
the rows selected
Hi,
this is the message when trying to use the search facility:
Not Found
The requested URL /mailman/search was not found on this server.
Regards,
--
Colossus
Xarchiver, a Linux GTK+2 only archive manager - http://xarchiver.xfce.org
Cpsed, a Linux OpenGL 3D scene editor - http
. What's the problem?
see file rpm.c from xarchiver sources.
--
Colossus
Xarchiver, a Linux GTK+2 only archive manager - http://xarchiver.xfce.org
Xscreencast, a DE independent desktop session recorder -
http://xscreencast.berlios.de
Cpsed, a Linux OpenGL
atusicon.c
Thanks,
Giuseppe Torelli
--
Colossus
Xarchiver, a Linux GTK+2 only archive manager - http://xarchiver.xfce.org
Xscreencast, a DE independent desktop session recorder -
http://xscreencast.berlios.de
Cpsed, a Linux OpenGL 3D scene editor - http://cpsed.sourc
Hi,
I'm trying to realize a rubberband effect on the desktop window. Does
anyone have any clue ? It's better to use cairo or directly Xrender?
Thanks,
--
Colossus
Xarchiver, a Linux GTK+2 only archive manager - http://xarchiver.xfce.org
Xscreencast, a DE independent desktop sessio
Colossus wrote:
> I'm trying to realize a rubberband effect on the desktop window. Does
> anyone have any clue ? It's better to use cairo or directly Xrender?
For future reference, I found one using cairo in byzanz sources.
--
Colossus
Xarchiver, a Linux GTK+2 only archiv
Hi,
I used the search facility but I was unable to find any results.
Does gdk/gtk have any function to convert a GdkPixbuf or a GtkImage to
a png ? Or I have to use libpng instead ?
--
Colossus
Xarchiver, a Linux GTK+2 only archive manager - http://xarchiver.xfce.org
Xscreencast, a DE
Hi,
I have a callback function like this:
g_signal_connect ((gpointer) exe_menu, "activate", G_CALLBACK
(xa_convert_sfx), NULL);
I would like to detect if the SHIFT key is pressed in the
xa_convert_sfx() routine. Is this possible?
--
Colossus
Xarchiver, a Linux GTK+2 only archi
s) and when some pages are added to it.
Under gtk 2.10.6 the signal is not emitted at all in both cases.
What can I do to have to drop detected when the notebook has no pages
(my window app empty) and when it has some ones?
P.S. I even tried to connect the drag-data-received to the
archive->tree
Colossus wrote:
> Just some more info about the matter. The signal "drag-data-received"
> is connected to the mainwindow this way:
Ok, the problem is the gtk_notebook widget. If I comment out the
whole code which creates it the drag_data_received signal is emitted.
Can someon
>Colossus wrote:
> Can someone of you tell me how to overcome this problem? I really need
> the notebook widget in my app.
Obvious things are under the nose. I forgot to gtk_drag_dest_set ()
the notebook widget.
--
Colossus
Xarchiver, a Linux GTK+2 only archive manag
Hi,
I have some image data in a GdkRegion, I need to use gdk_pixbuf_save()
to save those image data in a png format. How can I convert it?
Thanks,
--
Colossus
Xarchiver, a Linux GTK+2 only archive manager - http://xarchiver.xfce.org
Xscreencast, a DE independent desktop session recorder -
http
mory leaks if I call gtk_notebook_get_menu_label_text() repeatedly?
--
Colossus
Xarchiver, a Linux GTK+2 only archive manager - http://xarchiver.xfce.org
Xscreencast, a DE independent desktop session recorder -
http://xscreencast.berlios.de
Cpsed, a Linux OpenGL 3D scene editor - http://cpsed.
Hi,
Is it possible to disable automatic sort when using the gtkfiledialog
under gtk 2.10.x? I haven't found anything relevant in the docs.
Thanks,
--
Colossus
Xarchiver, a Linux GTK+2 only archive manager - http://xarchiver.xfce.org
Xscreencast, a DE independent desktop session recorder -
nref (icon_pixbuf);
gtk_widget_show (prefs_iconview);
I get errors during runtime because I can't set a tooltip that way on
a gdk_pixbuf, can someone help me please?
--
Colossus
Xarchiver, a Linux GTK+2 only archive manager - http://xarchiver.xfce.org
Xscreencast, a DE independent desktop s
Hi,
I'm building an app with the GTK for the first time,
I'm just moving the first steps. I need to know if
a program is available, so I thought to try open the
file with the -e flags, but maybe there is already something
inside glib ??
--
Colossus
Cpsed, a Linux OpenGL 3D scene e
Hi,
I'm programming a frontend in C with GTK.
Is there a vector like class available with GTK or glib ?
--
Colossus
Cpsed, a Linux OpenGL 3D scene editor
http://cpsed.sourceforge.net/
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
Hi,
I need to know what are is the signal strings to give to
g_signal_connect() but I didn't find any specs of them in doc.
Possible ?
--
Colossus
Cpsed, a Linux OpenGL 3D scene editor
http://cpsed.sourceforge.net/
___
gtk-app-devel-list mailing lis
X (hbox), archive_types, TRUE, TRUE, 0);
gtk_widget_show_all (hbox);
g_signal_connect (G_OBJECT (new_archive_dialog),"response",G_CALLBACK
(new_file_response_cb),new_archive_dialog);
gtk_window_set_modal (GTK_WINDOW (new_archive_dialog),TRUE);
gtk_widget_show_all (new_archive_dia
view1 = NULL; <- here I got the error
}
Thanks for the attention,
--
Colossus
Cpsed, a Linux OpenGL 3D scene editor
http://cpsed.sourceforge.net/
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
Hi,
I need to a have a label just to the very left of a gtk_file_filter,
however I got the filter but not the label close to it. I get a lot
of assertion failed when try to pack a gtk filter with a label with
gtk_box_pack_start. Is it possible to achieve that ?
Thank you,
--
Colossus
Cpsed, a
efined reference to
`OpenZipArchive'
collect2: ld returned 1 exit status
OpenZip archive is a function included in zip.c.When I issue make in the
gcc line above there is not zip.o but I included them in the src/Makefile.am
Could someone help please ?
--
Colossus
Cpsed, a Li
Colossus wrote:
Could someone help please ?
Sorry, I forgot to do this:
## Process this file with automake to produce Makefile.in
--
Colossus
Cpsed, a Linux OpenGL 3D scene editor
http://cpsed.sourceforge.net/
___
gtk-app-devel-list mailing list
gtk-app
nvalid for instance `0x82ac4c8'
(xarchiver:5585): GLib-GObject-WARNING **: gsignal.c:1716: signal
`unrealize' is invalid for instance `0x82ac4c8'
and obviously my tooltip is not shown, instead it's show the gtk
standard one. Is it possible to achieve this ?
Thank you,
--
Co
e it always return the
last one, the zip even do I select Bzip2 for example. Is it possible to
do what I'm asking ?
Thank you,
--
Colossus
Cpsed, a Linux OpenGL 3D scene editor
http://cpsed.sourceforge.net/
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
do I have to give
to these arguments ??
Please help,
--
Colossus
Cpsed, a Linux OpenGL 3D scene editor
http://cpsed.sourceforge.net/
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel
Olivier Sessink wrote:
I use this for example to close the stderr of the child and make it a
copy of the stdout.
Thank you Olivier, but how to read the output of the command unzip -l
so to put it into the gtk_tree_view ?
--
Colossus
Cpsed, a Linux OpenGL 3D scene editor
http
ll), if I remove them I got the files in the zip archive
plus some null. I look into the source of graveman and I see the
author leaves those lines, the output of cdrecord is pure ascii as the
one of unzip, why this different behaviour ?
Thanks,
--
Colossus
Cpsed, a Linux OpenGL 3D s
t the G_IO_ERR conditions is never met,
while the G_IO_HUP is met when both the pipe ends and when the unzip
returns an error; how can I distinguish the two conditions so to have
my application emits an appropriate gtk_dialog with an error message
when unzip fails to open the zip archive ?
--
Col
h (ioc, cond, func, data);
return ioc;
}
Both of them or g_child_watch_add replaces g_io_add_watch ??
--
Colossus
Cpsed, a Linux OpenGL 3D scene editor
http://cpsed.sourceforge.net/
___
gtk-app-devel-list mailing list
gtk-app-devel-l
Hi,
I have a string this way:
"Name Surname AddressTelephone"
I'm not able to split it as: "Name" "Surname" "Address" "Telephone"
with g_strsplit. I tried as delimeter " +" to mean multiple spaces as
in regular expre
Number of rows: %d",
gtk_tree_model_iter_n_children (GTK_TREE_MODEL(liststore), NULL) );
Why this different behaviour ?
--
Colossus
Cpsed, a Linux OpenGL 3D scene editor
http://cpsed.sourceforge.net/
___
gtk-app-devel-list mailing list
gtk-app-de
r for loop to remove a column at a
time, is there a way to remove ALL of them is one shot as
gtk_list_store_clear() for the rows ?
Thank you,
--
Colossus
Cpsed, a Linux OpenGL 3D scene editor
http://cpsed.sourceforge.net/
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
xtbuf, &enditer, line,
strlen( line ) );
Where am I wrong ??
--
Colossus
Cpsed, a Linux OpenGL 3D scene editor
http://cpsed.sourceforge.net/
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
Colossus wrote:
I fill the text gtk_text_buffer this way:
if (line != NULL) gtk_text_buffer_insert(textbuf, &enditer, line,
strlen( line ) );
As it always happens after sending this email to the list I got the
solution: I forgot to call
gtk_text_buffer_get_start_iter(textbuf, &enditer
k_set_locale ();
gtk_init (&argc, &argv);
.
}
When it happens that a child exits with an error status I got the
message as in the subject. Where am I wrong ?
--
Colossus
Cpsed, a Linux OpenGL 3D scene editor
http://cpsed.sourceforge.net/
_
Hi,
I have to insert in a liststore some filenames
containing stressed vowels. I get a Pango layout
warning message in the console and the GUI hangs.
How to avoid this ?
Thanks,
--
Colossus
Cpsed, a Linux OpenGL 3D scene editor
http://cpsed.sourceforge.net
Hi,
is there an example on the internet on how to create a treview like
the one of thunderbird (I mean the left side that contains the local
folder) ?? And what about the left side of the window that appears
when you click on Edit/Preferences (always of Thunderbird) ??
Thank you,
--
Colossus
Hi,
I have a dialog with a Gtk_entry and a button. I want to
display a GtkFileChooserDialog when the user pushes the
button from the GtkDialog; the choosen path should be
displayed into the Gtk entry. How can I achieve this ?
--
Colossus
Cpsed, a Linux OpenGL 3D scene editor
http
John Cupitt wrote:
http://developer.gnome.org/doc/API/2.0/gtk/GtkFileChooserButton.html
Many thanks !!
--
Colossus
Cpsed, a Linux OpenGL 3D scene editor
http://cpsed.sourceforge.net/
___
gtk-app-devel-list mailing list
gtk-app-devel-list
response = gtk_dialog_run ( GTK_DIALOG ( prefs_window ) );
if ( response == GTK_RESPONSE_CANCEL)
{
gtk_widget_destroy ( prefs_window );
return;
}
// How to fill the gtk_entry created in the prefs() function ?
Thank you,
--
e sub/folder on the user's hard disk ?
Are you aware of a software who uses it so I can look at its source code ?
Thank you,
--
Colossus
Cpsed, a Linux OpenGL 3D scene editor
http://cpsed.sourceforge.net/
___
gtk-app-devel-list mailing list
gtk-app-
ample still has the triangle so it hasn't to
depend from the theme as far as I can see.
--
Colossus
Cpsed, a Linux OpenGL 3D scene editor
http://cpsed.sourceforge.net/
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail
t uses
+- sign.
Regards,
--
Colossus
Cpsed, a Linux OpenGL 3D scene editor
http://cpsed.sourceforge.net/
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
frontend to zip,rar,bzip2 ecc to give the user the way to extract the
files by clicking on the +- signs to surf the content of the hard disk.
--
Colossus
Cpsed, a Linux OpenGL 3D scene editor
http://cpsed.sourceforge.net/
___
gtk-app-devel-list mailin
ave implemented this
"beautiful to see feature" in XUL language ?
--
Colossus
Cpsed, a Linux OpenGL 3D scene editor
http://cpsed.sourceforge.net/
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
reate GUIs. I don't
see any valid reason to remove it in GTK 2.0. Are you aware of a theme
who replaces the triangle with the +- sign ? And what about the lines,
does exist a theme who implements it ?
--
Colossus
Cpsed, a Linux OpenGL 3D scene editor
http://cpsed.sourc
Hi,
I have a gtk-dialog built with glade with the two buttons Cancel and
Ok. When I push the ESC key on the keyboard the code behaves as I
clicked Ok with the mouse on the dialog and this is not correct.
How can I avoid this behaviour ?
--
Colossus
Cpsed, a Linux OpenGL 3D scene editor
http
)
{
gtk_widget_destroy ( prefs_window );
return;
}
else
{
//It goes here, where is my mistake ??
gtk_widget_destroy ( prefs_window );
switch (ChoosenArchiveType)
{
--
Colossus
Cpsed, a Linux
e control again
to the gtk_dialog ??
--
Colossus
Cpsed, a Linux OpenGL 3D scene editor
http://cpsed.sourceforge.net/
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
t a return statement the dialog window doesn't reply anymore
when I click on Cancel and Ok, because the part of the code who handle
them has been already executed. My problem is how to "go back" without
having another dialog window being opened.
--
Colossus
Cpsed, a Linux Op
[EMAIL PROTECTED] wrote:
Hi all,
i'm new in gtk and i have to develop an application with a lot of windows.
>I remember that with delphi, it is possible to open a window in the
mother window.
>Is it possible with gtk+ ?
developer.gnome.org/doc/API/2.0/gtk/GtkWindow.html
--
Colossu
stressed
vowels, for example. I have forced the ISO885 9-1 encoding to avoid
the segmentation fault when opening such archives.
--
Colossus
Cpsed, a Linux OpenGL 3D scene editor
http://cpsed.sourceforge.net/
___
gtk-app-devel-list mailing list
gtk-app
Hi,
I found this on the archive:
http://mail.gnome.org/archives/gtk-app-devel-list/2002-October/msg00139.html
but it is of 2002, has that way been implemented now ? Or I have to
traverse the entire treeview and compare the string as suggested in
the link above ?
--
Colossus
Cpsed, a Linux
e parameter, gpointer data , I never receive the
word dummy. Instead if the same function is declared with two parameters:
void on_add_files_activate ( GtkWidget *useless , gpointer data);
I can successfull print the value "dummy" pointed by data.
Could gtk developers explain thi
andling the
"clicked" event for a GtkButton. And for this event, the prototype of
the callback handler is
I just tried to replace gpointer with G_OBJECT but nothing to do, the
value dummy is never received by the function. I must use two
parameters and get rid of the first one to receive
tive (Delete_button,FALSE);
else gtk_widget_set_sensitive (Delete_button,TRUE);
g_print ("**%d\n",selected);
}
Any help would be greatly appreciated.
--
Colossus
Cpsed, a Linux OpenGL 3D scene editor
http://cpsed.sourceforge.net/
John Coppens wrote:
I suspect you use a tree_view or so?
Yes.
You can unselect a row using Ctrl-Click on the row.
This is what I did but why does the function
gtk_tree_selection_count_selected_rows ( selection ) keep on returning
1 ?
--
Colossus
Cpsed, a Linux OpenGL 3D scene editor
Colossus wrote:
This is what I did but why does the function
gtk_tree_selection_count_selected_rows ( selection ) keep on returning 1 ?
Solved by connecting the selection and not the treeview to the changed
signal.
--
Colossus
Cpsed, a Linux OpenGL 3D scene editor
http://cpsed.sourceforge.net
( child_pid , (GChildWatchFunc) ExitStatus , NULL );
return (gulong) child_pid;
May someone help please ?
--
Colossus
Cpsed, a Linux OpenGL 3D scene editor
http://cpsed.sourceforge.net/
___
gtk-app-devel-list mailing list
gtk-app-devel-li
rror(errno)) );
return;
Thank you,
Colossus
Allin Cottrell wrote:
Yes, since the allocated string will not be freed by gtk_entry_set_text().
gchar *text = g_strdup_printf("banana %d", i);
gtk_entry_set_text(GTK_ENTRY(entry), text);
g_free(te
ERROR,GTK_BUTTONS_OK,g_strerror(errno));
Colossus
Christian Neumair wrote:
Because g_strerror returns a const char * (meaning that you
may not/can't/don't have to free it, since your app doesn't own the
memory), you can simply call
ShowGtkMessageDialog (GT
Ok,
the correct way is to cast g_strerror to (char *):
response = ShowGtkMessageDialog (GTK_WINDOW
(MainWindow),GTK_DIALOG_MODAL,GTK_MESSAGE_ERROR,GTK_BUTTONS_OK,(char
*) g_strerror(errno));
This way i don't get any warning.
Colossus wrote:
Hi,
I did as you suggested me but gcc
turn TRUE;
}
The documentation about g_io_add_wath is very poor, can someone share
light on this matter: why g_io_add_watch locks the GUI ?
Thank you,
--
Colossus
Cpsed, a Linux OpenGL 3D scene editor
http://cpsed.sourceforge.net/
___
gtk-app-devel-list
Colossus wrote:
The documentation about g_io_add_wath is very poor, can someone share
light on this matter: why g_io_add_watch locks the GUI ?
As usual one gets the answer after sending the email: it was needed to
set the flag G_IO_FLAG_NONBLOCK on the GIOChannel to avoid the lock.
GTK
I have the output redirected to the file /mnt/foo ?
--
Colossus
Cpsed, a Linux OpenGL 3D scene editor
http://cpsed.sourceforge.net/
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
Colossus wrote:
Hi,
I tried with g_spawn_async_with_pipes and with gspawn_async
but it does not work. In the first case the output (the decompressed
bzip2 file) is redirected to a GTK window so I used g_spawn_async (no
pipes) but the output is directed to the shell window from which I ran
my
1 - 100 of 125 matches
Mail list logo