gnome_help_display not working

2005-08-24 Thread harshavardhanreddy mandeepala
Hi
I am using FC3.
I developed one application using glade and Gtk.
Using Glade i created one Gtkbutton and Gtkwindow.
so now when i click on the button it should display helpfile which is
already written by me.
for that i used gnome_help_display().
but gnome_help_display() is not displaying helpfile.
i tried with gnome_help_goto() but at the time of compilation it is
giving error that
Undefined reference to gnome_help_goto().
so whethe gnome_help_display will display any type of file or it will
display some specific format files.
i tried to find but couldn't.
for more clarification i am providing my callbacks.c file.
/callbacks.c/
#ifdef HAVE_CONFIG_H
# include config.h
#endif

#include gtk/gtk.h

#include callbacks.h
#include interface.h
#include support.h
#include stdio.h
#include libgnome/libgnome.h
#include libgnome/gnome-help.h
#include gnome.h


GtkWidget *window1;

void
on_HELP_BUT_clicked (GtkButton *button,
gpointer user_data)
{
GError *err = NULL;
gchar* helpfile = NULL;
// gnome_help_goto(NULL,url);

gnome_help_display (helpfile, NULL, err);
/* helpfile is the offline file which is already existing in
current folder **/
}


void
on_window1_show (GtkWidget *widget,
gpointer user_data)
{

GtkWidget *temp;
temp = gtk_object_get_data((GtkObject*)window1,HELP_BUT);

}

/***/


And also i don't know why for gnome_help_goto() it is giving Undefined
reference.I include most of the lib files.

Thanks in advance

Regards
Harsha
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list


Re: glade and combo boxes

2005-08-24 Thread Gyözö Both
 when i create a combo box in glade 2.6.8, the c code generated uses
 gtk_combo_box_new_text() instead of gtk_combo_box_new(), which is what
 i'd like to have. is there some way to make glade use the latter
 function?
 
 i didn't give any strings to put into the box in glade.
 p.s.: please no solutions of the type 'use libglade' ;-)

Unfortunately using libglade is not a solution, as it also instantiates
the ComboBox this way.  So I suggest just using the resulting object
and
clearing out the renderers before using it with
gtk-cell-layout-clear().

thank you, this helped. i did call the clear function, but only after i
set the model, i guess that was bad.

gyözö

-- 
Everything should be built top-down, except the first time.
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list


Re: Partially disable checkbox

2005-08-24 Thread Greg Breland
I also have a problem detecting a mouse click on a treeview control. 
I'm currently trying the widget event button-press-event, but that
doesn't seem to fire.

On Wed, 2005-08-24 at 00:51, Greg Breland wrote:
 I need to partially disable a checkbox control.  I don't want the
 checkbox to toggle when a user clicks on it but I want the click event
 or something similar to fire.  Something similar to the editable
 property on a text control.

___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list


GTK+ 2.8.1 released

2005-08-24 Thread Matthias Clasen
GTK+ 2.8.1 is now available for download at:

 ftp://ftp.gtk.org/pub/gtk/v2.8/
 http://ftp.gnome.org/pub/GNOME/sources/gtk+/2.8/

gtk+-2.8.1.tar.bz2   md5sum: 62ffb0e555dcc4eee3eba5e3214897e3
gtk+-2.8.1.tar.gzmd5sum: 12fb5ade5ad0735bbf9e6aa4a0547de0

This is a bug fix release and is source and binary compatible
with 2.8.0.

What is GTK+


GTK+ is a multi-platform toolkit for creating graphical user
interfaces. Offering a complete set of widgets, GTK+ is suitable for
projects ranging from small one-off tools to complete application
suites.

GTK+ has been designed from the ground up to support a range of
languages, not only C/C++. Using GTK+ from languages such as Perl and
Python (especially in combination with the Glade GUI builder) provides
an effective method of rapid application development.

GTK+ is free software and part of the GNU Project. However, the
licensing terms for GTK+, the GNU LGPL, allow it to be used by all
developers, including those developing proprietary software, without
any license fees or royalties. 

Where to get more information about GTK+


Information about GTK+ including links to documentation can be
found at:
 
http://www.gtk.org/

An installation guide for GTK+ 2.8 is found at:

 http://developer.gnome.org/doc/API/2.0/gtk/gtk-building.html

Common questions:
 
http://developer.gnome.org/doc/API/2.0/gtk/gtk-question-index.html
http://www.gtk.org/faq/


Overview of Changes from GTK+ 2.8.0 to GTK+ 2.8.1
=
* gtk-update-icon-cache no longer stores copies of symlinked
  icons, and it has a --index-only option to omit image data
  from the cache [Matthias]
* Make large GtkSizeGroups more efficient [Michael Natterer]
* Improve positioning of menus in GtkToolbar [Christian Persch,
  Paolo Borelli]
* Make scrolling work on unrealized icon views [Jonathan Blandford]
* Avoid unnecessary redraws on range widgets [Benjamin Berg]
* Make sure that all GTK+ applications reload icon themes
  promptly. [Chris Lahey]
