Hello friends,
I want to hide a window when user clicks either on the
close button or press the close (CROSS) on the
top-right of every window.
Here is my code:
GtkWidget *window1;
GtkWidget *butt_close;
g_signal_connect((gpointer)butt_close,"clicked",
G_CALLBACK (on_butt_clos
Hi,
I've made a gtklabel with an underline attribute:
pango_attr_underline_new(PANGO_UNDERLINE_ERROR);
The label shows up fine with this attribtute.
However, later on I want to dynamically change this attribute
to PANGO_UNDERLINE_NONE.
The code basically looks like this:
attrlist=gtk_label_get_a
Deependra Shekhawat wrote:
>Hello friends,
>I am trying to append text in a text view, don't know
>how to do this (tried alot of things).
>
>
>here is code snippet:
>
>gint call_me(gpointer user_data)
>{
> int bytes=0,temp;
>//checks to see whether called for first time or not
> static
Hello friends,
I am trying to append text in a text view, don't know
how to do this (tried alot of things).
here is code snippet:
gint call_me(gpointer user_data)
{
int bytes=0,temp;
//checks to see whether called for first time or not
static int flag=1;
GtkWidget *textvi
On 4/14/06, Dmitriy Chumack <[EMAIL PROTECTED]> wrote:
> I have a little question. I need to create a widget using
> XtVaCreateManagedWidget(...)
> function from libXt.so.6 library.
No, sorry, GTK and Motif are completely different and you can't mix
their APIs. You must use one or the other.
If
Hi, everyone.
I have a little question. I need to create a widget using
XtVaCreateManagedWidget(...)
function from libXt.so.6 library. This function needs a parent Widget to be
passed to it.
I use GTK port of wxWidgets to create my GUI and that's why I have only
GTKWidget's
handles of my window