Hi Everybody,
I solved the problem with the Treeview, and I have a release candidate
1 for Gtk Theme Switch for Gtk+ 2.0 at
http://muhri.net/gtk-theme-switch-2.0.0rc1.tar.gz
Homepage is at http://muhri.net/nav.php3?node=gts
What is Gtk Theme Switch
---
GT
You didn't g_strdup(row[0]); like he suggested. The row structure will contian
a new value yeah, but whatever mysql returns to you - you need to make a copy
of for yourself.
Maher
On Fri, 21 Sep 2001 17:31:47 -0400, HaB JacKaL said:
>
>
> >
> >The "row" variable is being reused and does no
Actually gtk-config will include glib cflags and libs so this is weird.
Maher
On Sun, 13 May 2001 01:08:29 +0200, Ronald Bultje said:
>
> On 2001.05.13 01:00:44 +0200 Paulo J. Matos aka PDestroy wrote:
> > HI all,
> > After my last post I was only able to test compilation again now and I'm
Are you sure those are backticks between the comand `` is what you shuold use
not single quotes..
Maher
On Fri, 11 May 2001 19:24:05 +0100, Paulo Jorge de Oliveira Cantante de Matos
said:
> Hi,
> I've been developing under Windows and everything was ok, when I get to
> try compilation under L
As far as creating a tree with pixmap in the node - take a look at gtkctree.h -
its quite explanitory.. As for creating a menuitem with a pixmap - since the
menuitem is a container widget I'd do something like this
GtkWidget *menuitem;
GtkWidget *pixmap;
GtkWidget *label;
GtkWidget *hbox;
menuit
If it does have a GdkWindow then you can access it via its structure like so
GdkWindow *window = widget->window
Like if I had a drawing area and I wanted to get to its GdkWindow
Ofcourse da is a GtkWidget *
GdkWindow *window = da->window;
Maher
On Tue, 20 Mar 2001 10:29:27 -0600, Andrei Zmie
gtk_window_set_modal(GTK_WINDOW(yourwindow), TRUE); on your popup and your app
wont respond to anything till this window is closed.
Maher
On Thu, 15 Feb 2001 08:01:18 -0700, Ethridge, Randy (N-CDI) said:
>
> At particular points in my program, I would like to stop processing until an
> opera
Just a suggestion, why not use ToggleButton.. If I am getting what you want to
do right that is.
Maher
On Tue, 13 Feb 2001 10:52:05 -0800 (PST), Gary Scavone said:
>
> I have an app with lots of small buttons on it. Users select various
> buttons and I show that the buttons are "selected" b
On Tue, 23 Jan 2001 12:40:01 +0100, Ronald Bultje said:
> Hi there,
>
> I would like to use some functions from the V4L-extension in XFree 4.
> Basically, I want to use these functions:
>
> extern int XvSelectVideoNotify(Display *display, Drawable drawable, Bool
> onoff);
> extern int X
On Fri, 19 Jan 2001 17:27:17 +0100, Marco Cova said:
> Hi all.
> I have the following problem.
> I want to fill a GList *list with the names of files stored in a
> directory and then use this list together with a combobox. So, I expect
> to see the files' names as popdown strings, but all I
I think this is the function you want..
void gtk_signal_emit_by_name(GtkObject *object,
const gchar *name,
On 29 Nov 2000 00:42:28 -1200, rpbrown said:
> > On Tue, 28 Nov 2000 17:52:19 EST, Wolfgang Sourdeau <[EMAIL PROTECTED]> said:
> > > Isn't this what the Eye of Gnome is meant for ?
> > > It may not be a widget in itself but I think it is reusable through
> >
> > Umm.. some of us program in
Allocated memory used by Gtk+ allocation is freed automatically, unless you are
using a struct that you allocate yourself. ie
GtkWidget *my_widget = some_widget_new();
when this widget is destroyed or its parent, its allocated mem is freed
automatically but if you have a
typedef struct {
GtkWi
Maybe since I am
> doing a showall from another function, main does not know what objects were
> set to show_all. Need to investiage further.
>
>
>
> -Original Message-----
> From:Maher Awamy [SMTP:[EMAIL PROTECTED]]
> Sent:Monday, October
On Mon, 30 Oct 2000 17:09:35 -0500, Matt Eisemann said:
> Currently I am creating an application, but there is something wrong with
> the callback that hides the widget or something is wrong in my logic. Here
> is a bit of code below which so should give some idea of what I am doing.
> T
I dont think its possible just like that - but Xchat does it, you can look at
its source. It has a button to pop tabs into single windows.
Maher
On Tue, 24 Oct 2000 20:36:49 -0400, Carlos A. Carnero Delgado said:
> Hi there,
>
> I'm working on this app which uses GTK+ and the wonderful GLib.
This is how you do it:
GList *selection;
gint row;
selection = GTK_CLIST(clist)->selection;
if (!selection) {
g_print("No selected rows\n");
} else {
row = (gint) g_list_nth_data(selection,0);
g_print("There are selected rows and the row is %d\n");
}
HTH
Maher
On Tue,
There is not enough info - how do you need to launch the command, from where ??
etc.. do you need the output?? do you need to read the output, do you want it
to block, etc..
1) you can use system("ipchains blah blah&");
2) you can fork a processes
3) you can use pipes :
FILE *pipe
pipe = popen(
I dont think you can #include a jpeg image, you can #include an xpm though - so
if you convert your image.jpg to image.xpm
in your file you can do this
#include
that'll be a static char *image_xpm[], you can modify its name by editing the
pixmap file itself.
then you create a pixmap for that
cro that'll tell you whcih widget has focus, only
to check if it has focus or not after you pass it one.
Maher
>
>
> -- Stupid Genius
>
> > --
> > From: Maher Awamy[SMTP:[EMAIL PROTECTED]]
> > Reply To: Maher Awa
I think you can query that with the macro GTK_WIDGET_HAS_FOCUS(widget);
Maher
On Tue, 10 Oct 2000 14:26:03 -0400, Dugas, Alan said:
> Is there a way to determine what widget currently has the keyboard focus? What
> I am try to do is setup a "paste" utility that will check to see if the widget
Hi guys,
I looked everywhere for some docs on making containers at the
buttom/right/or left of the main top_level window for the handlebox to sit in
if a user decides to drag any of the handle boxes on my application from the
top to a different position. (and using gnome_app is a
Your best bet is gtkhtml.h
Maher
On Sat, 7 Oct 2000 17:17:32 +0200, Rafa³ Kleger-Rudomin said:
> Hi,
>
> Where can I find docs for GtkHTML?
> Are there any examples available, except testgtkhtml and gnome-help-browser?
>
> Regards,
> Rafal
>
> --
> Rafa³ Kleger-Rudomin ([EMAIL PROT
I don't know but I find pipes to work really better than fork (yes I know pipe
makes a fork()) but I had a similar problem and launching the fork with a pipe
and closing it immediately solved it.
Try it. Might be worth the shot..
Maher
On Mon, 2 Oct 2000 16:02:20 -0700 (PDT), Conrad Steenberg s
But this afaik sendsd only gdk_atom stuff ... Havoc can tell you more perhaps.
Maybe you can regsiter something else...
Maher
On Mon, 2 Oct 2000 08:06:50 -0400, Tim Betts said:
>
> Hi Alan,
>
> I found this snippet of code inside a GTK Theme Switcher written by
> "[EMAIL PROTECTED]".
> I
25 matches
Mail list logo