* Ensure that gdk_pango_get_context() and gtk_widget_get_pango_context()
  use the same font options and dpi value [Michael Reinsch, Owen]
* Multiple memory leak fixes [Kjartan Maraas, Matthias]
* Other bug fixes [Owen, Allin Cottrell, Tor Lillqvist, Jonathan
  Blandford, Christian Persch, Jonas Bonn, Brett Atoms, Guillaume 
  Cottenceau, Sebastien Bacher, Robin Green, Benoit Carpentier,
  Hans Breuer, Kjartan Maraas, Manish Singh, Robert Jeff Mitchell,
  Markku Vire, Kristian Rietveld, Tommi Komulainen]
* Documentation improvements [Olexiy Avramchenko, Matthias]
* Updated translations (es,et,hu,ko,lt,ro,uk)


A list of all bugs fixed in this release can be found at
http://bugzilla.gnome.org/buglist.cgi?bug_id=312972,313475,311618,312937,153870,312796,312918,313417,313759,313852,313862,313867,313891,313900,313953,313344,313991,312798,314081,314062,314170,313156,314262,312350,314004,314335,312674,313818,313595


Matthias Clasen
August 24, 2005


___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list


GTK+ 2.8.2 released

2005-08-24 Thread Matthias Clasen
GTK+ 2.8.2 is now available for download at:

 ftp://ftp.gtk.org/pub/gtk/v2.8/
 http://ftp.gnome.org/pub/GNOME/sources/gtk+/2.8/

gtk+-2.8.2.tar.bz2   md5sum: 5b8b6d24f9f24469f96934b6efcc34b9
gtk+-2.8.2.tar.gzmd5sum: 9a0bb41b1c5e9993a1f5dd394c2e3434

This is a quick followup  release to fix a few bugs in 2.8.1

What is GTK+


GTK+ is a multi-platform toolkit for creating graphical user
interfaces. Offering a complete set of widgets, GTK+ is suitable for
projects ranging from small one-off tools to complete application
suites.

GTK+ has been designed from the ground up to support a range of
languages, not only C/C++. Using GTK+ from languages such as Perl and
Python (especially in combination with the Glade GUI builder) provides
an effective method of rapid application development.

GTK+ is free software and part of the GNU Project. However, the
licensing terms for GTK+, the GNU LGPL, allow it to be used by all
developers, including those developing proprietary software, without
any license fees or royalties. 

Where to get more information about GTK+


Information about GTK+ including links to documentation can be
found at:
 
http://www.gtk.org/

An installation guide for GTK+ 2.8 is found at:

 http://developer.gnome.org/doc/API/2.0/gtk/gtk-building.html

Common questions:
 
http://developer.gnome.org/doc/API/2.0/gtk/gtk-question-index.html
http://www.gtk.org/faq/


Overview of Changes from GTK+ 2.8.1 to GTK+ 2.8.2
=
* Fix a crash with custom icon themes, which affected
  the gnome-theme-manager. [Kjartan Maraas]
* Make sure font and cursor settings are propaged down


Matthias Clasen
August 24, 2005


___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list


Re: creating a entry mask

2005-08-24 Thread Luca Cavalli
On Tue, 2005-08-23 at 15:15 -0300, Arx Henrique wrote:
 Hi all
 
 anyone have some example about how create a mask for a gtkentry?
 
 like __/__/ for date, when the user digit a number if the position
 = 3 insert a / and so on.
 
 i'm try to use text-inserted event to do this, but always i get a 
 segmentation.
 
 cheers
 
 Arx Cruz

Hi,
such a widget was already developed. Here is the link:
http://saettaz.altervista.org/software/gtkmaskedentry.html

Luca

___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list


Re: creating a entry mask

2005-08-24 Thread Greg Breland
Thanks for this link.  I too have been looking for something like this.

For some reason the configure script requires GTK 2.6.8.  FC4 only ships
with 2.6.7, so this is a pretty steep requirement.  I hacked the
configure script to only require 2.6.7 and it worked fine.

I also was able to get it to compile on my FC2 box with GTK 2.4.0 by
just replacing the 2.6.0 convenience function combobox_get_active_text()
with a couple lines of code to grab the active text from the model.  I'm
going to send the change in as a patch, but anyone who wants the diff,
drop me an email.

On Wed, 2005-08-24 at 16:22, Luca Cavalli wrote:
 such a widget was already developed. Here is the link:
 http://saettaz.altervista.org/software/gtkmaskedentry.html


___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list


Re: Announcing: Project Ridley

2005-08-24 Thread JP Rosevear
On Mon, 2005-08-22 at 13:37 +0200, Rodrigo Moya wrote:
 what about libsoup/network library? Wouldn't it also make sense to move
 it to a libgnet in glib?

I'm also for this, right now we are using multiple networking libraries
and we fix the same bugs in multiple places.  I think its odd as a
platform we have no official way to great an http/network connection
(yes libsoup is in the platform for evolution, but for instance
gnome-vfs uses neon).

-JP
-- 
JP Rosevear [EMAIL PROTECTED]
Novell, Inc.

___
gtk-devel-list mailing list
gtk-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-devel-list


