Hi!
On Thu, 18 Aug 2005 00:52:45 -0500
Tristan Sloughter [EMAIL PROTECTED] wrote:
I am using GLists and want to make sure I am freeing all the memory, and
not twice or course.
There are three possible functions for removing an element from the list:
g_list_remove (GList *list,
On Thu, Aug 18, 2005 at 12:52:45AM -0500, Tristan Sloughter wrote:
I am using GLists and want to make sure I am freeing all the memory, and
not twice or course.
There are three possible functions for removing an element from the list:
g_list_remove (GList *list, gconstpointer data);
On Thu, 18 Aug 2005 09:56:10 +0200
David Necas \(Yeti\) [EMAIL PROTECTED] wrote:
On Thu, Aug 18, 2005 at 12:52:45AM -0500, Tristan Sloughter wrote:
I am using GLists and want to make sure I am freeing all the memory, and
not twice or course.
There are three possible functions for
I checked out gtk_widget_modify_bg() and gtk_widget_modify_fg() and they
will do the job. When I checked out gdk_color_parse(const gchar *spec,
GdkColor *color) the spec string is obvious, 0x00 will do, but how to
create a GdkColor? I looked at gdk_colormap_alloc_color(), then
Hi
I would like to write a command line application that outputs the
current workspace (under GNOME, I had someting in WindowMaker, but this
does not work in GNOME). I have tried the following:
...
All workspace stuff depends on the window manager, so I guess for GNOME
you have to check the
Hi
The signal handler for a button in my main window launches a file
chooser dialog, then processes the selected files.
I try to hide the dialog during processing with 'gtk_widget_hide
(dialog);' but this does not take effect until the signal handler exits.
Is there a way to hide the dialog
Hi Emmanuel
For me it works as expected. I just added a gtk_main(), a gtk_init(...)
and a print()-callback and it works (on Debian Sarge gtk+ 2.6.4)
For gtk_menu_popup I used ..., 0, gtk_get_current_event_time());
Maybe something else is wrong in your code?
Jan-Marek
On 8/13/05, Pseudo Nym [EMAIL PROTECTED] wrote:
The signal handler for a button in my main window launches a file
chooser dialog, then processes the selected files.
I try to hide the dialog during processing with 'gtk_widget_hide
(dialog);' but this does not take effect until the signal
Hi
snip a lot of code
You're misunderstanding the _emit_ functions. They are supposed to be used
inside GObjects to run their attached signal handlers.
So a soluting would be:
gboolean your_old_code(...)
{
return FALSE; // destroy
return TRUE; // do not destroy
}
gboolean
On Thursday 18 August 2005 08:51, HuamiSoft Hubert Sokolowski wrote:
always when you allocate a memory, you need to free it by your self.
to free a list completely you need to free /data/ by your self if it
points to some memory that you allocated. g_list_remove removes an
element from a list
On Thu, 18 Aug 2005 20:17:34 +0100
Chris Vine [EMAIL PROTECTED] wrote:
On Thursday 18 August 2005 08:51, HuamiSoft Hubert Sokolowski wrote:
always when you allocate a memory, you need to free it by your self.
to free a list completely you need to free /data/ by your self if it
points to
GTK+ 2.6.10 is now available for download at:
ftp://ftp.gtk.org/pub/gtk/v2.6/
http://ftp.gnome.org/pub/GNOME/sources/gtk+/2.6/
gtk+-2.6.10.tar.bz2 md5sum: 520090ef291e35ba93397060e20f5025
gtk+-2.6.10.tar.gzmd5sum: 2683ef3ac133ed69bc12691d9bb3edab
This is a bug fix release and is source
2005/8/18, Faria, Sydney C [EMAIL PROTECTED]:
How do I get a GdkColor to use with gdk_color_parse()???
something like:
GdkColor colGreen;
gdk_color_parse (green, colGreen);
gtk_widget_modify_fg (button_Widget, GTK_STATE_NORMAL, colGreen);
cheers
--
Gian Mario Tagliaretti
PyGTK GUI
I'm a begginer in GTK and I use glade to create a interface... but I
need to edit a text view. I set it editable but not happen... I think
is that a correct sequence...
A part of code:
char result[150];
int position;
GtkWidget *tb_result,
*top_level;
top_level =
Is there any way to have the compiler warn on the use of deprecated GTK
content?
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Boncek, John wrote:
Is there any way to have the compiler warn on the use of deprecated GTK
content?
Define the macros GTK_DISABLE_DEPRECATED, GDK_DISABLE_DEPRECATED, and,
optionally, G_DISABLE_DEPRECATED (if you're using glib directly...).
I used the function gtk_tree_store_set () to put some data into the
treestore. I've got half a dozen root nodes, and several of them have
child nodes. All looks spiffy.
Now I want to remove the 4th item from the tree. When I put things into
the tree I made a path from the new iter, made a row
On Friday 19 August 2005 00:03, Wallace Owen wrote:
I used the function gtk_tree_store_set () to put some data into the
treestore. I've got half a dozen root nodes, and several of them have
child nodes. All looks spiffy.
Now I want to remove the 4th item from the tree. When I put things
18 matches
Mail list logo