RE: [PHP-GTK] Help with scintilla and graphics in buttons
| From: | Christian Weiske | Date: | Tue, 11 Nov 2003 11:06:43 +0000 |
| Subject: | RE: [PHP-GTK] Help with scintilla and graphics in buttons | ||
| References: | 1 | Groups: | php.gtk.general |
| Request: | Send a blank email to php-gtk-general+get-4132@lists.php.net to get a copy of this message | ||
Hi
> 1.I´m creating a toolbar with some buttons. On gtk I can use
> "Stock Buttons" with graphics for thinks like frist, next.
> There is the same think for php-gtk? How I do?
You mean the ximian icons? on my page, www.cweiske.de/phpgtk.htm there
is a file with .xpms of the whole ximian stock icons suite.
> 2. How I can show graphics like .ico for a button or a jpg image?
That requires gdkpixbuf, which is not included for windows.
> 3. I will use glade and gladeXML in my script to create the
> window. How can i add a scintilla control or how can i change
> from a custom control to scintilla?
Scintilla is not supported by glade 1.x, but you can create a new
scintilla in your code and add() it to the parent.
> 4. How I set sintax highlighting to XML?
In which program? In scintilla? Don't know.
> 5. How I can get/put all contents to/from a variable?
Which variable? Which content? Do you mean the content of a text entry
widget? get_text()
Regards/MfG,
Christian Weiske
<<<<<<<<<<<<<<>>>>>>>>>>>>>>>>
Christian Weiske
cweiske@cweiske.de
www.cweiske.de
<<<<<<<<<<<<<<>>>>>>>>>>>>>>>>
Always forgetting birthdays? Try birthday reminder!
http://www.cweiske.de/birthday.htm