GTK+ 2.8.1 released

2005-08-24 Thread Matthias Clasen
GTK+ 2.8.1 is now available for download at:

 ftp://ftp.gtk.org/pub/gtk/v2.8/
 http://ftp.gnome.org/pub/GNOME/sources/gtk+/2.8/

gtk+-2.8.1.tar.bz2   md5sum: 62ffb0e555dcc4eee3eba5e3214897e3
gtk+-2.8.1.tar.gzmd5sum: 12fb5ade5ad0735bbf9e6aa4a0547de0

This is a bug fix release and is source and binary compatible
with 2.8.0.

What is GTK+


GTK+ is a multi-platform toolkit for creating graphical user
interfaces. Offering a complete set of widgets, GTK+ is suitable for
projects ranging from small one-off tools to complete application
suites.

GTK+ has been designed from the ground up to support a range of
languages, not only C/C++. Using GTK+ from languages such as Perl and
Python (especially in combination with the Glade GUI builder) provides
an effective method of rapid application development.

GTK+ is free software and part of the GNU Project. However, the
licensing terms for GTK+, the GNU LGPL, allow it to be used by all
developers, including those developing proprietary software, without
any license fees or royalties. 

Where to get more information about GTK+


Information about GTK+ including links to documentation can be
found at:
 
http://www.gtk.org/

An installation guide for GTK+ 2.8 is found at:

 http://developer.gnome.org/doc/API/2.0/gtk/gtk-building.html

Common questions:
 
http://developer.gnome.org/doc/API/2.0/gtk/gtk-question-index.html
http://www.gtk.org/faq/


Overview of Changes from GTK+ 2.8.0 to GTK+ 2.8.1
=
* gtk-update-icon-cache no longer stores copies of symlinked
  icons, and it has a --index-only option to omit image data
  from the cache [Matthias]
* Make large GtkSizeGroups more efficient [Michael Natterer]
* Improve positioning of menus in GtkToolbar [Christian Persch,
  Paolo Borelli]
* Make scrolling work on unrealized icon views [Jonathan Blandford]
* Avoid unnecessary redraws on range widgets [Benjamin Berg]
* Make sure that all GTK+ applications reload icon themes
  promptly. [Chris Lahey]
* Ensure that gdk_pango_get_context() and gtk_widget_get_pango_context()
  use the same font options and dpi value [Michael Reinsch, Owen]
* Multiple memory leak fixes [Kjartan Maraas, Matthias]
* Other bug fixes [Owen, Allin Cottrell, Tor Lillqvist, Jonathan
  Blandford, Christian Persch, Jonas Bonn, Brett Atoms, Guillaume 
  Cottenceau, Sebastien Bacher, Robin Green, Benoit Carpentier,
  Hans Breuer, Kjartan Maraas, Manish Singh, Robert Jeff Mitchell,
  Markku Vire, Kristian Rietveld, Tommi Komulainen]
* Documentation improvements [Olexiy Avramchenko, Matthias]
* Updated translations (es,et,hu,ko,lt,ro,uk)


A list of all bugs fixed in this release can be found at
http://bugzilla.gnome.org/buglist.cgi?bug_id=312972,313475,311618,312937,153870,312796,312918,313417,313759,313852,313862,313867,313891,313900,313953,313344,313991,312798,314081,314062,314170,313156,314262,312350,314004,314335,312674,313818,313595


Matthias Clasen
August 24, 2005


___
gtk-devel-list mailing list
gtk-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-devel-list


Re: Announcing: Project Ridley

2005-08-24 Thread Jonathan Blandford
JP Rosevear [EMAIL PROTECTED] writes:

 I'm also for this, right now we are using multiple networking libraries
 and we fix the same bugs in multiple places.  I think its odd as a
 platform we have no official way to great an http/network connection
 (yes libsoup is in the platform for evolution, but for instance
 gnome-vfs uses neon).

It sounds great to have a networking library on our platform, but I am
pretty confident that it shouldn't be part of glib or GTK+.  Project
Ridley is primarily about getting widgets back into the widget library,
and making that library comprehensive.

We can start a larger conversation about what the platform needs, and
we're probably overdue for that.

Thanks,
-Jonathan
___
gtk-devel-list mailing list
gtk-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-devel-list


Re: Announcing: Project Ridley

2005-08-24 Thread Havoc Pennington
On Wed, 2005-08-24 at 07:44 -0400, JP Rosevear wrote:
 On Mon, 2005-08-22 at 13:37 +0200, Rodrigo Moya wrote:
  what about libsoup/network library? Wouldn't it also make sense to move
  it to a libgnet in glib?
 
 I'm also for this, right now we are using multiple networking libraries
 and we fix the same bugs in multiple places.  I think its odd as a
 platform we have no official way to great an http/network connection
 (yes libsoup is in the platform for evolution, but for instance
 gnome-vfs uses neon).
 

Shouldn't http be in a unified library with other IO? (i.e. we'd want to
look at the whole of gnome-vfs functionality perhaps)

Havoc


___
gtk-devel-list mailing list
gtk-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-devel-list