Hi AllI am using Gtk1.2.I want to
make 2 label which is mention
below._|
|| Label1 || Lang 1
|| ||
|| Label2 || Lang 2
|| |
In these labels i want to load 2 diffrent fonts of
diffrent language.But whenever i am loading
Hi All
I got solution .
Thanks All
Amit Jain
- Original Message -
From:
amitjain
To: [EMAIL PROTECTED]
Sent: Thursday, October 10, 2002 5:33
PM
Subject: Load two diffrent font in a
page
Hi AllI am using Gtk1.2.I want to
make 2 label which is mention
Hi All
I am using Gtk 1.2.
I want to get title of Gtk Menu so is there any function for getting it.
we know about gtk_menu_set_title () , but couldn't find like
gtk_menu_get_title (); so if anybody knows how to change GtkMenu
title please let me know.
Thanks in Advance
Amit Jain
_
Hi !!!
I am using Gtk1.2. I wnat to set font for GtkClist title.
I am doint it in this way.
style = gtk_widget_get_style( clist ) ;
style->font = font_load;
gtk_widget_set_style( clist, style ) ;
But it is not reflecting chang on GtkClist title.
Please help me.
Thanks in Advance
Amit Jain
__
d), style ) ;
gtk_clist_set_column_widget(GTK_CLIST(clist),0,title);
Thanks
Amit Jain
- Original Message -
From: "amitjain" <[EMAIL PROTECTED]>
To: "Olexiy Avramchenko" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Wednesday, October 23, 2002 11:38 AM
Subject:
thing exceopt me :)
Thanks in advance
Amit Jain
- Original Message -
From: "amitjain" <[EMAIL PROTECTED]>
To: "amitjain" <[EMAIL PROTECTED]>; "Olexiy Avramchenko"
<[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Wednesday, October 23, 20
firstly i should summarize your question
you have a GList of GtkLabel and now you want to change the labels .right?
so try something like this.
GList *glist,*widget_list;
GtkWidget *widget;
widget_list=g_list_first (Glist);
widget=widget_list->data;
now in widget you got your label and do anyt
Hi All!!!
I am using Gtk1.2.
I want to get the position of GtkWindow, so how it is possible ?
if anybody knows then please let me know
Thanks in adavace.
Amit Jain.
- Original Message -
From: "Olexiy Avramchenko" <[EMAIL PROTECTED]>
To: "amitjain" <[
Hi All!!!
i am using Gtk1.2.
I have a container in that i added some widgets and some pixmaps.
I added these pixmap in a vbox and then that i added that vbox in
my main container.
now i want to remove vbox on some events, and pixmap should be
disappear from screen.
i come to know about gtk_widget
Hi All!!!
i am using Gtk1.2.
i want to deactivate a menuitem on some particular event .
i come to know about to deactivate gtkmenushell but how can i do this
for gtkmenuitem.
so can anybody help me.it would be appreciable.
Thanks in advance
Amit Jain
_
Hi All!!!
I am using Gtk 1.2.
i want to conncet a gtk application with a database,it could be
oracle or mysql or anythng else.so is there any provision in gtk
to run query or i should use some one else API for connection
and retrievel of data.if you know any other library please let me know.
T
Example Attached
- Original Message -
From: "mili" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, November 14, 2002 8:04 PM
Subject: Can anybody give me an example of scrolling of GtkTextView?
Hi, anybody
Can you give me an example of scrolling a GtkTextView to the en
GtkWidget amazing;(GtkListItem type)
gtk_label_get(GTK_LABEL(GTK_BIN(amazing)->child), &label );
Bye
Amit Jain
- Original Message -
From: "Ruben Porras" <[EMAIL PROTECTED]>
To: "lista gtk+" <[EMAIL PROTECTED]>
Sent: Friday, November 15, 2002 7:09 PM
Subject: Get Label of GtkListItem
> H
GTK_CLIST(clist)->rows has the number you are looking for.
Stupid Answer :)
Bye Amit Jain
- Original Message -
From: "Biswapesh Chattopadhyay" <[EMAIL PROTECTED]>
To: "GTK List" <[EMAIL PROTECTED]>
Sent: Thursday, November 14, 2002 6:51 PM
Subject: Number of rows in a CList
> Stupid qu
you should go through with this document.
gtk1.2
http://developer.gnome.org/doc/API/gtk/gtkdrawingarea.html
gtk2.0
http://developer.gnome.org/doc/API/2.0/gtk/GtkDrawingArea.html
- Original Message -
From: "suzan Allen" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, November 16,
Hi !!!
I guess these links can solve your problem.
Best Of luck
http://mail.gnome.org/archives/gtk-perl-list/2001-November/msg00080.html
http://mail.gnome.org/archives/gtk-list/2000-December/msg00177.html
http://mail.gnome.org/archives/gtk-list/2000-December/msg00180.html
http://mail.gnome.org/arc
you can use :
gtk_signal_connect_object (GTK_OBJECT (button), "clicked", GTK_SIGNAL_FUNC
(user_func), GTK_OBJECT(window));
user_func()
{
gtk_main_quit();
}
Bye
Amit Jain
- Original Message -
From: "lomba" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, November 20, 2002 5:03 P
main()
{
GtkWidget *wid;
gtk_signal_connect(, GTK_SIGNAL_FUNC(write), wid);
}
write(Gtkwidget *callwidget,gpointer *wid)
{
GtkWidget *wid1;
wid1 GTK_WIDGET(wid);
// now enjoy
}
Bye Amit Jain
- Original Message -
From: "lomba" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesda
I guess to render rotated text is not a matter of gtk . you can do it
easily.it's a matter of logic.
isn't it ?
- Original Message -
From: "Ian King [ES]" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, November 21, 2002 4:24 AM
Subject: Rotated text
> Hi,
>
> Is is possible t
You should use
gtk_label_get(GTK_LABEL(GTK_BIN(button)->child), &label );
gtk_label_set(GTK_LABEL(GTK_BIN(button)->child), label );
Since GtkLabel contains GtkLabel as a child so you have to use
this above line.
Bye
Amit Jain
- Original Message -
From: "Pierre CHATEL" <[EMAIL PROTECTED
- Original Message -----
From: "amitjain" <[EMAIL PROTECTED]>
To: "Pierre CHATEL" <[EMAIL PROTECTED]>; "GTK" <[EMAIL PROTECTED]>
Sent: Monday, November 25, 2002 9:57 AM
Subject: Re: enquiry about labels
> You should use
> gtk_label_get(GTK_LABEL(GTK_
You should Use.
*** function to get string***
static gchar *entry_text;(global to file)
void get_the_text (GtkWidget *widget, GtkWidget *entry)
{
entry_text = gtk_entry_get_text(GTK_ENTRY(entry));
printf("Entry contents: %s\n", entry_text);
}
main
char *v;
entry1 = gtk_entry_new_with_
You should use
*** function***
char *gchtxt (GtkWidget *entry, char *tmp){
tmp = gtk_editable_get_chars (GTK_EDITABLE(entry), 0, -1);
/*tmp=(char*)malloc(strlen(tmp)*sizeof(char));*/
printf ("This is my text %s\n", tmp);
return (tmp);
*main
23 matches
Mail list logo