Make notebook page active

2006-07-22 Thread César Leonardo Blum Silveira
Hello all My software uses a GtkNotebook with two pages. I would like to make the second page active when the program starts. I tried using the following piece of code gtk_notebook_set_current_page(GTK_NOTEBOOK(notebook), 1); But it didn't actually work. Is there anything else I should do? Some

Re: Make notebook page active

2006-07-22 Thread César Leonardo Blum Silveira
/06, chabayo chabayo wrote: Hello, i simply try to kick short help... Am 22.07.2006 16:45:08 schrieb(en) César Leonardo Blum Silveira: Hello all My software uses a GtkNotebook with two pages. I would like to make the second page active when the program starts. I tried using

Transparency on a XPM file

2005-11-10 Thread César Leonardo Blum Silveira
on which theme the user is using. Is there a way I could apply transparency to that image? Like getting pixel (0,0) and make all pixels with that color be transparent? Thanks, -- César Leonardo Blum Silveira Graduando em Ciência da Computação - Unisinos Centro de Simulação de Humanos Virtuais http

Glade and GtkNotebook problem

2005-11-02 Thread César Leonardo Blum Silveira
Hi all, I'm developing an application which has a notebook widget on it. I designed the GUI on glade and added two pages to the notebook, however when I run my app. The notebook shows only the second page with the contents of the first page. Why is that happening? Thanks, -- César Leonardo

Naming conventions

2005-10-31 Thread César Leonardo Blum Silveira
Hello, Are there any naming conventions used for naming my widgets' variables, so that for example when I have to name a label, instead of naming it foo_label I could name it lblFoo? Thanks, César ___ gtk-app-devel-list mailing list

Re: Programming style

2005-10-23 Thread César Leonardo Blum Silveira
Thanks for your answer! So, as my app is a Glade app, I can use that lookup_widget() function you mentioned? Otherwise I would use your function :-) Thanks again On 10/23/05, Gus Koppel [EMAIL PROTECTED] wrote: César Leonardo Blum Silveira wrote: I have a few doubts about the way I code my

Programming style

2005-10-22 Thread César Leonardo Blum Silveira
GladeXML variable global or is that a bad programming style? Thanks a lot, -- César Leonardo Blum Silveira Graduando em Ciência da Computação - Unisinos Centro de Simulação de Humanos Virtuais http://cesarbs.blogspot.com/ MSN: cesarbs490 _at_ msn _dot_ com ICQ: 170861826

Fwd: Popup Menu

2005-04-12 Thread César Leonardo Blum Silveira
at 21:23 -0300, César Leonardo Blum Silveira wrote: Is there a way I can make my application be just a popup menu? I mean, when the user opens it, there is no window, it automatically pops up a menu right where the mouse pointer is. Is that possible? Apologies for hijacking your thread

Popup Menu

2005-04-11 Thread César Leonardo Blum Silveira
Hi, Is there a way I can make my application be just a popup menu? I mean, when the user opens it, there is no window, it automatically pops up a menu right where the mouse pointer is. Is that possible? Thanks, César ___ gtk-app-devel-list mailing

Fwd: Popup Menu

2005-04-11 Thread César Leonardo Blum Silveira
Thanks a lot for the replies. :-) Yeah, I know that may sound like a weird app, so I'll tell you what I'm developing. My girlfriend wants me to install Linux on her computer, but she wants a Windows-like Desktop Environment. I know that there is KDE and GNOME out there, but they won't run smooth

Draw window where mouse pointer is

2005-04-09 Thread César Leonardo Blum Silveira
Hello all, How can I Make my app start with it's top left corner right where the mouse pointer is pointing at? Thanks, César ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list