New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
library: Add Font Dialog Entry #244
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The entry doesn't appear in the library
(re.sonny.Workbench.Devel:4): re.sonny.Workbench.Devel-WARNING **: 19:53:44.496: The demo name "Font Chooser" does not match the folder name "Font Dialog" and will be ignored.
console.log(`Font Dialog Button: The font selected is ${fontname}`); | ||
}); | ||
|
||
const dialog_custom = new Gtk.FontChooserDialog({ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is the deprecated API
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
okay, I'll update this with the new one
I'll fix it |
05f69f1
to
55e450f
Compare
@SoNiC-HeRE please make sure to update this to use |
I'm unsure why I'm getting an empty object or undefined value when i'm trying to get the value from Gtk.FontDialog. It seems to work fine with Gtk.FontDialogButton but not with a custom button. I'm using this for reference: https://docs.gtk.org/gtk4/class.FontDialog.html |
The demo seems to be working now , had to fix an error. It is ready for review now |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
made some minor changes 2321002
Adds Font Dialog Entry
workbenchdev/demos#3