Hi all,
I am giving a UI for a library which has been developed in core ANSI C.
The library calls a function close to 1000 times and is highly voluminous
in terms of space and time. I want to call this function 1000 times from
my UI.
I have made a dll file out of the C library, and I am using
Hi All,
I have the following code that I copied from the hello world part of
the GTK+ tutorial. I used it to practice using GtkComboBoxEntry(s).
#include gtk/gtk.h
int main( int argc,
char *argv[] )
{
/* GtkWidget is the storage type for widgets */
GtkWidget *window;
El mar, 22-01-2008 a las 21:55 +1100, Peter E Dennis escribió:
So I wondered if I needed to cast my GtkComboBoxEntry to a GtkComboBox
but wasn't sure how to do this so I tried:
gtk_combo_box_append_text(GTK_COMBO(cboVocSource), Hello World);
This however makes matters worse as I get the
2008/1/22 [EMAIL PROTECTED]:
[...]
Pseudo code for my call back function [for some button which will initiate
action] is as follows:
/***CALL BACK FUNCTION CODE SNIPPET ***/
g_timeout_add(1500,progress_timeout,progressbarwidget);
f1();//THE BIG FUNCTION
Hi All,
Iam using glib api's (g_convert)to convert the UTF-8 to ISO-8859-1..
but it displayed error as Coversion from UTF-8 to ISO-8859-1 is not supported
For me its working fine in linux, but when i port my code in embedded..this
g_convert fails and displays error..
Is anybody knows how
On 22 Jan 2008 16:45:10 -, Pavan Kumar Reddy
[EMAIL PROTECTED] wrote:
Hi All,
Iam using glib api's (g_convert)to convert the UTF-8 to ISO-8859-1..
but it displayed error as Coversion from UTF-8 to ISO-8859-1 is not
supported
For me its working fine in linux, but when i port my code
Thanks Claudio.
I'm just wondering why do I use the GTK_COMBO_BOX macro and not the
GTK_COMBO_BOX_ENTRY macro?
Many thanks,
Peter.
On 23/01/2008, Claudio Saavedra [EMAIL PROTECTED] wrote:
El mar, 22-01-2008 a las 21:55 +1100, Peter E Dennis escribió:
So I wondered if I needed to cast
El mié, 23-01-2008 a las 06:09 +1100, Peter E Dennis escribió:
Thanks Claudio.
I'm just wondering why do I use the GTK_COMBO_BOX macro and not the
GTK_COMBO_BOX_ENTRY macro?
Because gtk_combo_box_append_text () is a function that works on
GtkComboBox objects, not GtkComboBoxEntry ones.
As
Thanks again Claudio for taking the time to explain that to me. Much
appreciated.
On 23/01/2008, Claudio Saavedra [EMAIL PROTECTED] wrote:
El mié, 23-01-2008 a las 06:09 +1100, Peter E Dennis escribió:
Thanks Claudio.
I'm just wondering why do I use the GTK_COMBO_BOX macro and not the
Hi,
Alternatively, you can use the new gdk_threads_add_timeout() available
in GTK 2.12. It's a GDK thread safe drop-in-replacement for
g_timeout_add().
Thanks,
Michael
On 23/01/2008, Tristan Van Berkom [EMAIL PROTECTED] wrote:
2008/1/22 [EMAIL PROTECTED]:
[...]
Pseudo code for my call
I am attemping to make a basic image viewer in Linux, (app checks a
hard coded directory, puts *.jpg file names in a GtkMenu object,
displays the names in a GtkOptionMenu widget. Selecting a file name
will display the image in a GtkImage widget.
When I hardcode the specific file names, I can get
11 matches
Mail list logo